https://codeforces.com/contest/1574/submission/129708228 whats wrong with this code can't know the edge case so, not able to know what is wrong.
https://codeforces.com/contest/1574/submission/129708228 whats wrong with this code can't know the edge case so, not able to know what is wrong.
The test case is 1 4 4 3
How did you know .. that's wow.... Thank You
Method to find such counterexamples: