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 

If there's no solution, printt "no solution\n"

Sample Input  Download

Sample Output  Download

Tags




Discuss