PY 简单题解(直接复制)
2026-08-09 18:55:55
发布于:上海
14阅读
0回复
0点赞
x = int(input())
y = int(input())
z = int(input())
q = int(input())
if q >= 2 * x + 5 * y + 3 * z:
print("Yes")
print(q - (2 * x + 5 * y + 3 * z))
else:
print("No")
print((2 * x + 5 * y + 3 * z) - q)
这里空空如也

有帮助,赞一个