Most efficient way to check if limited 2D array can form diagonal line

后端 未结 0 537
日久生厌
日久生厌 2020-12-10 05:04

Let\'s say i have such data structure

    int arr[3][3] = {
        {1, 1},
        {1, 2},
        {0, 2}
};

where first number inside inner

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