| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 78753 | 黎贤超 | 09输出成绩等级 | C++ | Wrong Answer | 0 MS | 272 KB | 307 | 2024-06-29 08:58:08 |
#include<iostream> using namespace std; int main(){ char a; cin>>a; if(a>=90){ cout<<"A"<<endl; } else if(80<=a && a<90){ cout<<"B"; } else if(70<=a && a<80){ cout<<"C"; } else if(60<=a && a<70){ cout<<"D"; } else if(a<60){ cout<<"不及格"; } }
------Input------
60
------Answer-----
D
------Your output-----
不及格