110802024-07-06 16:08:12probaDecimáliapython3Wrong answer 0/100108ms16688 KiB
semmi = input()
sor = [int(i) for i in input().split(' ')]
h = len(sor)-1
for i in range(h):
    sor[i+1] += sor[i] // 10
if sor[h] > 10:
    print((sor[h] // 10)*10**(h+1))
else:    
    print(sor[h]*10**h)
    
    
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Accepted18ms2960 KiB
2Accepted17ms2960 KiB
3Accepted17ms2844 KiB
subtask20/25
4Accepted17ms2960 KiB
5Wrong answer17ms3064 KiB
6Wrong answer17ms2988 KiB
7Wrong answer17ms2956 KiB
8Wrong answer17ms2948 KiB
subtask30/26
9Wrong answer17ms2916 KiB
10Wrong answer18ms3044 KiB
11Wrong answer18ms3044 KiB
12Wrong answer17ms3096 KiB
13Wrong answer17ms2988 KiB
14Accepted18ms3188 KiB
15Accepted17ms2960 KiB
16Accepted17ms2916 KiB
subtask40/19
17Wrong answer18ms3056 KiB
18Wrong answer18ms3108 KiB
19Wrong answer18ms3088 KiB
20Wrong answer18ms3088 KiB
subtask50/30
21Runtime error103ms16596 KiB
22Runtime error108ms16664 KiB
23Runtime error108ms16688 KiB
24Runtime error108ms16612 KiB
25Runtime error108ms16552 KiB
26Runtime error103ms16552 KiB
27Runtime error79ms11012 KiB
28Wrong answer17ms2952 KiB