Help needed in Packing Rectangles (Binary Search)

Правка en1, от coder__12345, 2024-02-04 00:07:51
Accepted Code
Not Accepted Code

The only change in the two code is the value being assigned to l, when i normally implement binary search i use it like in the not accepted one but why in this problem its giving wrong answer?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский coder__12345 2024-02-04 00:12:50 95
en1 Английский coder__12345 2024-02-04 00:07:51 1141 Initial revision (published)