第二次普及AC
2025-06-17 08:25:01
发布于:北京
0阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
int x1,x2,x3;
int y1,y2,y3;
cin>>x1>>y1;
cin>>x2>>y2;
cin>>x3>>y3;
if(b/y1>=a/x1&&b/y1x1>=a||b/y2>=a/x2&&b/y2x2>=a||b/y3>=a/x3&&b/y3*x3>=a){
cout<<"YES";
}else{
cout<<"NO";
}
return 0;
}
这里空空如也
有帮助,赞一个