https://old.ynoip.cn/user/view?id=mzyzpsn

*17岁天才铁驭边境顶尖猎杀者*  •  1年前


include <btis/stdc++.h>

using namespace std; long long a, b, n, x, y, z;

int main(void) {

cin >> n >> x >> y >> a >> b;
if (a > x) {
	cout << "NO";
	return 0;;
}
if (b > y) {
	cout << "NO";
	return 0;
}
if (a * 3 + b * 4 <= n) {
	cout << "YES";
}
if (a * 3 + b * 4 > n) {
	cout << "NO";
}

return 0;

}

69696969669696969


评论:

请先登录,才能进行评论