← All problemsSign in

Codathon

Nitesh recently discovered a new game CODATHON with the help of a very intelligent alien friend Jupiter. In this game a student had various challenges and each challenge had infinite number of problems. The scoring system in this game was quite different. There are 2 ways of scoring on a given problem: - If you are in the first 200 to submit solution you get +a points, - In all other cases you

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