| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 139569 | 胡海峰老师 | 09输出成绩等级 | C++ | Accepted | 1 MS | 272 KB | 382 | 2025-12-08 09:45:18 |
#include <iostream> //designed by hu 2025-10 using namespace std; int main(){ int g; //grade --- 首字母 cin>>g; //从键盘输入 g=90; if( g>=90 ){ cout<<"A"; } else if( g>=80) { //80-89 cout << "B"; } else if( g>=70 ){ // 70-79 cout << "C"; } else if( g>=60 ){ // 60-69 cout << "D"; } else{ cout << "E"; } return 0; }