| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 157468 | 杨正蠔 | 09输出成绩等级 | C++ | Accepted | 1 MS | 276 KB | 570 | 2026-07-24 10:05:26 |
#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 x; cin>>x; if (x<60){ cout<<'E'<<endl; } else if (x>=60&&x<70){ cout<<'D'<<endl; } else if (x>=70&&x<80){ cout<<'C'<<endl; } else if (x>=80&&x<90){ cout<<'B'<<endl; } else { cout<<'A'<<endl; } return 0; }