Submission #65640563


Source Code Expand

Copy
def li():return list(map(int,input().split()))
r,x=li()
if x==2 and 1200<=r<2400:
print("Yes")
elif x==1 and 1600<=r<3000:
print("Yes")
else:
print("No")
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
def li():return list(map(int,input().split()))

r,x=li()
if x==2 and 1200<=r<2400:
    print("Yes")
elif x==1 and 1600<=r<3000:
    print("Yes")
else:
    print("No")

Submission Info

Submission Time
Task A - Is it rated?
User juten
Language Python (CPython 3.11.4)
Score 100
Code Size 174 Byte
Status AC
Exec Time 10 ms
Memory 8648 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 4
AC × 22
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, 01_test_00.txt, 01_test_01.txt, 01_test_02.txt, 01_test_03.txt, 01_test_04.txt, 01_test_05.txt, 01_test_06.txt, 01_test_07.txt, 01_test_08.txt, 01_test_09.txt, 01_test_10.txt, 01_test_11.txt, 01_test_12.txt, 01_test_13.txt, 01_test_14.txt, 01_test_15.txt, 01_test_16.txt, 01_test_17.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 9 ms 8536 KB
00_sample_01.txt AC 9 ms 8576 KB
00_sample_02.txt AC 9 ms 8500 KB
00_sample_03.txt AC 9 ms 8500 KB
01_test_00.txt AC 9 ms 8584 KB
01_test_01.txt AC 9 ms 8456 KB
01_test_02.txt AC 9 ms 8584 KB
01_test_03.txt AC 9 ms 8648 KB
01_test_04.txt AC 9 ms 8500 KB
01_test_05.txt AC 9 ms 8636 KB
01_test_06.txt AC 9 ms 8576 KB
01_test_07.txt AC 9 ms 8616 KB
01_test_08.txt AC 9 ms 8576 KB
01_test_09.txt AC 9 ms 8552 KB
01_test_10.txt AC 9 ms 8640 KB
01_test_11.txt AC 9 ms 8576 KB
01_test_12.txt AC 9 ms 8544 KB
01_test_13.txt AC 9 ms 8548 KB
01_test_14.txt AC 9 ms 8604 KB
01_test_15.txt AC 9 ms 8488 KB
01_test_16.txt AC 10 ms 8580 KB
01_test_17.txt AC 9 ms 8488 KB


2025-05-10 (Sat)
22:41:21 +09:00