QUESTION LINK: https://www.codechef.com/LTIME75B/problems/EID2
MY SOLUTION LINK: https://www.codechef.com/viewsolution/26183817
Can someone help here please. I have used the logic that if the two structure arrays one sorted by age and the other sorted by cost(eidi) , are element wise same, then the distribution should be fair else not. All given test cases gives correct output ,But where i am getting wrong on submission?