-->
当前位置:首页 > 题库

PROGRAMMING:Filled square matrix

Luz5年前 (2021-05-10)题库444
Generate and output the following form of square matrix.
1 2 2 2 2 2 1
3 1 2 2 2 1 4
3 3 1 2 1 4 4
3 3 3 1 4 4 4
3 3 1 5 1 4 4
3 1 5 5 5 1 4
1 5 5 5 5 5 1
###Output format:
Output as shown in the title of the 7-row matrix, each number in the matrix occupies 2 column width< br>





answer:If there is no answer, please comment