Submission #161501

#TimeUsernameProblemLanguageResultExecution timeMemory
161501boolodifjenulaElder (COCI19_elder)Cpython 3
Compilation error
0 ms0 KiB
ima=input() N=int(input()) k=0 L=[ima] for i in range (N): Z1,Z2=map(str,input().split()) if Z2==ima: ima=Z1 if bool(ima in L)==0: k+=1 L+=[k] print(ima) print(len(L))

Compilation message (stderr)

Sorry: TabError: inconsistent use of tabs and spaces in indentation (elder.py, line 11)