Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
100882 | 冯瀚翔 | 输出成绩等级II | C++ | Accepted | 1 MS | 268 KB | 301 | 2024-12-14 11:09:26 |
#include <typeinfo> #include <iostream> using namespace std; int main() { int n; char score; cin>>n; if (n>=90) score='A'; else if (n>=70) score='B'; else if (n>=60) score='C'; else score='D'; cout<<score; return 0; }