2024 AMC 10A 第 6 题

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

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

6.

将字符串 ABCDEF 变成 FEDCBA,最少需要多少次连续交换相邻字母?
例如,将 ABC 变成 CBA 需要 33 次交换;一种交换序列是 ABC →\to BAC →\to BCA →\to CBA。
What is the minimum number of successive swaps of adjacent letters in the string ABCDEF that are needed to change the string to FEDCBA?
(For example, 33 swaps are required to change ABC to CBA; one such sequence of swaps is ABC →\to BAC →\to BCA →\to CBA.)
66
1010
1212
1515
2424
答案:D
知识点:排列数对计数不变量
小提示:
每次相邻交换只改变一对字母的相对顺序。
Each adjacent swap changes the relative order of exactly one pair of letters
大提示:
完全反转后,每一对字母的相对顺序都颠倒;数一数 (62)\binom{6}{2} 对。
In the fully reversed string every pair of letters is out of order; count the pairs with (62)\binom{6}{2}
解答:
反转六个字母会颠倒每一对字母的相对顺序,所以共有 (62)=15\binom{6}{2} = 15 对字母变成逆序。每次相邻交换只改变一个逆序对数,所以至少需要 1515 次。逐个把字母冒泡到正确位置可以正好用 1515 次完成,因此这个下界可以达到,正确答案是 D。
Reversing all six letters flips the relative order of every pair, so all (62)=15\binom{6}{2} = 15 pairs end up inverted. Each adjacent swap fixes exactly one inversion. So we need at least 1515 swaps, and bubbling each letter into place hits 1515 exactly. Therefore, the answer is D.
LIVE by Po-Shen Loh
LIVE项目

LIVE直播课程

Self-Paced录播课程

启明星Star计划

奖学金项目

关于我们

罗博深是谁?

邮件联系

订阅英文简报

加入我们

申请明星导师

For a more Thought Full world.

© 2026 Expii, Inc.