Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
126488 | 包老师 | 09输出成绩等级 | C++ | Accepted | 1 MS | 272 KB | 394 | 2025-07-19 16:09:18 |
#include<bits/stdc++.h> using namespace std;//命名空间 分号是英文分号 int main() { int x; cin >> x; if (x >= 90) { cout << "A"; } else { //x<90 if (x >= 80) { cout << "B"; } else { //x<80 if (x >= 70) { cout << "C"; } else { //x<70 if (x >= 60) { cout << "D"; } else { //x<60 cout << "E"; } } } } return 0; }