제출 #161440

#제출 시각아이디문제언어결과실행 시간메모리
161440boolodifjenulaCOCI17_cezar (COCI17_cezar)Cpython 3
35 / 50
28 ms3428 KiB
n=int(input()) S=0 L=[] K=[4,4,4,4,4,4,4,4,16,4] for i in range(n): L+=[int(input())] S+=L[i] K[L[i]-2]-=1 m=21-sum(L) if sum(K[:m+1])<sum(K[m+1:]): 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...