Adding fuction to edit numbers on diagonal in 2d array

前端 未结 0 1947
Happy的楠姐
Happy的楠姐 2021-01-02 22:06

I have a problem with making fuction to find a number in 2d array to edit numbers in main diagonal to 1 and add this number to all numbers in the line. Like 2d array is:

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