Help with atcoder problem D (Cake 123)

Revision en2, by MasterMind, 2019-07-09 21:11:58

Hi there,

I need help in understanding the editorial of this Problem

The Editorial written in Japanese mentioned 4 methods to solve the problem which I translated using google translator and I managed to understand the first two methods. The last method mention Binary search, I am interested in a the binary search solution.

Anyone can shed some light on this would be really helpful.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English MasterMind 2019-07-09 21:11:58 34
en1 English MasterMind 2019-07-09 21:01:19 538 Initial revision (published)