← All problemsSign in

Help in beating Dynamo

Dynamo was playing in a custom room with his fans. He lands in pochinki and spots $n$ players moving into different buildings. He notes the position of each player according to his/her building number. The building no is increasing according to distance. Now Dynamo being a pro player will kill all his fans easily but he wants all his fans to come to him and try to kill him. Now if two or more play

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