Submission #4130525


Source Code Expand

Copy
s={i:list(input()) for i in "abc"}
x="a"
while s[x]:
    x=s[x].pop(0)
print(x.upper())

Submission Info

Submission Time
Task B - 3人でカードゲームイージー / Card Game for Three (ABC Edit)
User branlym
Language Python3 (3.4.3)
Score 200
Code Size 91 Byte
Status
Exec Time 18 ms
Memory 2940 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0
All 200 / 200 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, 10.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
01.txt 18 ms 2940 KB
02.txt 18 ms 2940 KB
03.txt 18 ms 2940 KB
04.txt 18 ms 2940 KB
05.txt 18 ms 2940 KB
06.txt 18 ms 2940 KB
07.txt 18 ms 2940 KB
08.txt 18 ms 2940 KB
09.txt 18 ms 2940 KB
10.txt 18 ms 2940 KB
sample_01.txt 18 ms 2940 KB
sample_02.txt 18 ms 2940 KB