Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102594 程诺 输出成绩等级II C++ Accepted 1 MS 272 KB 271 2024-12-22 11:46:35

Tests(4/4):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; switch(a/10){ case 9: cout<<'A'; break; case 7: case 8: cout<<'B'; break; case 6: cout<<'C'; break; default : cout<<'D'; } return 0; }