Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
3131 | 张昊然 | C语言5.10 | C++ | Accepted | 2 MS | 724 KB | 418 | 2020-12-02 20:53:50 |
#include <iostream> using namespace std; int main(){ int score; cin >> score; if (score >= 90) cout << "A" << endl; else if (score >= 80 and score <= 89) cout << "B" << endl; else if (score >= 70 and score <= 79) cout << "C" << endl; else if (score >= 60 and score <= 69) cout << "D" << endl; else cout << "E" << endl; return 0; }