Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
3972 邓思博 09输出成绩等级 C++ Accepted 0 MS 264 KB 370 2024-07-22 15:43:34

Tests(10/10):


Code:

# include<iostream> using namespace std; int main(){ int c; cin>>c; if(c>=90){ cout<<"A"<<endl; } else if(c>=80&&c<90){ cout<<"B"<<endl; } else if(c>=70&&c<80){ cout<<"C"<<endl; } else if(c>=60&&c<70){ cout<<"D"<<endl; } else{ cout<<"E"<<endl; } return 0; }