my solution is giving the wrong answer to The Treasure of The Segments please help me finding the test case where my solution is wrong?
solution link — https://mirror.codeforces.com/contest/1462/submission/101416335.
thanks in advance.
my solution is giving the wrong answer to The Treasure of The Segments please help me finding the test case where my solution is wrong?
solution link — https://mirror.codeforces.com/contest/1462/submission/101416335.
thanks in advance.
problem link: https://www.codechef.com/problems/ECJAN20I my solution : https://www.codechef.com/viewsolution/29822647
thanks in advance .