← All problemsSign in

Hours Left

You have only $X$ hour left for the contest you are giving right now and there are few problems yet to solve. However, you are sure that you cannot solve the problem in the remaining time. From experience, you figures out that **you needs exactly $H$ hours to solve remaining problems**. Now, you decides to use your special power which you has gained through years of meditation. You can travel bac

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