13333 - Stewie vs Brian   

Description

Stewie and Brian are competing against each other in a game of partially filled sudoku. 

The one who finishes it first wins.

Stewie can finish a 9x9 sudoku in 3 minutes.

Help Brian build a program so he can finish it before stewie.

Example of a solved sudoku:

Input

9x9 2d array with numbers ranging from 0 to 9

the 0 represents blank needed to be filled

 

Output

solved 9x9 sudoku 

or if there's no solution

output "no solution\n"

Sample Input  Download

Sample Output  Download

Tags




Discuss