685 words
3 minutes
IMO_2026_p3
2026-09-27

Problem#

Let nn be a positive integer.

Liu Bang and Xiang Yu have a stick of side length 1 and want to divide it between themselves. Liu marks at most nn points on the stick, and then Xiang marks at most nn points on the stick. The marked points are distinct. Then, the stick is cut at all marked points, creating a number of pieces. Afterwards, they take turns claiming any unclaimed piece of the stick, with Liu going first. Each player’s goal is to maximize the total length of their own pieces.

For each nn, determine the largest value of cc such that Liu may guarantee a total length of at least cc, regardless of Xiang’s play.

Solution#

As many may agree, the lower bound c≥2n2n+1−1c\ge \dfrac{2^n}{2^{n+1}-1} is quite intuitive, so I’ll leave its complete proof as a small practice. Therefore, I will focus on proving the other direction.

First, suppose the final pieces have lengths

x1≥x2≥⋯≥xk.x_1\ge x_2\ge\cdots\ge x_k.

Liu can guarantee at least x1+x3+x5+⋯x_1+x_3+x_5+\cdots by always taking a longest remaining piece.

Similarly, Xiang can guarantee at least x2+x4+x6+⋯x_2+x_4+x_6+\cdots by taking a longest remaining piece on each of his turns. Since all the lengths sum to 11, this limits Liu to at most the odd-indexed sum. So assuming optimal play, it would be:

x1+x3+x5+⋯ .x_1+x_3+x_5+\cdots.

In particular, if all the pieces can be grouped into equal-length pairs, the two players each receive 12\frac12. If there is also one unpaired piece of length zz, Liu receives 1+z2\frac{1+z}{2}. To see this, arrange equal lengths consecutively in the sorted list: each pair contributes equally to the odd- and even-indexed sums, while the unpaired piece contributes the difference zz.

Suppose Liu’s marks divide the stick into mm intervals of lengths

a1,…,am>0,∑i=1mai=1,a_1,\ldots,a_m>0,\qquad \sum_{i=1}^{m}a_i=1,

where m≤n+1m\le n+1.

If m≤nm\le n, Xiang can simply bisect every interval. This uses at most nn marks and leaves only equal-length pairs, so Liu receives at most 12\frac12.

It remains to consider m=n+1m=n+1. The nice part is that we can find two almost equal collections of intervals by looking at all 2m2^m subset sums

∑i∈Iai,I⊆{1,…,m}.\sum_{i\in I}a_i,\qquad I\subseteq\{1,\ldots,m\}.

List these sums in nondecreasing order, keeping repetitions:

0=t1≤t2≤⋯≤t2m=1.0=t_1\le t_2\le\cdots\le t_{2^m}=1.

The 2m−12^m-1 consecutive gaps sum to 11, so at least one gap has size

0≤d≤12m−1=12n+1−1.0\le d\le\frac{1}{2^m-1} =\frac{1}{2^{n+1}-1}.

Take the two distinct subsets giving this gap, and cancel their common indices. We obtain disjoint subsets P,QP,Q, not both empty, such that

∑i∈Pai−∑i∈Qai=d≥0.\sum_{i\in P}a_i-\sum_{i\in Q}a_i=d\ge0.

Now Xiang matches the intervals in PP against those in QQ. Choose one unmatched piece from each side. If their lengths are equal, pair them and set them aside. Otherwise, cut the longer one so that one part has the same length as the shorter piece, set this equal-length pair aside, and continue with the leftover part.

All these cuts can be planned before the stick is physically cut; Xiang only needs to mark the corresponding points.

When the pieces on the QQ side are exhausted, the unmatched pieces on the PP side have total length dd. If any remain, Xiang bisects all but one of them. This leaves equal-length pairs and just one unpaired piece, whose length zz satisfies

0<z≤d.0<z\le d.

If no pieces remain, put z=0z=0. Xiang also bisects each of the original intervals whose index is outside P∪QP\cup Q.

We still need to check that this construction uses at most nn new marks. Write s=∣P∣+∣Q∣s=|P|+|Q|, and suppose the matching process leaves rr unmatched pieces. Each matching step that requires a cut reduces the number of unmatched pieces by one; a step matching two equal pieces reduces it by two without a cut.

If d>0d>0, then r≥1r\ge1, so the matching process uses at most s−rs-r cuts. Bisecting all but one of the remaining pieces uses another r−1r-1 cuts, for a total of at most s−1s-1.

If d=0d=0, no unmatched pieces remain. The final matching step pairs two equal pieces without a cut, so the process uses at most s−2s-2 cuts, which is also at most s−1s-1.

Finally, the intervals outside P∪QP\cup Q require m−sm-s bisections. Therefore, the total number of new marks is at most

(s−1)+(m−s)=m−1=n.(s-1)+(m-s)=m-1=n.

Xiang has arranged all the final pieces into equal-length pairs, except possibly one piece of length z≤dz\le d. By always choosing a longest remaining piece, he can therefore limit Liu’s total to

1+z2≤1+d2≤12(1+12n+1−1)=2n2n+1−1.\begin{aligned} \frac{1+z}{2} &\le\frac{1+d}{2}\\ &\le\frac12\left(1+\frac{1}{2^{n+1}-1}\right)\\ &=\frac{2^n}{2^{n+1}-1}. \end{aligned}

This proves the upper bound.

IMO_2026_p3
https://mashiroisasleep.github.io/posts/problems/imo_2026_p3/
Author
Mashiro
Published at
2026-09-27