← All problemsSign in

ShahofBlah ki Madad

ShahOfBlah is a student of Blah Senior Secondary School. Sadly, as usual, he was given holiday homework by his teachers. But his Maths teacher being very impressed by him gave him some advanced topics in Maths to study during holidays. He spent day and night studying those topics to impress his teacher. Now, holidays are over and his teacher gave him a question to solve. After seeing the question,

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