Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
106139 | 李朋秦 | 09输出成绩等级 | C++ | Accepted | 1 MS | 272 KB | 556 | 2025-01-15 14:28:51 |
#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 score; cin>>score; if(score>=90){ cout<<'A'; }else if((80<=score)&&(score<90)){ cout<<'B'; }else if((70<=score)&&(score<80)){ cout<<'C'; }else if((60<=score)&&(score<70)){ cout<<'D'; }else{ cout<<'E'; } return 0; }