Probability Computation in a Circular Card Elimination Game
Problem Description
N participants sit in a circle playing an elimination game. Initially, each player is assigned a clockwise number from 1 to N. In the first round, player 1 serves as the dealer. Each round, the dealer randomly draws a card with equal probability from a deck of M cards. If the drawn card shows number X, the dealer reveals it, ...
Posted on Wed, 02 Sep 2026 16:51:37 +0000 by blues
SGU 132 - Another Chocolate Maniac
Given an $n \times m$ grid where each cell is either empty (.) or blocked (*), place the minimum number of $1 \times 2$ or $2 \times 1$ dominoes such that no two adjacent empty cells remain — i.e., it's impossible to place any additional domino.
Constraints: $1 \leq n \leq 70$, $1 \leq m \leq 7$.
Due to the small value of $m$, a dynamic program ...
Posted on Tue, 28 Jul 2026 16:01:51 +0000 by ultrus