Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
24286 | 老方 | 判断能否被3,5,7整除 | C++ | Accepted | 0 MS | 248 KB | 161 | 2023-08-10 12:55:50 |
#include<iostream> using namespace std; int main(){ int n; cin>>n; if (n%3==0&&n%5==0&&n%7==0){ cout<<"3 5 7"; } return 0; }