6 条题解
-
2马康雅 (ts2024stu001) LV 7 @ 2024-12-6 17:52:21
#include<iomanip> #include<cmath> using namespace std; int a;//声明全局变量 int main() { cin>>a; if(a>=90&&a<=100)//判断分数等级 cout<<"Great";//输出分数等级 else if(a>=70&&a<=89) cout<<"Good"; else if(a>=60&&a<89) cout<<"Average"; else cout<<"Poor"; return 0; }
-
22022-1-23 13:52:53@
#include <iostream> using namespace std; int main(){ int n; cin>>n; if(n>=90) cout<<"Great"<<endl; else if(n>=70) cout<<"Good"<<endl; else if(n>=60) cout<<"Average"<<endl; else cout<<"Poor"<<endl; return 0; }
-
12024-11-23 20:21:29@
#include <iostream> using namespace std; int main() { int n; cin >> n; if(90<=n&&n<=100) { cout << "Great"; } else if(70<=n&&n<=89) { cout << "Good"; } else if(60<=n&&n<=69) { cout << "Average"; } else cout << "Poor"; return 0; }
有标志认证,属三无产品,请各位放心食用
-
12023-9-2 16:03:20@
#include <iostream> using namespace std; int main() { int n; cin>>n; if(n>=90&&n<=100) { cout<<"Great"<<endl; } else if(n>=70&&n<=89) { cout<<"Good"<<endl; } else if(n>=60&&n<=69) { cout<<"Average"<<endl; } else if(n>=0&&n<=59) { cout<<"Poor"<<endl; } return 0; }
-
02023-12-24 13:03:27@
#include<iostream> #include<cmath> #include<iomanip> using namespace std; const int N=1e3+10; const int INF=0x3f3f3f3f; int a; int main(){ cin>>a; if(a<=100&&a>=90) cout<<"Great"; else if(a<=89&&a>=70) cout<<"Good"; else if(a<=69&&a>=60) cout<<"Average"; else cout<<"Poor"; }
-
02021-10-29 13:03:13@
- f=eval(input())
- if f>=90 and f<=100:
- print('Great')
- if f>=70 and f<=89:
- print('Good')
- if f>=60 and f<=69:
- print('Average')
- if f<=59 and f>=0:
- print('Poor')
- 1
信息
- ID
- 857
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 3
- 标签
- 递交数
- 163
- 已通过
- 90
- 上传者