#Pr152. Map point——地图点位
Map point——地图点位
Statement
Given a matrix representing the terrain height map of the area, mark all points with a height greater than in the area using the character 'X' (ASCII: 88), and then output the processed height map, with spaces separating columns For example, for the matrix below, if we label and output the regions where the value is greater than , it should be like this:
$$ \begin{bmatrix} 10 & 8 & 7 & 2\\ 0 & 2 & 5 & 9\\ 3 & 12 & 3 & 4\\ 12 & 6 & 3 & 2\\ 6 & 1 & 3 & 5 \end{bmatrix}\longrightarrow \begin{bmatrix} X & X & X & 2\\ 0 & 2 & 5 & X\\ 3 & X & 3 & 4\\ X & X & 3 & 2\\ X & 1 & 3 & 5 \end{bmatrix} $$Input
The first line gives three integers representing the matrix region, where denotes the height assigned to the aforementioned region.
Next, there are lines, with each line containing integers () representing the height of the corresponding region.
Output
Output the map style given according to the intention of the question.
Samples
3 3 5
10 8 7 2
0 2 5 9
3 12 3 4
12 6 3 2
6 1 3 5
X X X 2
0 2 5 X
3 X 3 4
X X 3 2
X 1 3 5