Explanation needed in chef and wedding arrangments (CHEFWED)

I was confused with the problem statement. can you please explain to me with this test case

12 2
5 5 5 1 2 2 3 4 4 5 1 1

Please don’t discuss Problems from ongoing Contests on the forums, even in general terms.

You can use the “Comments” section of the Problem for asking for clarifications etc about Problem Statements if anything is unclear/ ambiguous :slight_smile: Note that it might take several hours to get a reply, so please be patient!

Closing this thread.

1 Like