117372024-11-08 15:01:18matthiasKiváló Számokpython3Runtime error 0/10016ms3312 KiB
N = int(input())

sz = ''

if N == 1:
    print(-1)
    
elif N%2 == 1:
    sz = '111'
    N -= 3
    
sz += '15'*(N//2)

print(sz)s
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Runtime error16ms2872 KiB
subtask20/33
2Runtime error16ms3120 KiB
3Runtime error16ms3312 KiB
4Runtime error16ms2872 KiB
5Runtime error16ms2872 KiB
6Runtime error14ms3112 KiB
7Runtime error16ms3036 KiB
8Runtime error14ms2868 KiB
subtask30/33
9Runtime error16ms2876 KiB
10Runtime error14ms3136 KiB
11Runtime error16ms3068 KiB
12Runtime error16ms2892 KiB
13Runtime error16ms3096 KiB
14Runtime error14ms3128 KiB
15Runtime error14ms2880 KiB
16Runtime error16ms3096 KiB
17Runtime error14ms3024 KiB
18Runtime error14ms3088 KiB
19Runtime error16ms3020 KiB
20Runtime error16ms2980 KiB
subtask40/34
21Runtime error16ms2872 KiB
22Runtime error14ms2864 KiB
23Runtime error16ms3064 KiB
24Runtime error16ms2996 KiB
25Runtime error16ms2872 KiB
26Runtime error14ms2872 KiB
27Runtime error16ms3072 KiB
28Runtime error14ms3300 KiB
29Runtime error16ms3128 KiB
30Runtime error14ms3092 KiB
31Runtime error16ms3116 KiB
32Runtime error16ms3288 KiB
33Runtime error16ms3096 KiB