TORONTO KIDS COMPUTER CLUB | PMCA Sunday 12:00 Java Homework 20.03.29.
17307
post-template-default,single,single-post,postid-17307,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

PMCA Sunday 12:00 Java Homework 20.03.29.

02 Apr PMCA Sunday 12:00 Java Homework 20.03.29.

Question:

Continue with the code we did in the class and try to solve a mini sudoku. The rules of the mini sudoku are as below

  1. No two same numbers can be in the same row and column
  2. Only numbers 1,2,3,4 are allowed
  3. Each row and column should all numbers 1,2,3,4

(dash means empty cell)

Input

1
-
3
-
-
-
2
1
0
1
-
2
2
4
-
-

Output

1
2
3
4
4
3
2
1
3
1
4
2
2
4
1
3
No Comments

Sorry, the comment form is closed at this time.