Handshakes
CodeChefOpen on judge ↗
Sapphire is in the most hysterical mood and is keen on exercising the sparks of his excitement on the guests he has invited on his 12th marriage anniversary. He manages to engage them in a challenge, demanding that they need to get known to each other by means of amiable handshakes, which appears as the best way to commence an interaction among his large number of guests. The guests are $N$ in nu
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