Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
69344 张恒杰 能否被3和5整除 C++ Compile Error 0 MS 0 KB 224 2024-03-31 17:49:13

Tests(0/0):


Code:

#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; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:10:8: error: expected ';' before string constant
    cout"can"<