CSES - Putka Open 2015 – 2/6 - Results
Submission details
Task:Sudoku
Sender:
Submission time:2015-08-16 20:13:04 +0300
Language:Python3
Status:READY
Result:100
Feedback
groupverdictscore
#1ACCEPTED100
Test results
testverdicttime
#1ACCEPTED0.07 sdetails
#2ACCEPTED0.07 sdetails
#3ACCEPTED0.10 sdetails
#4ACCEPTED0.08 sdetails
#5ACCEPTED0.08 sdetails

Code

malli="""137692548
648513729
952478613
871349256
295867134
364251897
589136472
423785961
716924385"""

line=input()
m={}
m['1']=line[0]
m['3']=line[1]
m['7']=line[2]
m['6']=line[3]
m['9']=line[4]
m['2']=line[5]
m['5']=line[6]
m['4']=line[7]
m['8']=line[8]
m['\n']='\n'

for c in malli:
    print(m[c],end='')

Test details

Test 1

Verdict: ACCEPTED

input
592836471

correct output
592836471
836471592
471592836
928364715
364715928
...

user output
592836471
871459263
346721859
125973648
634182597
...

Test 2

Verdict: ACCEPTED

input
672935418

correct output
672935418
935418672
418672935
729354186
354186729
...

user output
672935418
918467253
345128967
826713549
534892671
...

Test 3

Verdict: ACCEPTED

input
329174658

correct output
329174658
174658329
658329174
291746583
746583291
...

user output
329174658
158632947
764598132
893257461
476819325
...

Test 4

Verdict: ACCEPTED

input
376958421

correct output
376958421
958421376
421376958
769584213
584213769
...

user output
376958421
921437685
548261937
163725849
854196372
...

Test 5

Verdict: ACCEPTED

input
875694321

correct output
875694321
694321875
321875694
756943218
943218756
...

user output
875694321
621387549
934251687
158729436
493165872
...