Friends Reunion
CodeChefOpen on judge ↗
Ram has $N$ number of friends, numbered from $1$ to $N$ , some of them are from his college,school and coaching etc.As the semester has ended they have decided to catch up.Ram’s friends are from different groups. He wants to meet each of the friend groups for 1 day .But he is busy with some projects , so he is having a limited number of free days $D$. Since you are a good friend of Ram , he as
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