← All problemsSign in

Ashritha and her Event

Ashritha is an enthusiastic and efficient event manager who is also a fan of Number Theory and Maths in general. The RWA committee of her locality in Bangalore tasked her with organizing an annual gathering of its members. In order to make the event interesting she decided to assign each guest an ID (a number which may or may not be unique). This number was assigned before the event and only the

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