Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
109489 | 胥博雯 | 09输出成绩等级 | C++ | Wrong Answer | 1 MS | 272 KB | 375 | 2025-02-09 10:57:35 |
#include<iostream> using namespace std; int main(){ int score; cin>>score; if(score>=90){ cout<<'A'; } else if(80<=score&&score<90){ cout<<'B'; } else if(70<=score&&score<80){ cout<<'c'; } else if(60<=score&&score<70){ cout<<'D'; } else{ cout<<'E'; } return 0; }
------Input------
70
------Answer-----
C
------Your output-----
c