| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 73551 | 石晋骁 | 09输出成绩等级 | C++ | Compile Error | 0 MS | 0 KB | 283 | 2024-05-19 13:56:58 |
#include<bits/stdc++.h> using namespace std; int main(){ int a; cin >> a; if(a> 90){ cout << "A"; } else if (a >= 80 && a<90){ cout << "B"; }else if(a>=70 &&a<80){ cout <<"C"; }else if(a>=60 && a<70){ cout << "D"; }else{ cout <<"E" } return 0; }
Main.cc: In function 'int main()': Main.cc:16:2: error: expected ';' before '}' token } ^