#decidalia
semmi = input()
szoveg = input()
ertek = [int(j)*(10**i) for i, j in enumerate(szoveg.split(' '))]
print(sum(ertek)-sum(ertek) % 10**(len(ertek)-1) )
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 17ms | 2988 KiB | ||||
2 | Accepted | 17ms | 2916 KiB | ||||
3 | Accepted | 17ms | 2916 KiB | ||||
subtask2 | 0/25 | ||||||
4 | Accepted | 17ms | 2916 KiB | ||||
5 | Wrong answer | 17ms | 2916 KiB | ||||
6 | Wrong answer | 17ms | 3072 KiB | ||||
7 | Wrong answer | 17ms | 3036 KiB | ||||
8 | Wrong answer | 17ms | 3064 KiB | ||||
subtask3 | 0/26 | ||||||
9 | Wrong answer | 18ms | 3064 KiB | ||||
10 | Wrong answer | 17ms | 2916 KiB | ||||
11 | Wrong answer | 18ms | 3044 KiB | ||||
12 | Wrong answer | 17ms | 2916 KiB | ||||
13 | Wrong answer | 17ms | 2868 KiB | ||||
14 | Accepted | 17ms | 2916 KiB | ||||
15 | Wrong answer | 17ms | 3064 KiB | ||||
16 | Wrong answer | 17ms | 3064 KiB | ||||
subtask4 | 0/19 | ||||||
17 | Wrong answer | 20ms | 3324 KiB | ||||
18 | Wrong answer | 20ms | 3336 KiB | ||||
19 | Wrong answer | 20ms | 3172 KiB | ||||
20 | Wrong answer | 21ms | 3300 KiB | ||||
subtask5 | 0/30 | ||||||
21 | Time limit exceeded | 597ms | 32548 KiB | ||||
22 | Time limit exceeded | 593ms | 32424 KiB | ||||
23 | Time limit exceeded | 600ms | 32812 KiB | ||||
24 | Time limit exceeded | 597ms | 32552 KiB | ||||
25 | Time limit exceeded | 596ms | 32832 KiB | ||||
26 | Time limit exceeded | 596ms | 32552 KiB | ||||
27 | Time limit exceeded | 596ms | 28420 KiB | ||||
28 | Wrong answer | 17ms | 3064 KiB |