Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
3991 | 邓思博 | 输出成绩等级II | C++ | Accepted | 0 MS | 260 KB | 404 | 2024-07-23 15:16:23 |
# include<iostream> using namespace std; int main(){ int a; cin>>a; switch(a/10){ case 10: case 9: cout<<"A"<<endl; break; case 8: case 7: cout<<"B"<<endl; break; case 6: cout<<"C"<<endl; break; default:cout<<"D"<<endl; } return 0; }