The Time Stone
CodeChefOpen on judge ↗
On TITAN, Iron Man and Thanos are fighting for the Time Stone, Dr. Strange is busy defending himself from the Mad Titan, Spiderman has a idea of tricking thanos with a board game, he suggests Tony to play Game of Stones with Thanos, Tony likes the idea and challenges Thanos in playing a board game with a starting number of stones. Thanos being very cunning , firstly denies Tony's proposition as he
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