看吧
2024-10-13 16:00:39
发布于:浙江
7阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main(){
int a,b,x1,x2,x3,y1,y2,y3,n;
cin >> a >> b;
cin >> x1 >> y1;
cin >> x2 >> y2;
cin >> x3 >> y3;
if ((b / y1) * x1 >= a){
cout << "YES";
}else if ((b / y2) * x2 >= a){
cout << "YES";
}else if ((b / y3) * x3 >= a){
cout << "YES";
}else{
cout << "NO";
}
return 0;
}
这里空空如也
有帮助,赞一个