| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 121449 | 杜禹轩 | 09输出成绩等级 | C++ | Compile Error | 0 MS | 0 KB | 256 | 2025-06-07 14:09:58 |
#include<bits/stdc++.h> 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{ cout<<E; } return 0; }
Main.cc: In function 'int main()': Main.cc:18:9: error: 'E' was not declared in this scope cout<