The Add Game
CodeChefOpen on judge ↗
Avishek’s girlfriend Shovona is very fond of numbers and mathematics. She expects her boyfriend to know at least basic mathematics and decides to put Avishek to test by giving him the task of finding the final result of a game that she has developed called the Add Game. The game proceeds as follows: There are two Players, Player 1 and Player 2 involved in the game. Player 1 starts with an in
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