#decidalia
semmi = input()
szoveg = input()
ertek, h = 0, 1
for j in szoveg.strip().split(' '):
ertek += int(j)*h
h *= 10
print(ertek - int(ertek % (h/10)))
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 17ms | 2916 KiB | ||||
2 | Accepted | 17ms | 2916 KiB | ||||
3 | Accepted | 17ms | 2916 KiB | ||||
subtask2 | 0/25 | ||||||
4 | Accepted | 17ms | 3004 KiB | ||||
5 | Wrong answer | 17ms | 2916 KiB | ||||
6 | Wrong answer | 17ms | 2952 KiB | ||||
7 | Wrong answer | 17ms | 3000 KiB | ||||
8 | Wrong answer | 17ms | 2816 KiB | ||||
subtask3 | 0/26 | ||||||
9 | Wrong answer | 18ms | 2936 KiB | ||||
10 | Wrong answer | 17ms | 2960 KiB | ||||
11 | Wrong answer | 17ms | 3088 KiB | ||||
12 | Wrong answer | 17ms | 2916 KiB | ||||
13 | Wrong answer | 17ms | 2912 KiB | ||||
14 | Wrong answer | 17ms | 2916 KiB | ||||
15 | Wrong answer | 17ms | 2916 KiB | ||||
16 | Wrong answer | 17ms | 2916 KiB | ||||
subtask4 | 0/19 | ||||||
17 | Runtime error | 18ms | 3096 KiB | ||||
18 | Runtime error | 18ms | 3240 KiB | ||||
19 | Runtime error | 18ms | 3044 KiB | ||||
20 | Runtime error | 18ms | 3172 KiB | ||||
subtask5 | 0/30 | ||||||
21 | Time limit exceeded | 596ms | 13620 KiB | ||||
22 | Time limit exceeded | 593ms | 13660 KiB | ||||
23 | Time limit exceeded | 596ms | 13640 KiB | ||||
24 | Time limit exceeded | 592ms | 13552 KiB | ||||
25 | Time limit exceeded | 597ms | 13608 KiB | ||||
26 | Time limit exceeded | 593ms | 13792 KiB | ||||
27 | Time limit exceeded | 591ms | 9388 KiB | ||||
28 | Wrong answer | 17ms | 2916 KiB |