← All problemsSign in

Hedwig The Smart Bird

CodeChefRating 2353Open on judge ↗

"Right smart bird you got there, Mr. Potter. She arrived here just five minutes before yourself." - Tom Hedwig is not only a smart owl, but she is charming as well. Haron likes her very much and has asked her out. Alas, Hedwig is too busy delivering mails and needs Haron to wait for some time. But, she knows Haron would get really bored alone. Hence, she has asked you to play with him. As soon 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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start