← All problemsSign in

The Party Arrangement Theory

After years of hardwork, Sheldon finally came out with the result of how different particles are arranged in the universe. To celebrate his success he calls a party. In the party to make others realize how big his experiment was he conducts a small experiment, he gives 'K' peoples in the party 'K' different coloured nims and asks them to put odd number of nim in the sequence then one out of the re

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start