Submission #167098

#TimeUsernameProblemLanguageResultExecution timeMemory
167098boolodifjenulaKartomat (COCI17_kartomat)Cpython 3
80 / 80
27 ms3432 KiB
n=int(input()) L=[] for i in range(n):L+=[input()] s=input() x=len(s) G=32*["*"] for i in range(n): if L[i][:x]==s: G[ord(L[i][x])-62]=L[i][x] f="" for i in range(32): f+=G[i] if (i+1)%8==0: print(f) f=""
#Verdict Execution timeMemoryGrader output
Fetching results...