114912024-10-12 22:39:31Lacus0606Kiváló Számokpython3Wrong answer 0/10024ms10424 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
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer24ms10424 KiB
subtask20/33
2Wrong answer16ms2872 KiB
3Wrong answer16ms2872 KiB
4Wrong answer17ms3248 KiB
5Wrong answer16ms3092 KiB
6Wrong answer14ms2872 KiB
7Wrong answer14ms2956 KiB
8Wrong answer16ms3064 KiB
subtask30/33
9Wrong answer14ms2860 KiB
10Wrong answer16ms2872 KiB
11Wrong answer16ms3080 KiB
12Wrong answer16ms2872 KiB
13Wrong answer14ms2872 KiB
14Wrong answer16ms2996 KiB
15Wrong answer16ms2856 KiB
16Wrong answer14ms2872 KiB
17Wrong answer16ms2872 KiB
18Wrong answer16ms2872 KiB
19Wrong answer14ms3080 KiB
20Wrong answer14ms3060 KiB
subtask40/34
21Wrong answer16ms2868 KiB
22Wrong answer16ms3224 KiB
23Wrong answer16ms2872 KiB
24Wrong answer14ms2952 KiB
25Wrong answer14ms2996 KiB
26Wrong answer16ms3092 KiB
27Wrong answer16ms2892 KiB
28Wrong answer14ms3012 KiB
29Wrong answer14ms2872 KiB
30Wrong answer16ms2984 KiB
31Wrong answer16ms2872 KiB
32Wrong answer14ms3012 KiB
33Wrong answer14ms2848 KiB