Chef and Matching Game

https://www.codechef.com/JAN19B/problems/MATCHIT

The link is the question for an on going contest on codechef
Im not able to understand the question or the example
could anyone kindly explain the question along with the example.
Im not asking for any hints/solutions , just the explaination of the quest
since its unclear to me.
Thank You.
it is quite clear you have to pair up points into m pairs such that the sum of cost of travelling with a pair is maximum.
Topic archived. No new replies allowed.