Advitiya
**IIT Ropar** is hosting its tech fest, *Advitiya*, on the $\textbf{16}$-th, $\textbf{17}$-th, and $\textbf{18}$-th of February. Mehul, looking for a vacation, decides to visit Ropar in the month of February. Mehul learned of *Advitiya*, and found out that there are no registration fees — even accommodation is being provided to the participants for free! Team *Advitiya* is very welcoming, s
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