Submission #38042383


Source Code Expand

a, b = map(int, input().split())
  
if a * 2 == b or a * 2 + 1 == b:
  print("Yes")
else:
  print("No")

Submission Info

Submission Time
Task A - Edge Checker 2
User moshida
Language PyPy3 (7.3.0)
Score 100
Code Size 108 Byte
Status AC
Exec Time 104 ms
Memory 61504 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 11
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
random_01.txt AC 104 ms 61220 KiB
random_02.txt AC 46 ms 61504 KiB
random_03.txt AC 47 ms 61388 KiB
random_04.txt AC 49 ms 61304 KiB
random_05.txt AC 45 ms 61300 KiB
random_06.txt AC 47 ms 61296 KiB
random_07.txt AC 47 ms 61212 KiB
random_08.txt AC 48 ms 61452 KiB
sample_01.txt AC 49 ms 61260 KiB
sample_02.txt AC 48 ms 61376 KiB
sample_03.txt AC 47 ms 61436 KiB