| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 150301 | 罗钰帆 | 09输出成绩等级 | C++ | Compile Error | 0 MS | 0 KB | 524 | 2026-03-26 18:45:59 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a; cin>>a; if(a>=90){ cout<<'A'; } else if(a>=80){ cout<<'B'; } else if(a>=70){ cout<<'C'; } else if(a>=60){ cout<<'D'; } else(a<60){ cout<<'E'; } return 0; }
Main.cc: In function 'int main()':
Main.cc:22:15: error: expected ';' before '{' token
else(a<60){
^