CSES - Putka Open 2015 – 2/6 - Results
Submission details
Task:Sudoku
Sender:
Submission time:2015-08-15 00:38:57 +0300
Language:Python2
Status:READY
Result:100
Feedback
groupverdictscore
#1ACCEPTED100
Test results
testverdicttime
#1ACCEPTED0.04 sdetails
#2ACCEPTED0.06 sdetails
#3ACCEPTED0.06 sdetails
#4ACCEPTED0.06 sdetails
#5ACCEPTED0.06 sdetails

Code

import sys
import math
import itertools
from collections import defaultdict

l1 = sys.stdin.readline().rstrip()
l2 = l1[6:] + l1[:6]
l3 = l2[6:] + l2[:6]

l4 = l1[8:] + l1[:8]
l5 = l2[8:] + l2[:8]
l6 = l3[8:] + l3[:8]

l7 = l4[8:] + l4[:8]
l8 = l5[8:] + l5[:8]
l9 = l6[8:] + l6[:8]

print l1
print l2
print l3
print l4
print l5
print l6
print l7
print l8
print l9

Test details

Test 1

Verdict: ACCEPTED

input
592836471

correct output
592836471
836471592
471592836
928364715
364715928
...

user output
592836471
471592836
836471592
159283647
647159283
...

Test 2

Verdict: ACCEPTED

input
672935418

correct output
672935418
935418672
418672935
729354186
354186729
...

user output
672935418
418672935
935418672
867293541
541867293
...

Test 3

Verdict: ACCEPTED

input
329174658

correct output
329174658
174658329
658329174
291746583
746583291
...

user output
329174658
658329174
174658329
832917465
465832917
...

Test 4

Verdict: ACCEPTED

input
376958421

correct output
376958421
958421376
421376958
769584213
584213769
...

user output
376958421
421376958
958421376
137695842
842137695
...

Test 5

Verdict: ACCEPTED

input
875694321

correct output
875694321
694321875
321875694
756943218
943218756
...

user output
875694321
321875694
694321875
187569432
432187569
...