← All problemsSign in

Rishi and Lust

Rishi is full of lust nowadays. Currently, he is maintaining 3 girlfriends without any of the girlfriends knowing about the other. This definitely requires a lot of management skills. Every hour Rishi, calls a girl. After talking to her for an hour, he cuts the call giving some random reason and calls the next girl. This cycle repeats every 3 hours. Now, Charan wants to know, about the girl, Ris

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