应该是测试数据里面没有这样的数据,然后就过了
by cyx0612 @ 2023-08-03 13:25:37
说明测试数据~~很水~~
by luogu10086 @ 2023-08-03 13:36:12
传统型不低于60就行了,是大于等于,不是大于
```
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c,d,e,f;
cin>>a>>b>>c>>d>>e>>f;
if((a>=60 and b>=60 and c>=60) || (a>=60 and b>=60 and c<60) || (a>=60 and b<60 and c>=60) || (a<60 and b>=60 and c>=60))
cout<<"PASS"<<endl;
else
cout<<"FAIL"<<endl;
if((a*d+b*e+c*f)/(d+e+f)>60)
cout<<"PASS"<<endl;
else
cout<<"FAIL"<<endl;
return 0;
}
```
这样样例过了,还100分
by cyx0612 @ 2023-08-03 13:46:43
很多人的代码都是写>60,却都能通过
by shenwentao @ 2023-08-03 14:40:32
@[cyx0612](/user/639252) 谢谢,这是我之前打的代码,同样的代码第一次提交60分,第二次就AC了
```cpp
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c,d,e,f;
cin>>a>>b>>c>>d>>e>>f;
if((a>=60 and b>=60 and c>=60) || (a<60 and b>=60 and c>=60) || (a>=60 and b<60 and c>=60) || (a>=60 and b>=60 and c<60))
cout<<"PASS"<<endl;
else
cout<<"FALL"<<endl;
if((a*d+b*e+c*f)/(d+e+f)>=60)
cout<<"PASS"<<endl;
else
cout<<"FALL"<<endl;
return 0;
}
```
by shenwentao @ 2023-08-03 14:52:37
@[shenwentao](/user/790898) 怎么会......
by cyx0612 @ 2023-08-04 13:15:02
@[shenwentao](/user/790898) 我猜系统出了亿点儿小问题
by cyx0612 @ 2023-08-04 13:16:07
@[cyx0612](/user/639252) 可能吧
by shenwentao @ 2023-08-04 13:20:13