Official algorithmic problem description and constraints.
After a series of matches between Alice, Bob, and Cameron, their scores are A, B, and C, respectively.
Chef plans to organise M additional matches. In each match, two players compete, and there is exactly one winner.
The winner of the match receives one point.
Determine if it is possible for at least two players to end up with the same score after all M additional matches have been completed.
Detailed video explanations, mathematical intuition, and clean C++ implementation code.