[Solved] What is wrong with this solution while solving JUICE on SPOJ?
It’s probably wrong when there is some segments having same start time. I run this test case with your code: 10 1 1 1 2 3 3 1 4 3 5 3 6 3 7 8 8 3 9 3 10 Your code output 10 but the answer is actually 9 I have several WA … Read more