检查二维数组中的列

时间:2021-11-23 21:31:28

i want to check only columns in a 8x8 array.is it require two for loop or only one for loop.

我想只检查8x8数组中的列。它需要两个for循环或只需要一个for循环。

1 个解决方案

#1


0  

If you want to check one column you need one loop, if you want to check N columns you need two nested loops.

如果要检查一列,则需要一个循环,如果要检查N列,则需要两个嵌套循环。

#1


0  

If you want to check one column you need one loop, if you want to check N columns you need two nested loops.

如果要检查一列,则需要一个循环,如果要检查N列,则需要两个嵌套循环。