110792024-07-06 16:05:48probaDecimáliapython3Wrong answer 0/100100ms16828 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
1Accepted18ms2988 KiB
2Accepted17ms2916 KiB
3Accepted17ms2960 KiB
subtask20/25
4Accepted17ms3096 KiB
5Wrong answer17ms2976 KiB
6Wrong answer17ms2968 KiB
7Wrong answer17ms3216 KiB
8Wrong answer17ms3064 KiB
subtask30/26
9Wrong answer17ms3084 KiB
10Wrong answer18ms3084 KiB
11Wrong answer17ms3048 KiB
12Wrong answer17ms2952 KiB
13Wrong answer17ms2916 KiB
14Accepted17ms2840 KiB
15Wrong answer17ms2916 KiB
16Wrong answer17ms2936 KiB
subtask40/19
17Wrong answer18ms3092 KiB
18Wrong answer18ms3100 KiB
19Wrong answer18ms3176 KiB
20Wrong answer19ms3172 KiB
subtask50/30
21Wrong answer98ms16720 KiB
22Wrong answer97ms16828 KiB
23Wrong answer93ms16596 KiB
24Wrong answer98ms16552 KiB
25Wrong answer100ms16552 KiB
26Wrong answer94ms16552 KiB
27Wrong answer74ms11096 KiB
28Wrong answer17ms2984 KiB