Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
5465 | 詹梓涵 | 09输出成绩等级 | Python3 | Compile Error | 0 MS | 0 KB | 382 | 2024-11-16 13:50:14 |
#include<iostream> // cin\cout\endl using namespace std; int main(){ int a; cin>>a; if(a>=90){ cout<<"A"<<endl; } else if(a<=90&&a>=80){ cout<<"B"<<endl; } else if(a<=80&&a>=70){ cout<<"C"<<endl; } else if(a<=70&&a>=60){ cout<<"D"<<endl; } else cout<<"E"<<endl; return 0; }
File "Main.py", line 2 using namespace std; ^ SyntaxError: invalid syntax