Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
121022 | 成书骏 | 输出成绩等级II | C++ | Wrong Answer | 0 MS | 272 KB | 551 | 2025-06-04 18:42:45 |
#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 n; cin>>n; n/=10; switch(n){ case 10: case 9: cout<<'A';break; case 8: case 7: cout<<'B';break; case 6: cout<<'C';break; case 5: cout<<'D';break; } return 0; }
------Input------
10
------Answer-----
D
------Your output-----