Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
40192 | Hyma | 成绩输出 | C++ | Accepted | 0 MS | 240 KB | 283 | 2024-02-07 22:26:19 |
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; if(n<=100&&n>89) cout<<"优秀"; else if(n<=89&&n>79) cout<<"良好"; else if(n<=79&&n>69) cout<<"中等"; else if(n<=69&&n>59) cout<<"及格"; else if(n<60) cout<<"不及格"; return 0; }