Got WA in The Smallest Pair

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

Did you forget to print the '\n' character after each test case?

1 Like

yes exactly :smiley: