PROGRAMMING:Sudoku game

###Input format:
**The input test file will contain multiple cases. Each test case consists of a single line containing 81 characters, which represent the 81 squares of the Sudoku grid, given one row at a time. Each character is either a digit (from 1 to 9) or a period (used to indicate an unfilled square). You may assume that each puzzle in the input will have exactly one solution. The end-of-file is denoted by a single line containing the word “end”.**
*Note: there is a large amount of input data in this question. CIN and getline may time out. Scanf is recommended*
###Output format:
**For each test case, print a line representing the completed Sudoku puzzle.**
###Input example:
Here is a set of inputs. For example:
```in
.2738..1..1...6735.......293.5692.8...........6.1745.364.......9518...7..8..6534.
......52..8.4......3...9...5.1...6..2..7........3.....6...1..........7.4.......3.
end
```
###Output example:
The corresponding output is given here. For example:
```out
527389416819426735436751829375692184194538267268174593643217958951843672782965341
***
```
answer:If there is no answer, please comment
###Input format:
**The input test file will contain multiple cases. Each test case consists of a single line containing 81 characters, which represent the 81 squares of the Sudoku grid, given one row at a time. Each character is either a digit (from 1 to 9) or a period (used to indicate an unfilled square). You may assume that each puzzle in the input will have exactly one solution. The end-of-file is denoted by a single line containing the word “end”.**
*Note: there is a large amount of input data in this question. CIN and getline may time out. Scanf is recommended*
###Output format:
**For each test case, print a line representing the completed Sudoku puzzle.**
###Input example:
Here is a set of inputs. For example:
```in
.2738..1..1...6735.......293.5692.8...........6.1745.364.......9518...7..8..6534.
......52..8.4......3...9...5.1...6..2..7........3.....6...1..........7.4.......3.
end
```
###Output example:
The corresponding output is given here. For example:
```out
527389416819426735436751829375692184194538267268174593643217958951843672782965341
***
```
answer:If there is no answer, please comment