11491 | 2024-10-12 22:39:31 | Lacus0606 | Kiváló Számok | python3 | Wrong answer 0/100 | 24ms | 10424 KiB |
def main():
n = int(input())
megoldas = -1
if n%3==0:
megoldas = "1"*(n)
megoldas = int(megoldas)
elif n%3==1:
megoldas = "5"*(n-2) + "1"*2
megoldas = int(megoldas)
elif n%3==2:
megoldas = "5" + "1"*(n-1)
megoldas = int(megoldas)
return megoldas
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Wrong answer | 24ms | 10424 KiB | ||||
subtask2 | 0/33 | ||||||
2 | Wrong answer | 16ms | 2872 KiB | ||||
3 | Wrong answer | 16ms | 2872 KiB | ||||
4 | Wrong answer | 17ms | 3248 KiB | ||||
5 | Wrong answer | 16ms | 3092 KiB | ||||
6 | Wrong answer | 14ms | 2872 KiB | ||||
7 | Wrong answer | 14ms | 2956 KiB | ||||
8 | Wrong answer | 16ms | 3064 KiB | ||||
subtask3 | 0/33 | ||||||
9 | Wrong answer | 14ms | 2860 KiB | ||||
10 | Wrong answer | 16ms | 2872 KiB | ||||
11 | Wrong answer | 16ms | 3080 KiB | ||||
12 | Wrong answer | 16ms | 2872 KiB | ||||
13 | Wrong answer | 14ms | 2872 KiB | ||||
14 | Wrong answer | 16ms | 2996 KiB | ||||
15 | Wrong answer | 16ms | 2856 KiB | ||||
16 | Wrong answer | 14ms | 2872 KiB | ||||
17 | Wrong answer | 16ms | 2872 KiB | ||||
18 | Wrong answer | 16ms | 2872 KiB | ||||
19 | Wrong answer | 14ms | 3080 KiB | ||||
20 | Wrong answer | 14ms | 3060 KiB | ||||
subtask4 | 0/34 | ||||||
21 | Wrong answer | 16ms | 2868 KiB | ||||
22 | Wrong answer | 16ms | 3224 KiB | ||||
23 | Wrong answer | 16ms | 2872 KiB | ||||
24 | Wrong answer | 14ms | 2952 KiB | ||||
25 | Wrong answer | 14ms | 2996 KiB | ||||
26 | Wrong answer | 16ms | 3092 KiB | ||||
27 | Wrong answer | 16ms | 2892 KiB | ||||
28 | Wrong answer | 14ms | 3012 KiB | ||||
29 | Wrong answer | 14ms | 2872 KiB | ||||
30 | Wrong answer | 16ms | 2984 KiB | ||||
31 | Wrong answer | 16ms | 2872 KiB | ||||
32 | Wrong answer | 14ms | 3012 KiB | ||||
33 | Wrong answer | 14ms | 2848 KiB |