CSES - Datatähti 2020 loppu - Results
Submission details
Task:Merkkijono
Sender:Antti Pham
Submission time:2020-02-09 12:44:31 +0200
Language:Python3 (PyPy3)
Status:READY
Result:100
Feedback
groupverdictscore
#1ACCEPTED16
#2ACCEPTED26
#3ACCEPTED58
Test results
testverdicttimegroup
#1ACCEPTED0.05 s1, 2, 3details
#2ACCEPTED0.05 s1, 2, 3details
#3ACCEPTED0.05 s1, 2, 3details
#4ACCEPTED0.05 s1, 2, 3details
#5ACCEPTED0.05 s2, 3details
#6ACCEPTED0.05 s2, 3details
#7ACCEPTED0.05 s2, 3details
#8ACCEPTED0.05 s2, 3details
#9ACCEPTED0.05 s2, 3details
#10ACCEPTED0.05 s2, 3details
#11ACCEPTED0.05 s3details
#12ACCEPTED0.05 s3details
#13ACCEPTED0.05 s3details
#14ACCEPTED0.05 s3details
#15ACCEPTED0.05 s3details
#16ACCEPTED0.05 s3details
#17ACCEPTED0.05 s3details
#18ACCEPTED0.05 s3details
#19ACCEPTED0.05 s3details
#20ACCEPTED0.05 s3details
#21ACCEPTED0.05 s3details
#22ACCEPTED0.05 s3details
#23ACCEPTED0.05 s3details
#24ACCEPTED0.06 s3details
#25ACCEPTED0.06 s3details
#26ACCEPTED0.06 s3details

Code

from itertools import cycle
c = cycle("15131713")

n = int(input())

for _ in range(n):
    print(next(c), sep="", end="")











Test details

Test 1

Group: 1, 2, 3

Verdict: ACCEPTED

input
1

correct output
1

user output
1

Test 2

Group: 1, 2, 3

Verdict: ACCEPTED

input
2

correct output
13

user output
15

Test 3

Group: 1, 2, 3

Verdict: ACCEPTED

input
3

correct output
131

user output
151

Test 4

Group: 1, 2, 3

Verdict: ACCEPTED

input
4

correct output
1317

user output
1513

Test 5

Group: 2, 3

Verdict: ACCEPTED

input
5

correct output
13171

user output
15131

Test 6

Group: 2, 3

Verdict: ACCEPTED

input
6

correct output
131713

user output
151317

Test 7

Group: 2, 3

Verdict: ACCEPTED

input
7

correct output
1317131

user output
1513171

Test 8

Group: 2, 3

Verdict: ACCEPTED

input
8

correct output
13171315

user output
15131713

Test 9

Group: 2, 3

Verdict: ACCEPTED

input
9

correct output
131713151

user output
151317131

Test 10

Group: 2, 3

Verdict: ACCEPTED

input
10

correct output
1317131513

user output
1513171315

Test 11

Group: 3

Verdict: ACCEPTED

input
11

correct output
13171315131

user output
15131713151

Test 12

Group: 3

Verdict: ACCEPTED

input
12

correct output
131713151317

user output
151317131513

Test 13

Group: 3

Verdict: ACCEPTED

input
13

correct output
1317131513171

user output
1513171315131

Test 14

Group: 3

Verdict: ACCEPTED

input
14

correct output
13171315131713

user output
15131713151317

Test 15

Group: 3

Verdict: ACCEPTED

input
15

correct output
131713151317131

user output
151317131513171

Test 16

Group: 3

Verdict: ACCEPTED

input
16

correct output
1317131513171315

user output
1513171315131713

Test 17

Group: 3

Verdict: ACCEPTED

input
17

correct output
13171315131713151

user output
15131713151317131

Test 18

Group: 3

Verdict: ACCEPTED

input
18

correct output
131713151317131513

user output
151317131513171315

Test 19

Group: 3

Verdict: ACCEPTED

input
19

correct output
1317131513171315131

user output
1513171315131713151

Test 20

Group: 3

Verdict: ACCEPTED

input
20

correct output
13171315131713151317

user output
15131713151317131513

Test 21

Group: 3

Verdict: ACCEPTED

input
40

correct output
131713151317131513171315131713...

user output
151317131513171315131713151317...

Test 22

Group: 3

Verdict: ACCEPTED

input
128

correct output
131713151317131513171315131713...

user output
151317131513171315131713151317...
Truncated

Test 23

Group: 3

Verdict: ACCEPTED

input
582

correct output
131713151317131513171315131713...

user output
151317131513171315131713151317...
Truncated

Test 24

Group: 3

Verdict: ACCEPTED

input
891

correct output
131713151317131513171315131713...

user output
151317131513171315131713151317...
Truncated

Test 25

Group: 3

Verdict: ACCEPTED

input
999

correct output
131713151317131513171315131713...

user output
151317131513171315131713151317...
Truncated

Test 26

Group: 3

Verdict: ACCEPTED

input
1000

correct output
131713151317131513171315131713...

user output
151317131513171315131713151317...
Truncated