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