Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
4625 | 董语涵 | 判断一个数能否同时被3和5整除 | C++ | Accepted | 0 MS | 256 KB | 166 | 2023-01-12 15:58:15 |
#include<iostream> using namespace std; int main(){ int n; cin >> n; if (n%3==0 && n%5==0){ cout << "YES"; } else { cout << "NO"; } return 0; }