How can this be solved using Binary Serach?

My mind is not able to absorb and undestand the greedy approach given in the editorial of the problem Chefland and Electricity…

Can this problem be solved using Binary Search,like agreesive cows problem ???
Or someone can suggest other method …

Problem Link :Contest Page | CodeChef

If you’re stuck, you can go through this problem (I guess it’s a similar one).

https://www.codechef.com/JUNE21B/problems/SHROUTE

This is also greedy (with a bit of DP). If you need help, we can discuss about the approaches.

Why would you bother with binary search? The solution can be found in a single, simple loop as in Solution: 49421648 | CodeChef