← All problemsSign in

Cheems The Lover

You have a dog named Cheems. He also has a girlfriend Cheema. For Valentines Day, Cheems want to gift something to Cheema. He decided to give her a series of blocks painted with Cheema’s photos. But he can only paint in steps. In $i^{th}$ step, he will paint one block and move $i$ blocks forward. ( $i$ starts from 1 ). For eg, if he starts with first block, he will paint the following bl

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