Here is the link to the problem :http://codeforces.com/contest/1073/problem/D
Here is the link to my submission : http://codeforces.com/contest/1073/submission/44895822
It shows TLE on test case #8.
Why does this binary search show TLE ? Problem D: Educational Codeforces Round 53 (Rated for Div. 2)
Here is the link to the problem :http://codeforces.com/contest/1073/problem/D
Here is the link to my submission : http://codeforces.com/contest/1073/submission/44895822
It shows TLE on test case #8.