Submission #24167

#TimeUsernameProblemLanguageResultExecution timeMemory
24167model_codePot (COCI15_pot)Cpython 3
50 / 50
28 ms3 KiB
N = int(input()) ukupno = 0 for i in range(N): P = int(input()) pot = P % 10 baza = P // 10 potencija = 1 for i in range(pot): potencija *= baza ukupno += potencija print(ukupno)
#Verdict Execution timeMemoryGrader output
Fetching results...