Unbale to find the error


i am unbale to find the error, passing for one test case and filing for other

@akshatkaush You cannot store those big values in long long int in C++. You first binary search with l=0, and r=10^8.
THen while multiplying each time check if the value crosses the mid value then do binary search on it.

@akshatkaush You can have a look at this for reference https://ide.codingblocks.com/s/249420