2026 AIME I 第 11 题

先试着解答 2026 AIME I 第 11 题,然后核对你的答案与精心整理的解答,解答来自 LIVE by Po-Shen Loh。你也可以参加完整限时模拟考试、查看全部 2026 AIME I 解答,或核对答案

所有题目均经美国数学协会(MAA)官方合法授权使用。

11.

将整数 116464 以某种顺序填入一个 8×88 \times 8 方格中,每个格子填一个数。令 ai,ja_{i,j} 为第 ii 行第 jj 列格子中的数,令 MM 为相邻格子之间差的绝对值之和,也就是说, 求 MM 的最大可能值除以 10001000 的余数。 M=i=18j=17(ai,j+1ai,j+aj+1,iaj,i). \begin{aligned} M = \sum_{i=1}^{8} \sum_{j=1}^{7} \big(&|a_{i,j+1} - a_{i,j}| \\ &{}+ |a_{j+1,i} - a_{j,i}|\big). \end{aligned}

The integers from 11 to 6464 are placed in some order into an 8×88 \times 8 grid of cells with one number in each cell. Let ai,ja_{i,j} be the number placed in the cell in row ii and column j,j, and let MM be the sum of the absolute differences between adjacent cells. That is, M=i=18j=17(ai,j+1ai,j+aj+1,iaj,i). \begin{aligned} M = \sum_{i=1}^{8} \sum_{j=1}^{7} \big(&|a_{i,j+1} - a_{i,j}| \\ &{}+ |a_{j+1,i} - a_{j,i}|\big). \end{aligned} Find the remainder when the maximum possible value of MM is divided by 1000.1000.

答案:896
知识点:最优化绝对值极端原理
难度评级:3160
解答:

将方格看作图,其 112112 条边连接相邻格子。每条边都把较大端点的值正向贡献一次、较小端点的值负向贡献一次,所以 M=vcvavM = \sum_v c_v a_v,其中 ava_v 是格子 vv 中的数,cvc_vvv 的邻居中数值更小的个数减去数值更大的个数。于是 cvdeg(v)|c_v| \le \deg(v)。内部 3636 个格子的度数为 44,边上非角的 2424 个格子的度数为 3344 个角的度数为 22,且 vcv=0\sum_v c_v = 0,因为每条边贡献 +1+11-1

由于 vcv=0\sum_v c_v = 0, 由重排不等式,上式在如下配对时最大:把离 652\frac{65}{2} 最远的 3636 个数 (即 11181847476464,偏差总和为 828828)配给内部格子; 把接下来的 2424 个数(1919303035354646,总和为 192192)配给边上格子; 把 31313434(总和为 44)配给角。因此 M4828+3192+24M \le 4 \cdot 828 + 3 \cdot 192 + 2 \cdot 4 =3896= 3896M=vcv(av652)vdeg(v)av652. \begin{aligned} M &= \sum_v c_v \left(a_v - \tfrac{65}{2}\right) \\ &\le \sum_v \deg(v)\left|a_v - \tfrac{65}{2}\right|. \end{aligned}

等号要求每个填入至多 3232 的格子都小于它的所有邻居,而每个填入至少 3333 的格子都大于 它的所有邻居,棋盘式放置可以做到:把 113232 放在黑格中(111818 放内部黑格、 19193030 放边上黑格、31313232 放黑色角),把 33336464 放在白格中 (33333434 放角、35354646 放边上、47476464 放内部)。这样每对相邻格子 都是白格大于黑格,所以 M=3896M = 3896,答案为 3896mod1000=8963896 \bmod 1000 = 896

View the grid as a graph whose 112112 edges join adjacent cells. Each edge contributes its larger endpoint value positively and its smaller one negatively, so M=vcvav,M = \sum_v c_v a_v, where ava_v is the entry in cell vv and cvc_v is the number of neighbors of vv with smaller entries minus the number with larger entries. Then cvdeg(v),|c_v| \le \deg(v), which is 44 for the 3636 interior cells, 33 for the 2424 edge cells, and 22 for the 44 corners, and vcv=0\sum_v c_v = 0 since each edge contributes +1+1 and 1.-1.

Because vcv=0,\sum_v c_v = 0, M=vcv(av652)vdeg(v)av652. \begin{aligned} M &= \sum_v c_v \left(a_v - \tfrac{65}{2}\right) \\ &\le \sum_v \deg(v)\left|a_v - \tfrac{65}{2}\right|. \end{aligned} By the rearrangement inequality this is maximized by pairing the 3636 values farthest from 652\frac{65}{2} (namely 111818 and 474764,64, whose deviations total 828828) with the interior cells, the next 2424 values (19193030 and 353546,46, totaling 192192) with the edge cells, and 31313434 (totaling 44) with the corners. Hence M4828+3192+24M \le 4 \cdot 828 + 3 \cdot 192 + 2 \cdot 4 =3896.= 3896.

Equality requires every cell holding a value at most 3232 to be smaller than all its neighbors and every value at least 3333 to be larger, which a checkerboard achieves: put 113232 on the black cells (111818 on interior blacks, 19193030 on edge blacks, 31313232 on black corners) and 33336464 on the white cells (33333434 on corners, 35354646 on edges, 47476464 in the interior). Every neighbor pair then compares white over black, so M=3896,M = 3896, and the answer is 3896mod1000=896.3896 \bmod 1000 = 896.

← 第 10 题#10
完整试卷

其他年份的第 11 题