Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
76979 胡海峰老师 输出成绩等级II C++ Accepted 0 MS 276 KB 303 2024-06-07 19:09:27

Tests(4/4):


Code:

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