Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
136411 胡海峰老师 09输出成绩等级 C++ Accepted 1 MS 272 KB 405 2025-11-13 16:42:02

Tests(10/10):


Code:

#include <iostream> //designed by hu 2025-10 using namespace std; int main(){ int a; cin >>a ; // A:90 ----- 100 ; B:80 ----- 89 ;C:70 ----- 79 ; D:60 ----- 69 ; // E: 0 ----- 59 if(a>=90) { cout<<"A"; } else if( a>=80 ){ cout <<"B"; } else if( a>=70){ cout<<"C"; } else if( a>=60 ){ cout<< "D"; } else{ cout<<"E"; } return 0; }