Answer to the test case

I have N integers i need to tell the number of ways to pair up these numbers into N/2 groups. Each number wants to get paired up with maximum number possible. N is always even.

can anybody tell me the ans for test case when N=5 and numbers are 2 2 2 2 2?

I am having problem in understanding the problem?

link to the problem...https://www.codechef.com/SNCKQL19/problems/TEAMMATE

pls help
Hello niceman,

I hate to tell you this, but as a "codechef" problem you are not going to get much help.

MikeyBoy once wrote:
If this is a Codechef problem, you should know that the Codechef adjudicators are aware of this forum, and that people use it to cheat on their contests. If you use this forum to try and cheat, you run the risk of being disqualified.

Also the person that helps you can have problems too.

Andy
As far as I know Codechef can't get anything other than our useless ID's and emails...and as far as cheating is concerned their question statement is very unclear and I am not asking for solution but just to expain me a test case
Hello niceman,

I do not know what CodeChef can or can not do , but I do not really want to be the first to find out.

I wish I could help you with the instructions, but even I have trouble understanding them. Some of what they say is beyond what I know especially when it comes to math.

Andy
N is always even so how can it be 5? let it be 6
so, 2 2 2 2 2 2
Total number of ways will be 15.
You just need to find the possible number of ways in which you can pair them.
Topic archived. No new replies allowed.