Submission #19724143


Source Code Expand

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

Submission Info

Submission Time
Task A - Three-Point Shot
User smn7
Language Python (3.8.2)
Score 100
Code Size 92 Byte
Status AC
Exec Time 26 ms
Memory 9164 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 18 ms 9032 KB
close_01.txt AC 19 ms 8980 KB
close_02.txt AC 21 ms 9096 KB
close_03.txt AC 25 ms 9100 KB
close_04.txt AC 26 ms 9164 KB
close_05.txt AC 19 ms 9028 KB
handmade_00.txt AC 20 ms 8976 KB
handmade_01.txt AC 18 ms 8868 KB
handmade_02.txt AC 17 ms 8872 KB
random_00.txt AC 25 ms 8868 KB
random_01.txt AC 17 ms 9160 KB
random_02.txt AC 21 ms 8864 KB
random_03.txt AC 19 ms 8860 KB
random_04.txt AC 17 ms 9096 KB
random_05.txt AC 24 ms 8980 KB
sample_01.txt AC 18 ms 8868 KB
sample_02.txt AC 26 ms 9024 KB
sample_03.txt AC 20 ms 9096 KB