Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
39232 | littletwleve | 判断一个数能否同时被3和5整除 | C++ | Accepted | 0 MS | 240 KB | 169 | 2024-01-31 11:43:45 |
#include<iostream>//头文件 using namespace std;//命名空间 int main(){ int n; cin>>n; if(n%5==0&&n%3==0) cout<<"YES"; else cout<<"NO"; return 0; }