Print resultant matrix with the minimum values of KxK sub - matrix
for ( int i = 0 ; i < res . length ; i ++ ) { for ( int j = 0 ; j < res [ 0 ] . length ; j ++ ) { System . out . print ( res [ i ] [ j ] + " ▁ " ) ; } System . out . println ( ) ; } }