← All problemsSign in

Stay Home

Due to the COVID-19 outbreak, everyone is advised to stay home. Some people, however, want to get out and live normally like they did. Chef has a solution to this problem, that involves solving another problem. To keep all the extroverts engaged at home, Chef has thought of a puzzle for them to solve. This puzzle involves a number, $N$, of which the extroverts need to find the second smal

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