Norris and his Math Problem
CodeChefOpen on judge ↗
Norris is a teenage racing driver who is practicing for his maths exam which is in a few days. But he encounters a question which is troubling him and he can't solve it. You are his friend carlos, and your job is to help him solve that question, so he can easily pass the exam and continue with his racing career by your side. The question was stated as; If you are given a natural number $N$, the
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.
Sign in to chat with the tutor and save your progress.
Sign in to start