111912024-07-16 11:37:33probaDecimáliapython3Time limit exceeded 70/100597ms13808 KiB
N = input()
sor = input()

th, s = 1, 0

for i in sor.split(' '):
    s += int(i)*th
    th *=10
    
print((s//10**(len(str(s))-1))*10**((len(str(s))-1)))    
    
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Accepted17ms2916 KiB
2Accepted17ms2960 KiB
3Accepted17ms2980 KiB
subtask225/25
4Accepted17ms3096 KiB
5Accepted17ms2792 KiB
6Accepted17ms2916 KiB
7Accepted17ms3192 KiB
8Accepted17ms2916 KiB
subtask326/26
9Accepted17ms2940 KiB
10Accepted17ms2916 KiB
11Accepted17ms2916 KiB
12Accepted17ms2916 KiB
13Accepted18ms3108 KiB
14Accepted17ms3044 KiB
15Accepted18ms3144 KiB
16Accepted17ms3064 KiB
subtask419/19
17Accepted18ms3152 KiB
18Accepted17ms3044 KiB
19Accepted17ms3044 KiB
20Accepted18ms2952 KiB
subtask50/30
21Time limit exceeded575ms13808 KiB
22Time limit exceeded580ms13612 KiB
23Time limit exceeded583ms13652 KiB
24Time limit exceeded587ms13608 KiB
25Time limit exceeded597ms13608 KiB
26Time limit exceeded591ms13604 KiB
27Time limit exceeded595ms9484 KiB
28Accepted17ms2788 KiB