Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
73762 吴诗涵 输出成绩等级II C++ Accepted 0 MS 276 KB 409 2024-05-19 15:47:22

Tests(4/4):


Code:

# include<iostream> using namespace std; int main(){ int a,b; char op; cin>>a; b=a/10; switch(b){ case 9: case 10: cout<<"A"; break; case 8: case 7: cout<<"B"; break; case 6: cout<<"C"; break; case 5: case 4: case 3: case 2: case 1: case 0: cout<<"D"; break; } return 0; }