← All problemsSign in

The Trip

Adi is a famous traveller . Now a days , he is in USA and has adapted himself accordingly . When he completed is USA tour he decided to visit Europe , Adi has planned his next tour but he forgot to acknowledge that date format in Europe $(DD/MM/YYY)$ is different from USA $(MM/DD/YYYY)$. But Adi is tired of journey and you are the only friend he trusts so he calls you for help. Being a g

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