题解(一定AC、与众不同!)
2026-02-06 17:19:52
发布于:浙江
104阅读
0回复
0点赞
看看我的C代码吧!(可能你们写的时候空间不够)
#include<stdio.h>
int s_1,s_2,s_3,s_4,s_5;
int main(){
scanf("%d",&s_1);
scanf("%d",&s_2);
scanf("%d",&s_3);
scanf("%d",&s_4);
scanf("%d",&s_5);
if((s_1>=60)&&(s_2>=60)&&(s_3>=60)&&(s_4>=60)&&(s_5>=60)==1)
printf("YES");
else
printf("NO");
return 0;
}
全部评论 2
a, b, c, d, e = map(int, input().split())
if a>=60 and b>=60 and c>=60 and d>=60 and e>=60:
print('YES')
else:
print('NO')2026-02-12 来自 北京
1#include<bits/stdc++.h>
using namespace std;
int main(){
int n1,n2,n3,n4,n5;
cin>>n1>>n2>>n3>>n4>>n5;
if(n1>=60 and n2>=60 and n3>=60 and n4>=60 and n5>=60){
cout<<"YES";
}
else{
cout<<"NO";
}
return 0;
}
这是我的。4天前 来自 浙江
0

















有帮助,赞一个