Task: | Merkkijono |
Sender: | Og3 |
Submission time: | 2021-10-05 10:57:27 +0300 |
Language: | Python3 (CPython3) |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | WRONG ANSWER | 0 |
test | verdict | time | |
---|---|---|---|
#1 | ACCEPTED | 0.02 s | details |
#2 | ACCEPTED | 0.02 s | details |
#3 | ACCEPTED | 0.02 s | details |
#4 | ACCEPTED | 0.02 s | details |
#5 | ACCEPTED | 0.02 s | details |
#6 | ACCEPTED | 0.02 s | details |
#7 | ACCEPTED | 0.02 s | details |
#8 | ACCEPTED | 0.02 s | details |
#9 | ACCEPTED | 0.02 s | details |
#10 | ACCEPTED | 0.02 s | details |
#11 | ACCEPTED | 0.02 s | details |
#12 | WRONG ANSWER | 0.40 s | details |
#13 | WRONG ANSWER | 0.40 s | details |
#14 | WRONG ANSWER | 0.41 s | details |
#15 | WRONG ANSWER | 0.40 s | details |
#16 | WRONG ANSWER | 0.40 s | details |
Code
n = int(input()) lista = ["a"] if n>1: b=0 for i in range (2): lista.insert(b, "b") b+=2 if n>2: c=0 for i in range (4): lista.insert(c, "c") c+=2 if n>3: d=0 for i in range (8): lista.insert(d, "d") d+=2 if n>4: e=0 for i in range (16): lista.insert(e, "e") e+=2 if n>5: f=0 for i in range (32): lista.insert(f, "f") f+=2 if n>6: g=0 for i in range (64): lista.insert(g, "g") g+=2 if n>7: h=0 for i in range (128): lista.insert(h, "h") h+=2 if n>8: i=0 for k in range (256): lista.insert(i, "i") i+=2 if n>9: j=0 for i in range (512): lista.insert(j, "j") j+=2 if n>10: k=0 for i in range (2**10): lista.insert(k, "k") k+=2 if n>11: n=0 for i in range (2**11): lista.insert(n, "n") n+=2 if n>12: m=0 for i in range (2**12): lista.insert(m, "m") m+=2 if n>13: n=0 for i in range (2**13): lista.insert(n, "n") n+=2 if n>14: o=0 for k in range (2**14): lista.insert(o, "o") o+=2 if n>15: p=0 for k in range (2**15): lista.insert(p, "p") p+=2 print(''.join(lista))
Test details
Test 1
Verdict: ACCEPTED
input |
---|
1 |
correct output |
---|
a |
user output |
---|
a |
Test 2
Verdict: ACCEPTED
input |
---|
2 |
correct output |
---|
bab |
user output |
---|
bab |
Test 3
Verdict: ACCEPTED
input |
---|
3 |
correct output |
---|
cbcacbc |
user output |
---|
cbcacbc |
Test 4
Verdict: ACCEPTED
input |
---|
4 |
correct output |
---|
dcdbdcdadcdbdcd |
user output |
---|
dcdbdcdadcdbdcd |
Test 5
Verdict: ACCEPTED
input |
---|
5 |
correct output |
---|
edecedebedecedeaedecedebedeced... |
user output |
---|
edecedebedecedeaedecedebedeced... |
Test 6
Verdict: ACCEPTED
input |
---|
6 |
correct output |
---|
fefdfefcfefdfefbfefdfefcfefdfe... |
user output |
---|
fefdfefcfefdfefbfefdfefcfefdfe... |
Test 7
Verdict: ACCEPTED
input |
---|
7 |
correct output |
---|
gfgegfgdgfgegfgcgfgegfgdgfgegf... |
user output |
---|
gfgegfgdgfgegfgcgfgegfgdgfgegf... Truncated |
Test 8
Verdict: ACCEPTED
input |
---|
8 |
correct output |
---|
hghfhghehghfhghdhghfhghehghfhg... |
user output |
---|
hghfhghehghfhghdhghfhghehghfhg... Truncated |
Test 9
Verdict: ACCEPTED
input |
---|
9 |
correct output |
---|
ihigihifihigihieihigihifihigih... |
user output |
---|
ihigihifihigihieihigihifihigih... Truncated |
Test 10
Verdict: ACCEPTED
input |
---|
10 |
correct output |
---|
jijhjijgjijhjijfjijhjijgjijhji... |
user output |
---|
jijhjijgjijhjijfjijhjijgjijhji... Truncated |
Test 11
Verdict: ACCEPTED
input |
---|
11 |
correct output |
---|
kjkikjkhkjkikjkgkjkikjkhkjkikj... |
user output |
---|
kjkikjkhkjkikjkgkjkikjkhkjkikj... Truncated |
Test 12
Verdict: WRONG ANSWER
input |
---|
12 |
correct output |
---|
lkljlklilkljlklhlkljlklilkljlk... |
user output |
---|
popnpopmpopnpopnpopnpopmpopnpo... Truncated |
Test 13
Verdict: WRONG ANSWER
input |
---|
13 |
correct output |
---|
mlmkmlmjmlmkmlmimlmkmlmjmlmkml... |
user output |
---|
popnpopmpopnpopnpopnpopmpopnpo... Truncated |
Test 14
Verdict: WRONG ANSWER
input |
---|
14 |
correct output |
---|
nmnlnmnknmnlnmnjnmnlnmnknmnlnm... |
user output |
---|
popnpopmpopnpopnpopnpopmpopnpo... Truncated |
Test 15
Verdict: WRONG ANSWER
input |
---|
15 |
correct output |
---|
onomonolonomonokonomonolonomon... |
user output |
---|
popnpopmpopnpopnpopnpopmpopnpo... Truncated |
Test 16
Verdict: WRONG ANSWER
input |
---|
16 |
correct output |
---|
popnpopmpopnpoplpopnpopmpopnpo... |
user output |
---|
popnpopmpopnpopnpopnpopmpopnpo... Truncated |