返回题库

AIME 2026 I · 第 11 题

AIME 2026 I — Problem 11

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

The integers from 11 to 6464 are placed in some order into an 8×88\times8 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 jj, 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).M=\sum^8_{i=1}\sum^7_{j=1}(|a_{i,j+1}-a_{i,j}|+|a_{j+1,i}-a_{j,i}|). Find the remainder when the maximum possible value of MM is divided by 10001000.

解析

Solution 1

As a general intuition, we want larger numbers to be next to smaller numbers (and vice versa) to maximize this sum. The best way to do this is in a checkerboard pattern, so that all numbers in the lower half are next to higher numbers.

We then split the numbers into two sets: Small numbers {1,2,32}\{1,2,\dots32\} and large numbers {33,34,64}\{33,34,\dots 64\} (note that all large numbers are greater than all small numbers). We wish to determine where to put these numbers to maximize the differences.

We now examine this problem from a local view: Suppose we have large numbers, A,BA,B and small numbers a,b,cha,b,c\dots h such that AA is surrounded by a,b,c,da,b,c,d and BB is surrounded by e,f,g,he,f,g,h. Then the sum of the differences with A,BA,B is 4A(a+b+c+d)+4B(e+f+g+h)4A-(a+b+c+d)+4B-(e+f+g+h).

Notice that if we swap AA with BB, the sum is 4B(a+b+c+d)+4A(e+f+g+h)4B-(a+b+c+d)+4A-(e+f+g+h) which is the same. The same logic goes for if a small number is surrounded by larger numbers. Therefore, the key observation is that swapping two numbers that are surrounded by the same amount of numbers yields the same sum.

However, if AA is only surrounded by a,b,ca,b,c (as it would be if it was in an edge position), while BB is surrounded by e,f,g,he,f,g,h, then the initial sum would be 3A(a+b+c)+4B(e+f+g+h)3A-(a+b+c)+4B-(e+f+g+h), while swapping AA and BB would yield the different sum 3B(a+b+c)+4A(e+f+g+h)3B-(a+b+c)+4A-(e+f+g+h).

As we wish to maximize the sum, we want the greater number to have a coefficient of 44, and therefore we want the greater extremes (e.g. 1 and 64) to be bordering four numbers, with the rest being at the edges.

With this intuition, we may see that the best arrangement is in the aforementioned checkerboard formation, with 31,32,33,3431,32,33,34 being in the corners, 19,20,3019,20,\dots30 and 35,364635,36\dots46 being on the edges, and the rest 1,2,181,2,\dots18 and 47,48,6447,48,\dots64 being in the middle.

We now calculate the sum for this which is

4((47+48++64)(1+2++18))+3((35+36++46)(19+20++30))+2((33+34)(31+32))=3896.4((47+48+\dots+64)-(1+2+\dots+18))+3((35+36+\dots+46)-(19+20+\dots+30))+2((33+34)-(31+32))=3896. The requested remainder is 896\boxed{896}.

~SilverRush

It isn't correct.

~metrixgo

fixed it, ty

~SilverRush

Solution 2

Like in Solution 1, make a checkerboard pattern with the numbers {1,2,,32}\{1, 2, \dots, 32\} in the dark squares and {33,34,,64}\{33, 34, \dots, 64\} in the light squares. Now, place 32.532.5 on every line between adjacent squares. The absolute difference between any two adjacent squares is the sum of the difference between the first square and 32.532.5 and the difference between 32.532.5 and the second square. So, we can decompose our sum as

x=164x32.5#neighbors of x.\sum_{x = 1}^{64} |x - 32.5| \cdot \#\text{neighbors of }x. Most squares have 44 neighbors, but squares on the edges have 33 neighbors, and squares in the corners have 22. Clearly, then, we want to put the numbers closest to 32.532.5 in the corners and edges. There are 44 corner squares, 2424 edge squares, and 3636 squares in the middle.

Let's put {31,32,33,34}\{31, 32, 33, 34\} in the corners, and {19,20,,30}{35,36,,46}\{19, 20, \dots, 30\} \cup \{35, 36, \dots, 46\} along the edges. The remaining numbers {1,2,,18}{47,48,,64}\{1, 2, \dots, 18\} \cup \{47, 48, \dots, 64\} go in the middle.

The average distance of the corner numbers from 32.532.5 is 11. The average distance of the edge numbers from 32.532.5 is 88. The average distance of the middle numbers from 32.532.5 is 2323. This gives us a total of

36234+2483+412=3896,36 \cdot 23 \cdot 4 + 24 \cdot 8 \cdot 3 + 4 \cdot 1 \cdot 2 = 3896, giving an answer of 896\boxed{896}.

Video Solution

2026 AIME I #11

By piacademyus.org