Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
89765 | 刘津希 | 能否被3和5整除 | C++ | Compile Error | 0 MS | 0 KB | 166 | 2024-09-07 08:46:35 |
#include<iostream> using namespace std; int main(){ int n; cin>>n; if(n % 3 == 0 && n % 5 == 0){ cout<<"can"; }else{ cout<<"cannot" } return 0; }
Main.cc: In function 'int main()': Main.cc:10:2: error: expected ';' before '}' token } ^