My all test cases passed but their is error in test case 6.
Run error in test case 6
Increase MAX to 10^5 in your code and then check.
My all test cases passed but their is error in test case 6.
Increase MAX to 10^5 in your code and then check.