https://www.codechef.com/viewsolution/24345888
We have to use binary search for getting l1,r1,l2 and r2…but still I am getting WA after implementing binary search…Would you please help me with this?
Problem link: BLINE Problem - CodeChef
The implementation of binary search is not correct.
Debug on this case BWB
And don’t use cin.tie(0); cout.tie(0);
in interactive problems.
1 Like