已AC
by jinxuanyi @ 2024-08-18 10:11:31
```cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d,e,f;
long long g;
cin>>a>>b>>c>>d>>e>>f;
if((a>=60&&b>=60)||(a>=60&&c>=60)||(c>=60&&b>60)){
cout<<"PASS"<<endl;
}else{
cout<<"FAIL"<<endl;
}
g=(a*d+b*e+c*f)/(d+e+f);
if(g>=60){
cout<<"PASS"<<endl;
}else{
cout<<"FAIL"<<endl;
}
return 0;
}
```
by _lubanqihao_ @ 2024-09-02 23:49:07