How to solve problem D in codeforces DIV3 round 611 using Binary search ?

Revision en1, by bully....maguire, 2019-12-29 11:57:20

In the problem tag it is mentioned that it can be solved using binary search.How to solve it using binary search ?

Tags #help, #611 div3

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English bully....maguire 2019-12-29 13:13:17 47 Tiny change: 'y search ?' -> 'y search ?\nhttps://codeforces.net/contest/1283/problem/D'
en1 English bully....maguire 2019-12-29 11:57:20 187 Initial revision (published)