← All problemsSign in

Casino craps

Casino craps (or Banks craps), a dice game, is one of the most exciting casino games. To begin, the shooter (one of the players) is presented with multiple dice (normally five) by the stickman, and must choose two to roll with. The remaining dice are returned to the stickman’s bowl and are not used. Consider a shooter rolling a dice, if the sum of the two dice is even, he will win a cash prize wo

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