shunfurh
编程介的小学生
2017-09-22 22:48

Fill the blanks

  • 91
  • it
  • matrix

Problem Description
There is a matrix of 4*4, you should fill it with digits 0 – 9, and you should follow the rules in the following picture:

Input
No input.

Output
Print all the matrixs that fits the rules in the picture.
And there is a blank line between the every two matrixs.

Sample Output
1193
1009
9221
3191

1193
1021
9029
3911

……

9173
1559
3821
3391

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答