Problem Link: MIX2 Problem - CodeChef
Feedback
The constraints for A[i] are < 10^6 , but the input contains A[i] > 10^6 which creates problem while solving, please look into it.
Problem Link: MIX2 Problem - CodeChef
The constraints for A[i] are < 10^6 , but the input contains A[i] > 10^6 which creates problem while solving, please look into it.