Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
117756 | 王镜铭 | 能否被3和5整除 | C++ | Accepted | 0 MS | 268 KB | 221 | 2025-04-20 11:43:32 |
#include<bits/stdc++.h> using namespace std; int main(){ long long a; cin>>a; if(a%5==0){ if(a%3==0){ cout<<"can"; } else{ cout<<"cannot"; } } else{ cout<<"cannot"; } return 0; }