Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
109486 | 田诗语 | 09输出成绩等级 | C++ | Wrong Answer | 0 MS | 268 KB | 530 | 2025-02-09 10:56:00 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int w; cin>>w; if(w>=90){ cout<<"A"; } else if(80<=w&&w<90){ cout<<"B"; } else if(70<=w&&w<80){ cout<<"C"; } else if(60<=w&&w<70){ cout<<"D"; }else{ cout<<"不及格"; } return 0; }
------Input------
43
------Answer-----
E
------Your output-----
不及格