9908 | 2024-03-18 15:27:03 | sdanika09 | Kiváló Számok | python3 | Wrong answer 67/100 | 238ms | 18136 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)
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 17ms | 11132 KiB | ||||
subtask2 | 0/33 | ||||||
2 | Wrong answer | 17ms | 11556 KiB | ||||
3 | Accepted | 17ms | 11984 KiB | ||||
4 | Accepted | 17ms | 12044 KiB | ||||
5 | Accepted | 17ms | 12380 KiB | ||||
6 | Accepted | 17ms | 12496 KiB | ||||
7 | Accepted | 17ms | 12596 KiB | ||||
8 | Accepted | 17ms | 12872 KiB | ||||
subtask3 | 33/33 | ||||||
9 | Accepted | 75ms | 14424 KiB | ||||
10 | Accepted | 129ms | 15352 KiB | ||||
11 | Accepted | 155ms | 15932 KiB | ||||
12 | Accepted | 128ms | 15524 KiB | ||||
13 | Accepted | 133ms | 15644 KiB | ||||
14 | Accepted | 81ms | 14744 KiB | ||||
15 | Accepted | 45ms | 13892 KiB | ||||
16 | Accepted | 71ms | 14784 KiB | ||||
17 | Accepted | 112ms | 15488 KiB | ||||
18 | Accepted | 143ms | 16776 KiB | ||||
19 | Accepted | 61ms | 15228 KiB | ||||
20 | Accepted | 180ms | 17292 KiB | ||||
subtask4 | 34/34 | ||||||
21 | Accepted | 237ms | 18136 KiB | ||||
22 | Accepted | 59ms | 14560 KiB | ||||
23 | Accepted | 234ms | 17876 KiB | ||||
24 | Accepted | 238ms | 17944 KiB | ||||
25 | Accepted | 187ms | 17056 KiB | ||||
26 | Accepted | 112ms | 15816 KiB | ||||
27 | Accepted | 208ms | 17272 KiB | ||||
28 | Accepted | 175ms | 17108 KiB | ||||
29 | Accepted | 46ms | 14984 KiB | ||||
30 | Accepted | 152ms | 16996 KiB | ||||
31 | Accepted | 146ms | 16984 KiB | ||||
32 | Accepted | 19ms | 14816 KiB | ||||
33 | Accepted | 37ms | 14972 KiB |