CSES - Datatähti 2020 alku - Results
Submission details
Task:Ruudukko
Sender:Hogwarter
Submission time:2019-10-12 18:46:12 +0300
Language:CPython3
Status:READY
Result:0
Feedback
groupverdictscore
#10
Test results
testverdicttime
#10.02 sdetails
#20.02 sdetails
#30.02 sdetails
#40.03 sdetails
#50.03 sdetails
#60.03 sdetails

Code

'''
Created on Oct 12, 2019

@author: isla
'''


n = int(input("Syote\n"))
print("")
print("Tuloste")
for rivi in range(n):
    for i in range(n):
        print((i + rivi) % n + 1,end=" ")
    print("")

Test details

Test 1

Verdict:

input
1

correct output

user output
Syote

Tuloste

Test 2

Verdict:

input
2

correct output
1 2 
2 1 

user output
Syote

Tuloste
1 2 
2 1 

Test 3

Verdict:

input
5

correct output
1 2 3 4 5 
2 1 4 3 6 
3 4 1 2 7 
4 3 2 1 8 
5 6 7 8 1 

user output
Syote

Tuloste
1 2 3 4 5 
2 3 4 5 1 
...

Test 4

Verdict:

input
42

correct output
1 2 3 4 5 6 7 8 9 10 11 12 13 ...

user output
Syote

Tuloste
1 2 3 4 5 6 7 8 9 10 11 12 13 ...

Test 5

Verdict:

input
99

correct output
1 2 3 4 5 6 7 8 9 10 11 12 13 ...

user output
Syote

Tuloste
1 2 3 4 5 6 7 8 9 10 11 12 13 ...

Test 6

Verdict:

input
100

correct output
1 2 3 4 5 6 7 8 9 10 11 12 13 ...

user output
Syote

Tuloste
1 2 3 4 5 6 7 8 9 10 11 12 13 ...