Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
5200 | 翟** | 07判断成绩 | C++ | Compile Error | 0 MS | 0 KB | 195 | 2024-11-09 09:22:09 |
# include<iostream> using namespace std; int main(){ int score; cin>>score; if(score>=60); cout<<"YES"<<endl; else(score<60); cout<<"NO"<<endl; return 0; }
Main.cc: In function 'int main()': Main.cc:8:5: error: 'else' without a previous 'if' else(score<60); ^