版本比较
SM 2025 赛季模拟赛
标题
增加 1 行删除 1 行
11AC 自动机学习笔记SM 2025 赛季模拟赛正文
增加 63 行删除 34 行
1212345 行未改动101112131614151617182122192021222324252627283129303132333634353637384139404142434644454647485149505152535654555657586159606162636664656667687169707172737674757677788179808182838684858687889189909192939694959697981019910010110210310610410510610710811110911011111211311611411511611711812111912012112212312612412512612712813112913013113213344 行未改动1781791801811841821831841851866 行未改动193194195196199200201202197198199200201204205202203204207205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246AC 自动机(Aho-Corasick Automaton)是一种多模式字符串匹配算法,它结合了字典树(Trie)和 KMP 算法的思想,能够在一个文本中同时高效地匹配多个模式串,时间复杂度接近线性(O (文本长度 + 所有模式串长度 + 匹配结果总数))。
### 模拟赛 1**T1****T2****[T3](https://www.luogu.com.cn/problem/P10681)**5 行未改动**[T4](https://www.luogu.com.cn/problem/P10208)**### 模拟赛 3**[T1](https://www.luogu.com.cn/problem/CF1497D)****T2****[T3](https://www.luogu.com.cn/problem/P12576)** **[T3](https://www.luogu.com.cn/problem/P12576)****[T4](https://www.luogu.com.cn/problem/P12445)**### 模拟赛 4**T1****[T2](https://www.luogu.com.cn/problem/CF1975D)****T3** **T4****T3****[T4](https://www.luogu.com.cn/problem/P11516)**### 模拟赛 5**[T1](https://www.luogu.com.cn/problem/P11662)****[T2](https://www.luogu.com.cn/problem/P12576)****[T3](https://www.luogu.com.cn/problem/P11986)****T4**### 模拟赛 6**[T1](https://www.luogu.com.cn/problem/AT_abc302_g)****T2****T3** **T3****[T4](https://www.luogu.com.cn/problem/P9536)**### 模拟赛 7**[T1](https://www.luogu.com.cn/problem/AT_abc307_f)****[T2](https://www.luogu.com.cn/problem/P12426)****T3** **[T3](https://www.luogu.com.cn/problem/P12558)****T4**### 模拟赛 8**[T1](https://www.luogu.com.cn/problem/CF1984D)****T2****[T3](https://www.luogu.com.cn/problem/P11953)** **[T3](https://www.luogu.com.cn/problem/P11953)****[T4](https://www.luogu.com.cn/problem/CF1975D)**### 模拟赛 9**[T1](https://www.luogu.com.cn/problem/CF1942C2)****[T2](https://www.luogu.com.cn/problem/P9737)****[T3](https://www.luogu.com.cn/problem/P7830)** **[T3](https://www.luogu.com.cn/problem/P7830)****[T4](https://www.luogu.com.cn/problem/P11947)**### 模拟赛 10**[T1](https://www.luogu.com.cn/problem/AT_abc304_f)****[T2](https://www.luogu.com.cn/problem/P3590)****[T3](https://www.luogu.com.cn/problem/P11346)** **[T3](https://www.luogu.com.cn/problem/P11346)****T4**### 模拟赛 11**[T1](https://www.luogu.com.cn/problem/P9975)****[T2](https://www.luogu.com.cn/problem/P7831)****[T3](https://www.luogu.com.cn/problem/P10067)** **[T3](https://www.luogu.com.cn/problem/P10067)****[T4](https://www.luogu.com.cn/problem/P11983)**### 模拟赛 12**T1****[T2](https://www.luogu.com.cn/problem/P10299)****[T3](https://www.luogu.com.cn/problem/P9312)** **[T3](https://www.luogu.com.cn/problem/P9312)****[T4](https://www.luogu.com.cn/problem/P5642)**### 模拟赛 13**[T1](https://www.luogu.com.cn/problem/AT_arc132_d)****[T2](https://www.luogu.com.cn/problem/P6294)****[T3](https://www.luogu.com.cn/problem/AT_arc119_f)** **[T3](https://www.luogu.com.cn/problem/AT_arc119_f)****[T4](https://www.luogu.com.cn/problem/P9058)**### 模拟赛 14**T1****T2****[T3](https://www.luogu.com.cn/problem/AT_arc178_d)** **[T3](https://www.luogu.com.cn/problem/AT_arc178_d)****[T4](https://www.luogu.com.cn/problem/AT_arc174_f)**### 模拟赛 15**[T1](https://www.luogu.com.cn/problem/P9350)****[T2](https://www.luogu.com.cn/problem/CF1473E)****[T3](https://www.luogu.com.cn/problem/P9020)** **[T3](https://www.luogu.com.cn/problem/P9020)****[T4](https://qoj.ac/problem/2378)**### 模拟赛 16**[T1](https://uoj.ac/problem/887)****[T2](https://www.luogu.com.cn/problem/CF1628D2)****[T3](https://www.luogu.com.cn/problem/P9192)** **[T3](https://www.luogu.com.cn/problem/P9192)****[T4](https://www.luogu.com.cn/problem/P11989)**### 模拟赛 17**[T1](https://www.luogu.com.cn/problem/CF1795C)****[T2](https://www.luogu.com.cn/problem/CF1704E)****[T3](https://www.luogu.com.cn/problem/AT_code_festival_2017_qualb_f)** **[T3](https://www.luogu.com.cn/problem/AT_code_festival_2017_qualb_f)****[T4](https://www.luogu.com.cn/problem/CF756E)**### 模拟赛 18**[T1](https://www.luogu.com.cn/problem/P10059)****[T2](https://www.luogu.com.cn/problem/CF1495B)****[T3](https://www.luogu.com.cn/problem/P5102)** **[T3](https://www.luogu.com.cn/problem/P5102)****[T4](https://www.luogu.com.cn/problem/P12486)**### 模拟赛 19**[T1](https://www.luogu.com.cn/problem/CF1919D)****[T2](https://www.luogu.com.cn/problem/CF1936B)****[T3](https://www.luogu.com.cn/problem/P9522)** **[T3](https://www.luogu.com.cn/problem/P9522)****[T4](https://www.luogu.com.cn/problem/CF1919F2)**### 模拟赛 20**[T1](https://www.luogu.com.cn/problem/AT_arc122_d)****[T2](https://www.luogu.com.cn/problem/P7334)****[T3](https://www.luogu.com.cn/problem/CF2063F2)** **[T3](https://www.luogu.com.cn/problem/CF2063F2)****[T4](https://www.luogu.com.cn/problem/P9598)**### 模拟赛 21**[T1](https://www.luogu.com.cn/problem/P9202)****[T2](https://www.luogu.com.cn/problem/CF1610E)****[T3](https://www.luogu.com.cn/problem/P12426)** **[T3](https://www.luogu.com.cn/problem/P12426)****T4**### 模拟赛 22**[T1](https://www.luogu.com.cn/problem/AT_arc119_c)****[T2](https://www.luogu.com.cn/problem/P10100)****[T3](https://www.luogu.com.cn/problem/CF1781F)** **[T3](https://www.luogu.com.cn/problem/CF1781F)****[T4](https://www.luogu.com.cn/problem/P10880)**### 模拟赛 23**[T1](https://www.luogu.com.cn/problem/P5329)****[T2](https://www.luogu.com.cn/problem/CF1896E)****[T3](https://www.luogu.com.cn/problem/CF1889D)** **[T3](https://www.luogu.com.cn/problem/CF1889D)****[T4](https://www.luogu.com.cn/problem/CF1610G)**### 模拟赛 24**[T1](https://www.luogu.com.cn/problem/CF1852A)****[T2](https://www.luogu.com.cn/problem/CF1936C)****[T3](https://www.luogu.com.cn/problem/CF983E)** **[T3](https://www.luogu.com.cn/problem/CF983E)****[T4](https://www.luogu.com.cn/problem/AT_code_festival_2017_qualc_f)**### 模拟赛 25**[T1](https://www.luogu.com.cn/problem/P9464)****[T2](https://www.luogu.com.cn/problem/CF1310D)****[T3](https://www.luogu.com.cn/problem/P3203)** **[T3](https://www.luogu.com.cn/problem/P3203)****[T4](https://www.luogu.com.cn/problem/P4383)**### 模拟赛 26**[T1](https://www.luogu.com.cn/problem/P4552)****[T2](https://www.luogu.com.cn/problem/P2403)****[T3](https://www.luogu.com.cn/problem/CF710F)** **[T3](https://www.luogu.com.cn/problem/CF710F)****[T4](https://www.luogu.com.cn/problem/CF1810G)**### 模拟赛 27**[T1](https://www.luogu.com.cn/problem/P3611)****[T2](https://www.luogu.com.cn/problem/P4137)**44 行未改动**[T2](https://www.luogu.com.cn/problem/P12966)****[T3](https://www.luogu.com.cn/problem/P12914)****[T4](https://www.luogu.com.cn/problem/P8169)**### 模拟赛 37**T1****[T1](https://www.luogu.com.cn/problem/P1031)****[T2](https://www.luogu.com.cn/problem/P7082)****T3****T4**### 模拟赛 386 行未改动**T2****T3****T4**### 模拟赛 40**T1****T2****T3****T4****[T1](https://www.luogu.com.cn/problem/P4420)****[T2](https://www.luogu.com.cn/problem/P7762)****[T3](https://www.luogu.com.cn/problem/P2300)****[T4](https://www.luogu.com.cn/problem/P7246)**### 模拟赛 41**T1****T2****[T1](https://www.luogu.com.cn/problem/P4432)****[T2](https://www.luogu.com.cn/problem/P10883)****T3****T4****[T4](https://www.luogu.com.cn/problem/P3665)**### 模拟赛 42**[T1](https://www.luogu.com.cn/problem/P14460)****[T2](https://www.luogu.com.cn/problem/P14461)****[T3](https://www.luogu.com.cn/problem/P14462)****[T4](https://www.luogu.com.cn/problem/P14463)**### 模拟赛 43**[T1](https://www.luogu.com.cn/problem/CF1503E)****[T2](https://www.luogu.com.cn/problem/P10238)****T3****T4**### 模拟赛 44**T1****T2****T3****T4**### 模拟赛 45**T1****T2****[T3](https://www.luogu.com.cn/problem/U633905)****[T4](https://www.luogu.com.cn/problem/CF917D)**### 模拟赛 46**[T1](https://www.luogu.com.cn/problem/AT_agc047_a)****T2****[T3](http://luogu.com.cn/problem/AT_agc019_d)****[T4](https://www.luogu.com.cn/problem/AT_arc083_d)**### 模拟赛 47**[T1](https://www.luogu.com.cn/problem/AT_agc043_a)****[T2](https://www.luogu.com.cn/problem/AT_agc010_c)****[T3](https://www.luogu.com.cn/problem/AT_arc092_d)****[T4](https://www.luogu.com.cn/problem/AT_arc089_d)**### 模拟赛 48**[T1](https://www.luogu.com.cn/problem/CF288A)****[T2](https://www.luogu.com.cn/problem/P2817)****[T3](https://www.luogu.com.cn/problem/CF479E)****[T4](https://www.luogu.com.cn/problem/CF1111E)**### 模拟赛 49
**[T1](https://www.luogu.com.cn/problem/U636260)****[T2](https://www.luogu.com.cn/problem/U636261)****[T3](https://www.luogu.com.cn/problem/U636267)****[T4](https://www.luogu.com.cn/problem/U636271)**