Minimum difference

Revision en1, by coder_at2, 2025-03-29 18:33:38

Given N tiles of given width and height, we have to select K out of it, we need to minimise the maximum of the difference between any two tiles selected, the difference between any two tiles is defined as the maximum of the height difference and width difference.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English coder_at2 2025-03-29 18:33:38 281 Initial revision (published)