Calculating the minimum answer for the rectangles with width equal to n and length less than m for finding the cut point for the minimum answer
horizontal_min = min ( minimumSquare ( i , n ) + minimumSquare ( m - i , n ) , horizontal_min ) ; } for ( int j = 1 ; j <= n / 2 ; j ++ ) {