PUMaC 2007 · 组合(A 组) · 第 7 题
PUMaC 2007 — Combinatorics (Division A) — Problem 7
题目详情
在 方格中,一些格子涂黑,其余为白色。每个白格都必须沿边邻接棋盘边界或某个黑格。求黑格最少数量。
英文原题
In a table, some squares are black and the rest white. Each white square is adjacent along an edge either to the edge of the table or to a black square. Find the minimum number of black squares.
解析
只有内部 的格子需要被黑格支配;边界上的白格已经邻接棋盘边界。一个黑格最多覆盖自身以及四个沿边相邻的内部格。
7 个黑格可以做到,例如在内部 棋盘坐标
处放黑格,可覆盖全部内部格。
下界也是 7:对内部五行做逐行支配检查,若黑格数不超过 6,则在逐行传递上一行可覆盖状态后,没有任何终态能覆盖全部 内部格。因此 6 个或更少不可能。
所以最小值为
英文解析
Only the inner squares need to be dominated; boundary white squares already touch the edge of the table. A black square covers itself and its four edge-neighbors among these inner squares.
Seven black squares suffice, for example at coordinates
inside the inner board. These cover every inner square.
A lower bound of follows by a short domination check on the five inner rows: with at most six black squares, at least one of the required inner-row coverage patterns is impossible after propagating the allowed coverage from the previous row. Equivalently, dynamic domination over the five rows has no feasible terminal state with six or fewer black squares.
Therefore the minimum is