Submission #72503965


Source Code Expand

P, Q = map(int, input().split())
X, Y = map(int, input().split())
if (P <= X and X < P+100) and (Q <= Y and Y < Q+100):
  print("Yes")
else:
  print("No")

Submission Info

Submission Time
Task A - Black Square
User tai_97427
Language Python (PyPy 3.11-v7.3.20)
Score 100
Code Size 159 Byte
Status AC
Exec Time 50 ms
Memory 79852 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 33
Set Name Test Cases
Sample example_00.txt, example_01.txt, example_02.txt
All example_00.txt, example_01.txt, example_02.txt, hand_00.txt, hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, hand_06.txt, hand_07.txt, hand_08.txt, hand_09.txt, hand_10.txt, hand_11.txt, hand_12.txt, hand_13.txt, hand_14.txt, hand_15.txt, hand_16.txt, hand_17.txt, hand_18.txt, hand_19.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt
Case Name Status Exec Time Memory
example_00.txt AC 49 ms 79616 KiB
example_01.txt AC 49 ms 79584 KiB
example_02.txt AC 49 ms 79744 KiB
hand_00.txt AC 49 ms 79600 KiB
hand_01.txt AC 49 ms 79512 KiB
hand_02.txt AC 49 ms 79440 KiB
hand_03.txt AC 49 ms 79496 KiB
hand_04.txt AC 49 ms 79440 KiB
hand_05.txt AC 50 ms 79568 KiB
hand_06.txt AC 50 ms 79328 KiB
hand_07.txt AC 50 ms 79696 KiB
hand_08.txt AC 49 ms 79624 KiB
hand_09.txt AC 49 ms 79692 KiB
hand_10.txt AC 49 ms 79492 KiB
hand_11.txt AC 50 ms 79744 KiB
hand_12.txt AC 49 ms 79488 KiB
hand_13.txt AC 49 ms 79488 KiB
hand_14.txt AC 49 ms 79492 KiB
hand_15.txt AC 48 ms 79572 KiB
hand_16.txt AC 48 ms 79692 KiB
hand_17.txt AC 48 ms 79704 KiB
hand_18.txt AC 49 ms 79440 KiB
hand_19.txt AC 48 ms 79724 KiB
random_00.txt AC 49 ms 79692 KiB
random_01.txt AC 48 ms 79704 KiB
random_02.txt AC 48 ms 79440 KiB
random_03.txt AC 48 ms 79852 KiB
random_04.txt AC 48 ms 79496 KiB
random_05.txt AC 48 ms 79624 KiB
random_06.txt AC 48 ms 79844 KiB
random_07.txt AC 48 ms 79524 KiB
random_08.txt AC 49 ms 79736 KiB
random_09.txt AC 50 ms 79704 KiB