Submission #42181037


Source Code Expand

p, q = input().split()
s = 'A__BC___DE____F________G'
print(abs(s.find(p) - s.find(q)))

Submission Info

Submission Time
Task B - ABCDEFG
User rsk0315
Language Python (3.8.2)
Score 200
Code Size 89 Byte
Status AC
Exec Time 23 ms
Memory 9080 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 3
AC × 14
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_handmade_00.txt, 01_handmade_01.txt, 01_handmade_02.txt, 02_random_00.txt, 02_random_01.txt, 02_random_02.txt, 02_random_03.txt, 02_random_04.txt, 02_random_05.txt, 02_random_06.txt, 02_random_07.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 16 ms 9080 KiB
00_sample_01.txt AC 23 ms 8888 KiB
00_sample_02.txt AC 18 ms 9080 KiB
01_handmade_00.txt AC 22 ms 8788 KiB
01_handmade_01.txt AC 19 ms 8788 KiB
01_handmade_02.txt AC 17 ms 8792 KiB
02_random_00.txt AC 18 ms 9020 KiB
02_random_01.txt AC 17 ms 8944 KiB
02_random_02.txt AC 19 ms 8892 KiB
02_random_03.txt AC 23 ms 8884 KiB
02_random_04.txt AC 18 ms 8888 KiB
02_random_05.txt AC 17 ms 9016 KiB
02_random_06.txt AC 17 ms 8880 KiB
02_random_07.txt AC 17 ms 8876 KiB