| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 123314 | 周泽洋 | 输出成绩等级II | C++ | Wrong Answer | 1 MS | 272 KB | 487 | 2025-06-28 19:05:29 |
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int main(){ int a; cin>>a; a/=10; switch(a){ case 10: cout<<"S"<<endl; break; case 9: cout<<"A"<<endl; break; case 7:case 8: cout<<"B"<<endl; break; case 6: cout<<"C"<<endl; default: cout<<"D"<<endl; } }
------Input------
60
------Answer-----
C
------Your output-----
C D