olymmath

APMO 2005 Problem 4

  • Paper
  • Answer

In a small town, there are n×nn \times n houses indexed by (i,j)(i, j) for 1≤i,j≤n1 \leq i, j \leq n with (1,1)(1,1) being the house at the top left corner, where ii and jj are the row and column indices, respectively. At time 0 , a fire breaks out at the house indexed by (1,c)(1, c), where c≤n2c \leq \frac{n}{2}. During each subsequent time interval [t,t+1][t, t+1], the fire fighters defend a house which is not yet on fire while the fire spreads to all undefended neighbors of each house which was on fire at time tt. Once a house is defended, it remains so all the time. The process ends when the fire can no longer spread. At most how many houses can be saved by the fire fighters? A house indexed by (i,j)(i, j) is a neighbor of a house indexed by (k,ℓ)(k, \ell) if ∣i−k∣+∣j−ℓ∣=1|i-k|+|j-\ell|=1.

Dataset text NuminaMath olympiads. Quoted with source.

Show the answer

n^{2}+c^{2}-n c-c

Solutions

No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

Add a solution

Locator apmo/2005/p4 · Tag 2J898RA382 · Edit this page on GitHub · Keys: j next, k previous