Binary Search way to do this problem

Правка en1, от Virtual_Contestant, 2020-07-06 15:50:44

I have solved this problem but I wonder how to do this using binary search i do have one idea but i am a bit lazy to implement that because i also think that might TLE. Can you guys please help me in this. https://codeforces.me/contest/1203/problem/D2

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Virtual_Contestant 2020-07-06 15:50:44 290 Initial revision (published)