QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#750390 | #9739. 盒子 | vanthoci | Compile Error | / | / | C++20 | 278b | 2024-11-15 14:26:20 | 2024-11-15 14:26:24 |
Judging History
answer
z1,h,x1,y1,x2,y2=map(int, input().split())
x1,x2=sorted([x1,x2])
y1,y2=sorted([y1,y2])
T = int(input())
for _ in range(T):
x,y,z=map(int, input().split())
if x1 <= x <= x2 and y1 <= y <= y2 and z1 <= z <= z1+h:
print("YES")
else:
print("NO")
详细
answer.code:1:1: error: ‘z1’ does not name a type 1 | z1,h,x1,y1,x2,y2=map(int, input().split()) | ^~