Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
122214 | 周泽洋 | 09输出成绩等级 | C++ | Accepted | 0 MS | 272 KB | 347 | 2025-06-14 18:28:37 |
#include <iostream> #include <cstdio> #include <cmath> using namespace std; int main(){ int x; cin>>x; if (x>=90){ cout<<"A"; }else if(80<=x && x<90){ cout<<"B"; }else if(70<=x && 80>x){ cout<<"C"; }else if(60<=x && 70>x){ cout<<"D"; }else{ cout<<"E"; } }