Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
102591 | 程诺 | 输出成绩等级II | C++ | Wrong Answer | 0 MS | 272 KB | 260 | 2024-12-22 11:45:27 |
#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; switch(a/10){ case 9: cout<<'A'; break; case 7: cout<<'B'; break; case 6: cout<<'C'; break; default : cout<<'D'; } return 0; }
------Input------
80
------Answer-----
B
------Your output-----
D