I applied quick sort and added the first two integer of that particular sorted array but still I got WA. I am stuck here, please provide some hint.
Problem Statement : https://www.codechef.com/LP1TO204/submit/SMPAIR
My Solution : https://www.codechef.com/viewsolution/67077425