11608 | 2024-10-30 15:39:21 | Kezdő | Kiváló Számok | python3 | Accepted 100/100 | 18ms | 6048 KiB |
N = int(input())
sz = ''
if N == 1:
print(-1)
elif N%2 == 1:
sz = '111'
N -= 3
sz += '15'*(N//2)
print(sz)
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 16ms | 2876 KiB | ||||
subtask2 | 33/33 | ||||||
2 | Accepted | 16ms | 2884 KiB | ||||
3 | Accepted | 16ms | 3080 KiB | ||||
4 | Accepted | 14ms | 2880 KiB | ||||
5 | Accepted | 14ms | 3076 KiB | ||||
6 | Accepted | 17ms | 2884 KiB | ||||
7 | Accepted | 16ms | 2884 KiB | ||||
8 | Accepted | 16ms | 2964 KiB | ||||
subtask3 | 33/33 | ||||||
9 | Accepted | 17ms | 3856 KiB | ||||
10 | Accepted | 17ms | 4420 KiB | ||||
11 | Accepted | 18ms | 4676 KiB | ||||
12 | Accepted | 17ms | 4420 KiB | ||||
13 | Accepted | 17ms | 4360 KiB | ||||
14 | Accepted | 16ms | 3840 KiB | ||||
15 | Accepted | 16ms | 3396 KiB | ||||
16 | Accepted | 16ms | 3488 KiB | ||||
17 | Accepted | 17ms | 4164 KiB | ||||
18 | Accepted | 17ms | 4676 KiB | ||||
19 | Accepted | 16ms | 3576 KiB | ||||
20 | Accepted | 17ms | 5112 KiB | ||||
subtask4 | 34/34 | ||||||
21 | Accepted | 18ms | 5796 KiB | ||||
22 | Accepted | 16ms | 3480 KiB | ||||
23 | Accepted | 17ms | 5696 KiB | ||||
24 | Accepted | 18ms | 6048 KiB | ||||
25 | Accepted | 18ms | 5188 KiB | ||||
26 | Accepted | 16ms | 4164 KiB | ||||
27 | Accepted | 17ms | 5188 KiB | ||||
28 | Accepted | 17ms | 4960 KiB | ||||
29 | Accepted | 16ms | 3412 KiB | ||||
30 | Accepted | 17ms | 4624 KiB | ||||
31 | Accepted | 17ms | 4676 KiB | ||||
32 | Accepted | 16ms | 3140 KiB | ||||
33 | Accepted | 14ms | 3136 KiB |