| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 138379 | 胡誉骞 | 09输出成绩等级 | C++ | Compile Error | 0 MS | 0 KB | 289 | 2025-11-24 17:02:05 |
#include <iostream> using namespace std; int main(){ int a; cin>>a; if(a>90&&a=90){ cout<<"A"; } else if(a=>80&&a<90){ cout<<"B"; } eles if(a=<80&&a=>70) cout<<"c"; } eles if(a=>60&&a<70){ cout<<"D"; if(a<60){ cout<<"E" } }
Main.cc: In function 'int main()':
Main.cc:6:11: error: lvalue required as left operand of assignment
if(a>90&&a=90){
^
Main.cc:9:12: error: expected primary-expression before '>' token
else if(a=>80&&a<90){
^
Main.cc:12:3: error: 'eles' was not declared in this scope
eles if(a=<80&&a=>70)
^
Main.cc: At global scope:
Main.cc:15:4: error: 'eles' does not name a type
eles if(a=>60&&a<70){
^