AC
2025-11-12 19:51:52
发布于:北京
1阅读
0回复
0点赞
#include <iostream>
using namespace std;
int main(){
int a,b,x,y,x1,y1,x2,y2;
cin>>a>>b;
cin>>x>>y;
cin>>x1>>y1;
cin>>x2>>y2;
if(b/y1x1>=a) cout << "YES";
else if(b/yx>=a) cout << "YES";
else if(b/y2 *x2>=a) cout <<"YES";
else cout << "NO";
return 0;
}
这里空空如也




有帮助,赞一个