99082024-03-18 15:27:03sdanika09Kiváló Számokpython3Wrong answer 67/100238ms18136 KiB
n = input()
a = ""

if int(n) % 3 == 0:
    for i in range(0, int(n)):
        a += "1"

elif int(n) % 3 == 1:
    for i in range(0, int(n) - 2):
        a += "1"
    a += "55"

else:
    for i in range(0, int(n) - 1):
        a += "1"
    a += "5"

print(a)
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Accepted17ms11132 KiB
subtask20/33
2Wrong answer17ms11556 KiB
3Accepted17ms11984 KiB
4Accepted17ms12044 KiB
5Accepted17ms12380 KiB
6Accepted17ms12496 KiB
7Accepted17ms12596 KiB
8Accepted17ms12872 KiB
subtask333/33
9Accepted75ms14424 KiB
10Accepted129ms15352 KiB
11Accepted155ms15932 KiB
12Accepted128ms15524 KiB
13Accepted133ms15644 KiB
14Accepted81ms14744 KiB
15Accepted45ms13892 KiB
16Accepted71ms14784 KiB
17Accepted112ms15488 KiB
18Accepted143ms16776 KiB
19Accepted61ms15228 KiB
20Accepted180ms17292 KiB
subtask434/34
21Accepted237ms18136 KiB
22Accepted59ms14560 KiB
23Accepted234ms17876 KiB
24Accepted238ms17944 KiB
25Accepted187ms17056 KiB
26Accepted112ms15816 KiB
27Accepted208ms17272 KiB
28Accepted175ms17108 KiB
29Accepted46ms14984 KiB
30Accepted152ms16996 KiB
31Accepted146ms16984 KiB
32Accepted19ms14816 KiB
33Accepted37ms14972 KiB