Submission #19591195


Source Code Expand

A = input()

if A[0:1] == A[1:2] and A[1:2] == A[-1] and A[-1] == A[0:1]:
    print("Won")
else:
    print("Lost")

Submission Info

Submission Time
Task A - Slot
User f_taka
Language Python (3.8.2)
Score 100
Code Size 121 Byte
Status AC
Exec Time 25 ms
Memory 9024 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 19
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All hand_01.txt, hand_02.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, random_11.txt, random_12.txt, random_13.txt, random_14.txt, random_15.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
hand_01.txt AC 18 ms 9016 KiB
hand_02.txt AC 24 ms 8788 KiB
random_01.txt AC 24 ms 8788 KiB
random_02.txt AC 23 ms 8904 KiB
random_03.txt AC 21 ms 8896 KiB
random_04.txt AC 17 ms 9024 KiB
random_05.txt AC 22 ms 8952 KiB
random_06.txt AC 17 ms 8948 KiB
random_07.txt AC 24 ms 8900 KiB
random_08.txt AC 22 ms 8884 KiB
random_09.txt AC 18 ms 8792 KiB
random_10.txt AC 17 ms 8888 KiB
random_11.txt AC 18 ms 8788 KiB
random_12.txt AC 25 ms 8884 KiB
random_13.txt AC 22 ms 8896 KiB
random_14.txt AC 17 ms 8892 KiB
random_15.txt AC 17 ms 8892 KiB
sample_01.txt AC 18 ms 8896 KiB
sample_02.txt AC 25 ms 8796 KiB