Problem J. Let Sudoku Rotate

HDU - 6341