Submission #19724105


Source Code Expand

Copy
a, b = map(int, input().split(" "))
if abs(a-b) < 3:
  print("Yes")
else:
  print("No")

Submission Info

Submission Time
Task A - Three-Point Shot
User graythunder
Language Python (3.8.2)
Score 100
Code Size 91 Byte
Status AC
Exec Time 28 ms
Memory 9120 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 18
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All close_00.txt, close_01.txt, close_02.txt, close_03.txt, close_04.txt, close_05.txt, handmade_00.txt, handmade_01.txt, handmade_02.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
close_00.txt AC 25 ms 9116 KB
close_01.txt AC 21 ms 8804 KB
close_02.txt AC 20 ms 8984 KB
close_03.txt AC 26 ms 8804 KB
close_04.txt AC 24 ms 8816 KB
close_05.txt AC 28 ms 8996 KB
handmade_00.txt AC 20 ms 9000 KB
handmade_01.txt AC 18 ms 8928 KB
handmade_02.txt AC 18 ms 8912 KB
random_00.txt AC 21 ms 8796 KB
random_01.txt AC 20 ms 9120 KB
random_02.txt AC 25 ms 8904 KB
random_03.txt AC 18 ms 8976 KB
random_04.txt AC 19 ms 8796 KB
random_05.txt AC 20 ms 9052 KB
sample_01.txt AC 24 ms 8820 KB
sample_02.txt AC 18 ms 8824 KB
sample_03.txt AC 19 ms 8928 KB