#Call this file inTest #Call your Sudoku Maple program file Sudoku #then, in command line, type #maple -qoTest #print out oTest and give to me read SuDoku: t1:=time(): T1:=[ [0,6,0,0,7,0,0,8,0], [5,8,0,0,2,0,0,0,3], [0,0,3,9,0,8,6,0,0], # [7,0,1,5,9,2,4,0,8], [0,0,0,3,0,6,0,0,0], [2,0,6,8,0,7,9,0,5], # [0,0,7,1,0,9,8,0,0], [3,0,0,0,6,0,0,0,4], [0,1,0,0,0,0,0,2,9] ]: print(`The Solution to the Easy Puzzle`): convert(T1,matrix); print(` is `): convert(Su(T1)[1],matrix); t1:=time()-t1: print(`It took `, t1, `second `): t2:=time(): T2:=[ [0,0,5,0,9,0,1,0,0], [1,0,0,5,0,7,0,0,0], [0,2,9,0,4,0,7,6,0], [5,0,0,2,0,3,0,0,1], [0,0,1,0,0,9,6,0,0], [4,0,0,7,0,6,0,0,8], [0,4,3,0,2,0,5,1,0], [0,0,0,9,0,5,0,0,0], [2,0,6,0,0,0,9,0,0] ]: print(`The Solution to the Medium Puzzle`): convert(T2,matrix); print(` is: `): convert(Su(T2)[1],matrix); t2:=time()-t2; print(`It took `, t2, `second `): t3:=time(): T3:=[ [7,8,0,0,6,0,5,0,0], [3,0,0,0,5,0,9,0,0], [0,0,9,4,0,0,0,6,0], [2,0,0,9,0,0,0,5,0], [0,1,0,0,0,0,0,8,0], [0,0,0,0,8,7,0,0,2], [0,9,0,0,0,1,4,0,0], [0,0,2,7,4,0,0,0,6], [0,0,6,0,9,0,0,7,0] ]: print(`The Solution to the Hard Puzzle`): convert(T3,matrix); print(`is : `): convert(Su(T3)[1],matrix); t3:=time()-t3; print(`It took `, t3, `second `): t4:=time(): T4:=[ [0,0,0,0,7,0,0,6,0], [0,0,6,0,0,0,0,2,9], [7,4,0,0,0,0,0,0,1], [0,8,0,0,4,6,0,0,0], [0,0,3,0,0,0,5,0,0], [0,0,0,5,1,0,0,3,0], [2,0,0,0,0,0,0,1,8], [6,5,0,0,0,0,3,0,0], [0,7,0,0,2,0,0,0,0] ]: print(`The Solution to the Fiendishly Hard Puzzle`): convert(T4,matrix); print(` is: `): convert(Su(T4)[1],matrix); t4:=time()-t4; print(`It took `, t4, `second `): t5:=time(): T5:= [ [6,0,0, 0,0,0, 0,0,3], [0,1,0, 0,5,0, 0,0,0], [0,0,0, 2,0,0, 4,0,0], # [0,0,4, 0,0,3, 0,0,0], [0,7,0, 0,9,0, 0,5,0], [0,0,0, 1,0,0, 6,0,0], # [0,0,3, 0,0,8, 0,0,0], [0,0,0, 0,7,0, 0,1,0], [5,0,0, 0,0,0, 0,0,2]]: print(`The Solution to the Impossible Puzzle, found in the internet by Phillip Matchett Wood `): convert(T5,matrix); print(` is: `): convert(Su(T5)[1],matrix); t5:=time()-t5; print(`It took `, t5, `second `): print(`The times were`): print([t1,t2,t3,t4,t5]): print(`The whole thing took`, time(), `seconds`): quit: