| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 156527 | 令狐文丽 | 输出成绩等级II | C++ | Accepted | 1 MS | 272 KB | 350 | 2026-06-28 15:26:34 |
#include<bits/stdc++.h> using namespace std; int main() { // 1 3 5 "NO " "yes" int a; cin>>a;//99 90 98 a= a/10; switch(a){ // 90 91 92 93 94 95 十位10 9 8 7 6 6以下 case 10: case 9:cout<<"A";break; case 8: case 7:cout<<"B";break; case 6 : cout<<"C"; break; default:cout<<"D"; } return 0; }