这东西富哦iysioudfuziouydfxuygfdswuiudf8idu

yhl : MaShupc不给钱  •  12小时前


#include <iostream>
using namespace std;

int main() {
	freopen("1.in", "r", stdin);
	freopen("1.out", "w", stdout);
	long long n, x, y, a, b;
	cin >> n >> x >> y >> a >> b;

	if (a > x || b > y) {
		cout << "NO";
	} else if (3 * a + 4 * b > n) {
		cout << "NO";
	} else {
		cout << "YES";
	}

}

评论:

请先登录,才能进行评论