Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
92022 | 殷佳雨萱 | 09输出成绩等级 | C++ | Wrong Answer | 0 MS | 272 KB | 353 | 2024-09-28 09:02:44 |
#include<iostream> 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<<"不及格"; } return 0; }
------Input------
43
------Answer-----
E
------Your output-----
不及格