← All problemsSign in

Get a Clue

CodeChefRating 2442Open on judge ↗

A group of 5 logicians are playing a game of Clue (also known as Cluedo). The game is played with 18 cards: 6 "suspect" cards, 6 "weapon" cards, and 6 "room" cards (the original game has 9 room cards, but the logicians have removed 3 in order for everyone to receive the same number of cards). At the beginning of the game, 1 of each type of card is chosen at random and placed in an envelope, whose

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