Special Game
CodeChefOpen on judge ↗
There is a group of $N$ people. They have special rules for a special game : - There can be $M$ number of teams in a single match. - In each team, there are exactly $N/M$ players. They all want to play the game and they also want to oppose every other member of the group at least once. They can form a team of any possibility. Can you find the minimum number of matches they have to play? ###In
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start