111902024-07-16 11:28:02probaDecimáliapython3Runtime error 70/100493ms262148 KiB
N = input()
sor = input()
ertek = []
th = 1
for i in sor.split(' '):
    ertek += [int(i)*th]
    th *=10
s = sum(ertek)    
print((s//10**(len(str(s))-1))*10**((len(str(s))-1)))    
    
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Accepted17ms2980 KiB
2Accepted17ms2960 KiB
3Accepted18ms2968 KiB
subtask225/25
4Accepted18ms2976 KiB
5Accepted17ms3076 KiB
6Accepted17ms2916 KiB
7Accepted18ms2996 KiB
8Accepted17ms2936 KiB
subtask326/26
9Accepted18ms3192 KiB
10Accepted17ms2980 KiB
11Accepted18ms2936 KiB
12Accepted17ms2916 KiB
13Accepted17ms2960 KiB
14Accepted17ms2960 KiB
15Accepted18ms2828 KiB
16Accepted17ms3064 KiB
subtask419/19
17Accepted18ms3300 KiB
18Accepted19ms3172 KiB
19Accepted18ms3252 KiB
20Accepted19ms3344 KiB
subtask50/30
21Runtime error493ms262148 KiB
22Runtime error453ms262148 KiB
23Runtime error493ms262148 KiB
24Runtime error449ms262148 KiB
25Runtime error488ms262148 KiB
26Runtime error446ms262148 KiB
27Runtime error492ms262148 KiB
28Accepted17ms2980 KiB