CSES - Datatähti 2022 alku - Results
Submission details
Task:Merkkijono
Sender:Markus N
Submission time:2021-10-07 11:51:13 +0300
Language:Python3 (PyPy3)
Status:READY
Result:0
Feedback
groupverdictscore
#10
Test results
testverdicttime
#1ACCEPTED0.04 sdetails
#2ACCEPTED0.04 sdetails
#3ACCEPTED0.04 sdetails
#40.04 sdetails
#50.04 sdetails
#60.04 sdetails
#70.04 sdetails
#80.04 sdetails
#90.04 sdetails
#100.04 sdetails
#110.05 sdetails
#120.05 sdetails
#130.05 sdetails
#140.06 sdetails
#150.11 sdetails
#160.34 sdetails

Code

x = int(input())

k = ["a","b","c","e","f","g","h","i","j","k","l","m","n","o","p","q"]

lista = ["a"]
for n in range(1,x):
    for kohta in range(0,2*(len(lista)+1),2):
        lista.insert(kohta,k[n])

teksti = ""
for kirjain in lista:
    teksti += str(kirjain)

print(teksti)

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:

input
4

correct output
dcdbdcdadcdbdcd

user output
ecebeceaecebece

Test 5

Verdict:

input
5

correct output
edecedebedecedeaedecedebedeced...

user output
fefcfefbfefcfefafefcfefbfefcfe...

Test 6

Verdict:

input
6

correct output
fefdfefcfefdfefbfefdfefcfefdfe...

user output
gfgegfgcgfgegfgbgfgegfgcgfgegf...

Test 7

Verdict:

input
7

correct output
gfgegfgdgfgegfgcgfgegfgdgfgegf...

user output
hghfhghehghfhghchghfhghehghfhg...
Truncated

Test 8

Verdict:

input
8

correct output
hghfhghehghfhghdhghfhghehghfhg...

user output
ihigihifihigihieihigihifihigih...
Truncated

Test 9

Verdict:

input
9

correct output
ihigihifihigihieihigihifihigih...

user output
jijhjijgjijhjijfjijhjijgjijhji...
Truncated

Test 10

Verdict:

input
10

correct output
jijhjijgjijhjijfjijhjijgjijhji...

user output
kjkikjkhkjkikjkgkjkikjkhkjkikj...
Truncated

Test 11

Verdict:

input
11

correct output
kjkikjkhkjkikjkgkjkikjkhkjkikj...

user output
lkljlklilkljlklhlkljlklilkljlk...
Truncated

Test 12

Verdict:

input
12

correct output
lkljlklilkljlklhlkljlklilkljlk...

user output
mlmkmlmjmlmkmlmimlmkmlmjmlmkml...
Truncated

Test 13

Verdict:

input
13

correct output
mlmkmlmjmlmkmlmimlmkmlmjmlmkml...

user output
nmnlnmnknmnlnmnjnmnlnmnknmnlnm...
Truncated

Test 14

Verdict:

input
14

correct output
nmnlnmnknmnlnmnjnmnlnmnknmnlnm...

user output
onomonolonomonokonomonolonomon...
Truncated

Test 15

Verdict:

input
15

correct output
onomonolonomonokonomonolonomon...

user output
popnpopmpopnpoplpopnpopmpopnpo...
Truncated

Test 16

Verdict:

input
16

correct output
popnpopmpopnpoplpopnpopmpopnpo...

user output
qpqoqpqnqpqoqpqmqpqoqpqnqpqoqp...
Truncated