| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 149020 | 赖泓宇 | 09输出成绩等级 | C++ | Accepted | 0 MS | 272 KB | 374 | 2026-03-06 18:27:13 |
#include <iostream> using namespace std; int main() { int a; cin >> a; if (a >= 90) { cout << 'A' << endl; } else if (a >= 80) { cout << 'B' << endl; } else if (a >= 70) { cout << 'C' << endl; } else if (a >= 60) { cout << 'D' << endl; } else { cout << 'E' << endl; } return 0; }