| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 77720 | sh25_shengmy | 判断一个数能否同时被3和5整除 | C++ | Accepted | 0 MS | 244 KB | 283 | 2025-12-26 14:42:47 |
#include <bits/stdc++.h> using namespace std; int main() { int n; cin>>n; if(n>-1000000&&n<1000000){ if(n%3==0&&n%5==0){ cout<<"YES"; } else{ cout<<"NO"; } return 0; } return 0; }