Permanent Pain(ts)
CodeChefOpen on judge ↗
"Galti pe toh insaan bhi maaf kar deta hai aur mai toh bhagwan hu." -Mikesh Chaudhary (Long- distance boyfriend turned Permanent roomate) Mikesh is coming to India from the States, to surprise his long distance girlfriend Tanya on the Valentine's Day. He wants to propose her for marriage but Tanya refuses his proposal as she has no plans of marrying so soon. She, being a PhD in Mathematics tells
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