Task: | Merkkijono |
Sender: | eaittok |
Submission time: | 2021-10-05 20:22:22 +0300 |
Language: | Python3 (PyPy3) |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | WRONG ANSWER | 0 |
test | verdict | time | |
---|---|---|---|
#1 | WRONG ANSWER | 0.10 s | details |
#2 | WRONG ANSWER | 0.10 s | details |
#3 | WRONG ANSWER | 0.10 s | details |
#4 | WRONG ANSWER | 0.10 s | details |
#5 | WRONG ANSWER | 0.11 s | details |
#6 | WRONG ANSWER | 0.10 s | details |
#7 | WRONG ANSWER | 0.10 s | details |
#8 | WRONG ANSWER | 0.10 s | details |
#9 | WRONG ANSWER | 0.10 s | details |
#10 | WRONG ANSWER | 0.10 s | details |
#11 | WRONG ANSWER | 0.10 s | details |
#12 | WRONG ANSWER | 0.11 s | details |
#13 | WRONG ANSWER | 0.12 s | details |
#14 | WRONG ANSWER | 0.12 s | details |
#15 | WRONG ANSWER | 0.12 s | details |
#16 | WRONG ANSWER | 0.13 s | details |
Code
import string def s(n, middle_index): if n == 1: return str(middle_index) return s(n-1, middle_index+1)+str(middle_index)+s(n-1, middle_index+1) def conv(s): letters = string.ascii_lowercase return "".join([letters[int(i)] for i in s]) print(conv(s(int(input()), 0))) if __name__ == "__main__": for i in range(1, 16): print(conv(s(i, 0)))
Test details
Test 1
Verdict: WRONG ANSWER
input |
---|
1 |
correct output |
---|
a |
user output |
---|
a a bab cbcacbc dcdbdcdadcdbdcd ... Truncated |
Test 2
Verdict: WRONG ANSWER
input |
---|
2 |
correct output |
---|
bab |
user output |
---|
bab a bab cbcacbc dcdbdcdadcdbdcd ... Truncated |
Test 3
Verdict: WRONG ANSWER
input |
---|
3 |
correct output |
---|
cbcacbc |
user output |
---|
cbcacbc a bab cbcacbc dcdbdcdadcdbdcd ... Truncated |
Test 4
Verdict: WRONG ANSWER
input |
---|
4 |
correct output |
---|
dcdbdcdadcdbdcd |
user output |
---|
dcdbdcdadcdbdcd a bab cbcacbc dcdbdcdadcdbdcd ... Truncated |
Test 5
Verdict: WRONG ANSWER
input |
---|
5 |
correct output |
---|
edecedebedecedeaedecedebedeced... |
user output |
---|
edecedebedecedeaedecedebedeced... Truncated |
Test 6
Verdict: WRONG ANSWER
input |
---|
6 |
correct output |
---|
fefdfefcfefdfefbfefdfefcfefdfe... |
user output |
---|
fefdfefcfefdfefbfefdfefcfefdfe... Truncated |
Test 7
Verdict: WRONG ANSWER
input |
---|
7 |
correct output |
---|
gfgegfgdgfgegfgcgfgegfgdgfgegf... |
user output |
---|
gfgegfgdgfgegfgcgfgegfgdgfgegf... Truncated |
Test 8
Verdict: WRONG ANSWER
input |
---|
8 |
correct output |
---|
hghfhghehghfhghdhghfhghehghfhg... |
user output |
---|
hghfhghehghfhghdhghfhghehghfhg... Truncated |
Test 9
Verdict: WRONG ANSWER
input |
---|
9 |
correct output |
---|
ihigihifihigihieihigihifihigih... |
user output |
---|
ihigihifihigihieihigihifihigih... Truncated |
Test 10
Verdict: WRONG ANSWER
input |
---|
10 |
correct output |
---|
jijhjijgjijhjijfjijhjijgjijhji... |
user output |
---|
jijhjijgjijhjijfjijhjijgjijhji... Truncated |
Test 11
Verdict: WRONG ANSWER
input |
---|
11 |
correct output |
---|
kjkikjkhkjkikjkgkjkikjkhkjkikj... |
user output |
---|
bajbaibajbahbajbaibajbagbajbai... Truncated |
Test 12
Verdict: WRONG ANSWER
input |
---|
12 |
correct output |
---|
lkljlklilkljlklhlkljlklilkljlk... |
user output |
---|
bbbabbjbbbabbibbbabbjbbbabbhbb... Truncated |
Test 13
Verdict: WRONG ANSWER
input |
---|
13 |
correct output |
---|
mlmkmlmjmlmkmlmimlmkmlmjmlmkml... |
user output |
---|
bcbbbcbabcbbbcjbcbbbcbabcbbbci... Truncated |
Test 14
Verdict: WRONG ANSWER
input |
---|
14 |
correct output |
---|
nmnlnmnknmnlnmnjnmnlnmnknmnlnm... |
user output |
---|
bdbcbdbbbdbcbdbabdbcbdbbbdbcbd... Truncated |
Test 15
Verdict: WRONG ANSWER
input |
---|
15 |
correct output |
---|
onomonolonomonokonomonolonomon... |
user output |
---|
bebdbebcbebdbebbbebdbebcbebdbe... Truncated |
Test 16
Verdict: WRONG ANSWER
input |
---|
16 |
correct output |
---|
popnpopmpopnpoplpopnpopmpopnpo... |
user output |
---|
bfbebfbdbfbebfbcbfbebfbdbfbebf... Truncated |