Draw an X
Write a function that would fill a
square with symbols. The symbols on the main and secondary diagonals should be filled with a symbol inputted in the first line of the input, while the rest should be filled out by the symbol inputted in the second line of the input.
The program should output the filled square.
$...$ .$.$. ..$.. .$.$. $...$
Time limit: 1 seconds
Memory limit: 512 MB
Output limit: 1 MB