| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 69345 | 张恒杰 | 能否被3和5整除 | C++ | Wrong Answer | 0 MS | 256 KB | 226 | 2024-03-31 17:50:07 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; for(int i=1;i<=n;i++) { cin>>i; if(i%3==0&&i%5==0) { cout<<"can"<<endl; } else { cout<<"cannot"<<endl; } } return 0; }
------Input------
90
------Answer-----
can
------Your output-----