在线等
2023-10-02 11:03:43
发布于:江苏
哪里错了
using namespace std;
int t[100000],n;
int main(){
cin>>n;
for (int i=1;i<=n;i++){
cin>>t[i];
}
for (int i=1;i<=n;i++){
if(t[i]>=0 && t[i] < 60) cout<<"fail"<<endl;
else if (t[i] >= 60 && t[i] < 80) cout<<"pass"<<endl;
else if(t[i]>= 80 && t[i] < 100) cout<<"excellent"<<endl;
else cout<<"wa"<<endl;
}
return 0;
}
全部评论 3
谢谢大家,解决了。谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢
2023-10-03 来自 江苏
0还有,你头文件被人偷了?
2023-10-02 来自 四川
0被派蒙吃了
2023-10-02 来自 上海
0纯没复制上,并且,我没报错,只是wa
2023-10-03 来自 江苏
0
《<100》
2023-10-02 来自 四川
0
有帮助,赞一个