Code to replace a row and column of a zero matrix

后端 未结 0 1772
独厮守ぢ
独厮守ぢ 2021-01-04 14:22

I have a zero and ones matrix (x) of size (n x n) such that the ones make a shape like \'+\'. The lines of the plus must be present at the middle row and column. I have crea

相关标签:
回答
  • 消灭零回复
提交回复
热议问题