#decidalia
semmi = input()
szoveg = input()
ertek = [int(j)*(10**i) for i, j in enumerate(szoveg.strip().split(' '))]
print(sum(ertek)-sum(ertek) % 10**(len(ertek)-1) )
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 17ms | 2916 KiB | ||||
2 | Accepted | 17ms | 2976 KiB | ||||
3 | Accepted | 17ms | 2916 KiB | ||||
subtask2 | 0/25 | ||||||
4 | Accepted | 17ms | 3008 KiB | ||||
5 | Wrong answer | 18ms | 2916 KiB | ||||
6 | Wrong answer | 17ms | 2960 KiB | ||||
7 | Wrong answer | 17ms | 3068 KiB | ||||
8 | Wrong answer | 17ms | 2916 KiB | ||||
subtask3 | 0/26 | ||||||
9 | Wrong answer | 17ms | 2916 KiB | ||||
10 | Wrong answer | 18ms | 2916 KiB | ||||
11 | Wrong answer | 18ms | 3088 KiB | ||||
12 | Wrong answer | 18ms | 3000 KiB | ||||
13 | Wrong answer | 17ms | 2916 KiB | ||||
14 | Accepted | 18ms | 2960 KiB | ||||
15 | Wrong answer | 18ms | 3064 KiB | ||||
16 | Wrong answer | 17ms | 2916 KiB | ||||
subtask4 | 0/19 | ||||||
17 | Wrong answer | 21ms | 3300 KiB | ||||
18 | Wrong answer | 20ms | 3300 KiB | ||||
19 | Wrong answer | 20ms | 3172 KiB | ||||
20 | Wrong answer | 21ms | 3288 KiB | ||||
subtask5 | 0/30 | ||||||
21 | Time limit exceeded | 592ms | 32424 KiB | ||||
22 | Time limit exceeded | 597ms | 32552 KiB | ||||
23 | Time limit exceeded | 595ms | 32616 KiB | ||||
24 | Time limit exceeded | 593ms | 32424 KiB | ||||
25 | Time limit exceeded | 597ms | 32704 KiB | ||||
26 | Time limit exceeded | 597ms | 32552 KiB | ||||
27 | Time limit exceeded | 592ms | 28464 KiB | ||||
28 | Wrong answer | 17ms | 2916 KiB |