Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
109491 | 田诗语 | 09输出成绩等级 | C++ | Accepted | 1 MS | 268 KB | 522 | 2025-02-09 10:58:20 |
#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<<"E"; } return 0; }