Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
5502 谢锦卓 09输出成绩等级 C++ Wrong Answer 0 MS 264 KB 473 2024-11-18 20:04:09

Tests(1/10):


Code:

#include<iostream> #include<cstdio> //scanf()\printf() using namespace std; int main(){ int n; cin>>n; if(n>=0&&n<=100) switch(n/10){ case 10: case 9:printf("A");break; case 8:printf("B");break; case 7:printf("D");break; case 6:printf("E");break; case 5: case 4: case 3: case 2: case 1: case 0:printf("E");break; } return 0; }


Run Info:

------Input------
70
------Answer-----
C
------Your output-----
D