| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 63486 | 申明宇 | 输出成绩等级II | C++ | Accepted | 1 MS | 272 KB | 441 | 2024-01-07 20:01:35 |
#include<iostream> #include<iomanip> using namespace std; int main() { int n,m; cin>>n; m=n/10; switch(m){ case 10: case 9: cout<<'A'; break; case 8: case 7: cout<<'B'; break; case 6: cout<<'C'; break; default: cout<<'D'; break; } return 0; }