11984 | 2024-11-22 15:34:30 | Adam | Kiváló Számok | python3 | Accepted 100/100 | 18ms | 5976 KiB |
N = int(input())
if N < 2:
print(-1)
else:
if N % 2 == 0:
ki = '15'*(N//2)
else:
ki = '111'+'15'*((N-3) // 2)
print(ki)
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 16ms | 2872 KiB | ||||
subtask2 | 33/33 | ||||||
2 | Accepted | 16ms | 2872 KiB | ||||
3 | Accepted | 16ms | 2988 KiB | ||||
4 | Accepted | 14ms | 2872 KiB | ||||
5 | Accepted | 16ms | 2872 KiB | ||||
6 | Accepted | 14ms | 2960 KiB | ||||
7 | Accepted | 16ms | 2872 KiB | ||||
8 | Accepted | 14ms | 2872 KiB | ||||
subtask3 | 33/33 | ||||||
9 | Accepted | 14ms | 3688 KiB | ||||
10 | Accepted | 16ms | 4356 KiB | ||||
11 | Accepted | 17ms | 4668 KiB | ||||
12 | Accepted | 17ms | 4276 KiB | ||||
13 | Accepted | 17ms | 4408 KiB | ||||
14 | Accepted | 16ms | 3644 KiB | ||||
15 | Accepted | 16ms | 3380 KiB | ||||
16 | Accepted | 17ms | 3632 KiB | ||||
17 | Accepted | 16ms | 4148 KiB | ||||
18 | Accepted | 17ms | 4668 KiB | ||||
19 | Accepted | 16ms | 3384 KiB | ||||
20 | Accepted | 17ms | 4980 KiB | ||||
subtask4 | 34/34 | ||||||
21 | Accepted | 17ms | 5976 KiB | ||||
22 | Accepted | 16ms | 3468 KiB | ||||
23 | Accepted | 18ms | 5688 KiB | ||||
24 | Accepted | 17ms | 5880 KiB | ||||
25 | Accepted | 17ms | 5072 KiB | ||||
26 | Accepted | 16ms | 4216 KiB | ||||
27 | Accepted | 17ms | 5152 KiB | ||||
28 | Accepted | 18ms | 4916 KiB | ||||
29 | Accepted | 16ms | 3352 KiB | ||||
30 | Accepted | 17ms | 4640 KiB | ||||
31 | Accepted | 17ms | 4520 KiB | ||||
32 | Accepted | 16ms | 2992 KiB | ||||
33 | Accepted | 16ms | 3292 KiB |