11884 | 2024-11-15 15:14:19 | DianaTaylor | Kiváló Számok | pypy3 | Accepted 100/100 | 48ms | 23188 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 | 39ms | 19408 KiB | ||||
subtask2 | 33/33 | ||||||
2 | Accepted | 43ms | 19272 KiB | ||||
3 | Accepted | 45ms | 19460 KiB | ||||
4 | Accepted | 41ms | 19436 KiB | ||||
5 | Accepted | 39ms | 19388 KiB | ||||
6 | Accepted | 41ms | 19232 KiB | ||||
7 | Accepted | 43ms | 19432 KiB | ||||
8 | Accepted | 37ms | 19436 KiB | ||||
subtask3 | 33/33 | ||||||
9 | Accepted | 45ms | 20292 KiB | ||||
10 | Accepted | 41ms | 21204 KiB | ||||
11 | Accepted | 46ms | 21672 KiB | ||||
12 | Accepted | 41ms | 21188 KiB | ||||
13 | Accepted | 41ms | 21212 KiB | ||||
14 | Accepted | 45ms | 20284 KiB | ||||
15 | Accepted | 39ms | 20032 KiB | ||||
16 | Accepted | 39ms | 20060 KiB | ||||
17 | Accepted | 41ms | 20716 KiB | ||||
18 | Accepted | 46ms | 21560 KiB | ||||
19 | Accepted | 39ms | 19948 KiB | ||||
20 | Accepted | 48ms | 22100 KiB | ||||
subtask4 | 34/34 | ||||||
21 | Accepted | 43ms | 23188 KiB | ||||
22 | Accepted | 45ms | 19904 KiB | ||||
23 | Accepted | 48ms | 23004 KiB | ||||
24 | Accepted | 43ms | 23128 KiB | ||||
25 | Accepted | 48ms | 22256 KiB | ||||
26 | Accepted | 41ms | 21008 KiB | ||||
27 | Accepted | 48ms | 22548 KiB | ||||
28 | Accepted | 41ms | 21996 KiB | ||||
29 | Accepted | 39ms | 19696 KiB | ||||
30 | Accepted | 39ms | 21484 KiB | ||||
31 | Accepted | 46ms | 21704 KiB | ||||
32 | Accepted | 43ms | 19352 KiB | ||||
33 | Accepted | 45ms | 19780 KiB |