90分?为啥??
查看原帖
90分?为啥??
1269437
cloud_hmy2012楼主2024/4/4 15:51

#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 && b>=60 || a>=60 && b>=60 || b>=60 && c>=60){ cout << "PASS" << endl; }else{ cout << "FAIL" << endl; } if(60>double((ad+be+c*f)/(d+e+f))){ cout << "FAIL"; }else{ cout << "PASS"; } return 0; }

#3不通过
2024/4/4 15:51
加载中...