Guessers and Thinkers
CodeChefOpen on judge ↗
Chef has his birthday today, so he invites many friends to his birthday party. On his birthday, Chef as always, makes up a game to entertain his friends. In the game of Chef, he divides his friends into two groups, 'Thinkers' and 'Guessers'. First group, Thinkers, are asked to think of a positive integer. The integer which they choose can be same. The Chef being the Birthday Boy gives a 'Specia
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