B3795为什么过不了
  • 板块灌水区
  • 楼主love_she_yet
  • 当前回复8
  • 已保存回复8
  • 发布时间2023/8/6 11:00
  • 上次更新2023/11/3 05:37:33
查看原帖
B3795为什么过不了
483818
love_she_yet楼主2023/8/6 11:00
#include<bits/stdc++.h>
using namespace std;
int main(){
	double a,b,c,d,e,f;
	cin>>a>>b>>c>>d>>e>>f;
	if((a>=60&&b>=60)||(b>=60&&c>=60)||(a>=60&&c>=60))cout<<"PASS"<<endl;
	else cout<<"FALL"<<endl;
	if((a*d+b*e+c*f)*1.0/(d+e+f)>=60)cout<<"PASS"<<endl;
	else cout<<"FALL"<<endl;
	return 0;
}
2023/8/6 11:00
加载中...