← All problemsSign in

Sums

Oj is a mischievous yet brilliant student of his class. Due to his mischievous activities, one day his maths teacher got fed up and challenged him to do few math problems. Oj, still being a pro student solved all questions from topics of calculus, matrices and equations but wasn't able to solve one question. The question asked to find the sum of all integers i from 1 to N such that 2i+1 is divisib

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