← All problemsSign in

Cheesy 7

### Problem Statement On the occasion of Cerebro, CC is organising a number game between two players A and B. Mittal, the convenor of the game, will award a Cheesy-7 Pizza to the winner of the game. In the game, player A will be given number zero when the game starts. A will add any number from 1 to $M$ to the given number and shout the result loud to pass it to B. Player B will get number

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