Print resultant matrix with the minimum values of KxK sub - matrix
for ( int i = 0 ; i < res . GetLength ( 0 ) ; i ++ ) { for ( int j = 0 ; j < res . GetLength ( 1 ) ; j ++ ) { Console . Write ( res [ i , j ] + " ▁ " ) ; } Console . WriteLine ( ) ; } }