| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 130711 | 张唯一 | 09输出成绩等级 | C++ | Wrong Answer | 0 MS | 260 KB | 316 | 2025-09-14 17:31:08 |
#include <iostream> using namespace std; int main() { int a, b, c, d, e; cin>>a; b=90; c=80; d=70; e=60; if(a>b) { cout<<"A"; } if(a<b && a>c) { cout<<"B"; } if(a<c && a>d) { cout<<"C"; } if(a<d && a>e) { cout<<"D"; } if(a<e) { cout<<"E"; } return 0; }
------Input------
60
------Answer-----
D
------Your output-----