← All problemsSign in

AFGJI Board Game Tournament

AFGJI is organizing a board game tournament with a special kind of a dice which has integer numbers from 2 to 7 written on its faces (all numbers on faces are different, so this is an almost usual dice). Manav wants to get exactly $x$ points by throwing his dice. The number of points is just a sum of numbers written at the topmost face of the dice for all the outcomes. Manav doesn't really care

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