Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126754 陈淮遇 输出成绩等级II C++ Accepted 4 MS 272 KB 262 2025-07-21 15:57:12

Tests(4/4):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int a; cin >> a; if (a >= 90) { cout << "A"; } if (a >= 70 && a < 90) { cout << "B"; } if (a >= 60 && a < 70) { cout << "C"; } if (a < 60) { cout << "D"; } return 0; }