Submission #161485

#TimeUsernameProblemLanguageResultExecution timeMemory
161485boolodifjenulaCOCI17_cezar (COCI17_cezar)Cpython 3
0 / 50
27 ms3396 KiB
n=int(input()) m=21 K=[4,4,4,4,4,4,4,4,16,4] for i in range(n): k=[int(input())] m-=k K[k-2]-=1 if sum(K[:m])<=sum(K[m:]): print("DOSTA") else: print("VUCI")
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...