前言:放一起了。
Daily Training \texttt{Daily Training} Daily Training
懒得写详细题解,有冒号及后面的文字的表示做了,只有成套的打算做的才会放进来,有些题是同系列的以前做过的,比较喜欢的题会用 * \texttt{*} * 标出,半颗( ∘ {^{\circ}} ∘ )就是普通略好,一颗一般是有趣,两颗一般是有趣或者妙妙,三颗一般是妙妙或者牛逼,四颗一般是牛逼或者神仙,五颗及以上一般是神仙,套路、抽象和逆天的评分不按照以上标准。
限定词一般为:简单,中等,困难;狗屎,板子,无聊,普通,套路(这个评价不一定是贬义的),有趣,妙妙,抽象,逆天,牛逼,神仙等。
红色表示补完了(不含划掉的题),黑色表示开始加入 queue \texttt{queue} queue 了。
黑色数量控制在 8 ∼ 12 8\sim12 8 ∼ 12 之间(有特别好的比赛时或者一加进来就立即做个几题的除外),划掉的表示不想做,正常偏中(并且不是太水)题都有半颗星。
如果一场比赛出现两次只统计入等级高的。
Codeforces \Huge\texttt{Codeforces} Codeforces
Codeforces Round 869 (Div. 1) \large\texttt{Codeforces Round 869 (Div. 1)} Codeforces Round 869 (Div. 1)
∘ A. Almost Increasing Subsequence {^{\circ}}\texttt{A. Almost Increasing Subsequence} ∘ A. Almost Increasing Subsequence :简单普通结论题。
B. Fish Graph \texttt{B. Fish Graph} B. Fish Graph :简单无聊图论题。
∗ ∘ C. Similar Polynomials ^{*}{^{\circ}}\texttt{C. Similar Polynomials} ∗ ∘ C. Similar Polynomials :简单有趣数学多项式题,用了一些结论(观察)和本质,优化了一个经典问题的变种。
D. Toy Machine \texttt{D. Toy Machine} D. Toy Machine :中等抽象构造题。
E. Half-sum \texttt{E. Half-sum} E. Half-sum
F. Entangled Substrings \texttt{F. Entangled Substrings} F. Entangled Substrings
Div.1 + 2 \color{blue}\Large\texttt{Div.1 + 2} Div.1 + 2
Pinely Round 2 (Div.1 + Div.2) \large\texttt{Pinely Round 2 (Div.1 + Div.2)} Pinely Round 2 (Div.1 + Div.2)
∘ A. Channel {^{\circ}}\texttt{A. Channel} ∘ A. Channel :简单普通模拟题。
∘ B. Split Sort {^{\circ}}\texttt{B. Split Sort} ∘ B. Split Sort :简单普通结论题。
∘ C. MEX Repetition {^{\circ}}\texttt{C. MEX Repetition} ∘ C. MEX Repetition :简单普通结论题。
D. Two-Colored Dominoes \texttt{D. Two-Colored Dominoes} D. Two-Colored Dominoes :简单普通构造题。
E. Speedrun \texttt{E. Speedrun} E. Speedrun
F. Divide, XOR, and Conquer \texttt{F. Divide, XOR, and Conquer} F. Divide, XOR, and Conquer
G. Swaps \texttt{G. Swaps} G. Swaps
H. Goldberg Machine 3 \texttt{H. Goldberg Machine 3} H. Goldberg Machine 3
I. Redundant Routes \texttt{I. Redundant Routes} I. Redundant Routes
CodeTON Round 3 (Div. 1 + Div. 2, Rated, Prizes!) \large\texttt{CodeTON Round 3 (Div. 1 + Div. 2, Rated, Prizes!)} CodeTON Round 3 (Div. 1 + Div. 2, Rated, Prizes!)
∘ A. Indirect Sort {^{\circ}}\texttt{A. Indirect Sort} ∘ A. Indirect Sort :简单普通结论题。
B. Maximum Substring \texttt{B. Maximum Substring} B. Maximum Substring :简单无聊分讨题。
∘ C. Complementary XOR {^{\circ}}\texttt{C. Complementary XOR} ∘ C. Complementary XOR :简单普通构造题。
D. Count GCD \texttt{D. Count GCD} D. Count GCD :简单普通数论题。
∘ E. Bracket Cost {^{\circ}}\texttt{E. Bracket Cost} ∘ E. Bracket Cost :简单普通数据结构优化题。
∗ ∗ F. Majority ^{**}\texttt{F. Majority} ∗∗ F. Majority :中等有趣计数 dp \texttt{dp} dp 题。
G. Doping \texttt{G. Doping} G. Doping
H. BinaryStringForces \texttt{H. BinaryStringForces} H. BinaryStringForces
think-cell Round #1 \large\texttt{think-cell Round \#1} think-cell Round #1
A. Maximise The Score \texttt{A. Maximise The Score} A. Maximise The Score :简单普通贪心题。
B. Permutation Printing \texttt{B. Permutation Printing} B. Permutation Printing :简单普通构造题。
C. Lexicographically Largest \texttt{C. Lexicographically Largest} C. Lexicographically Largest :简单普通结论题。
∘ D1. Sum over all Substrings (Easy Version) {^{\circ}}\texttt{D1. Sum over all Substrings (Easy Version)} ∘ D1. Sum over all Substrings (Easy Version) :简单普通结论题。
∗ D2. Sum over all Substrings (Easy Version) ^{*}\texttt{D2. Sum over all Substrings (Easy Version)} ∗ D2. Sum over all Substrings (Easy Version) :简单 dp \texttt{dp} dp 优化计数题。
∘ E. 2..3...4.... Wonderful! Wonderful! {^{\circ}}\texttt{E. 2..3...4.... Wonderful! Wonderful!} ∘ E. 2..3...4.... Wonderful! Wonderful! :简单普通 dp \texttt{dp} dp 计数题,分别考虑每种可能的最终结果能否被统计入答案即可。
∗ ∗ F. Maximize the Difference ^{**}\texttt{F. Maximize the Difference} ∗∗ F. Maximize the Difference :简单妙妙 Trie \texttt{Trie} Trie 树应用题,我只想到了一棵 Trie \texttt{Trie} Trie 树,这是为什么呢?
G. Prefix Max Set Counting \texttt{G. Prefix Max Set Counting} G. Prefix Max Set Counting
H. Interactive Mex Tree \texttt{H. Interactive Mex Tree} H. Interactive Mex Tree
I. Counting Is Fun \texttt{I. Counting Is Fun} I. Counting Is Fun
Good Bye 2022: 2023 is NEAR \large\texttt{Good Bye 2022: 2023 is NEAR} Good Bye 2022: 2023 is NEAR
A. Koxia and Whiteboards \texttt{A. Koxia and Whiteboards} A. Koxia and Whiteboards :简单普通贪心题。
B. Koxia and Permutation \texttt{B. Koxia and Permutation} B. Koxia and Permutation :简单普通构造题。
∗ C. Koxia and Number Theory ^{*}\texttt{C. Koxia and Number Theory} ∗ C. Koxia and Number Theory :简单有趣数论题,我不会,这是为什么呢?
∗ ∗ D. Koxia and Game ^{**}\texttt{D. Koxia and Game} ∗∗ D. Koxia and Game :简单妙妙性质博弈论图论题。
∘ E. Koxia and Tree {^{\circ}}\texttt{E. Koxia and Tree} ∘ E. Koxia and Tree :简单普通概率期望题。
∗ ∗ ∗ ∗ F. Koxia and Sequence ^{****}\texttt{F. Koxia and Sequence} ∗∗∗∗ F. Koxia and Sequence :困难神仙数学计数题。
G. Koxia and Bracket \texttt{G. Koxia and Bracket} G. Koxia and Bracket
H. Koxia, Mahiru and Winter Festival \texttt{H. Koxia, Mahiru and Winter Festival} H. Koxia, Mahiru and Winter Festival
AtCoder \Huge\texttt{AtCoder} AtCoder
ABC \color{blue}\Large\texttt{ABC} ABC
AtCoder Beginner Contest 270 \large\texttt{AtCoder Beginner Contest 270} AtCoder Beginner Contest 270
A. 1-2-4 Test \texttt{A. 1-2-4 Test} A. 1-2-4 Test
B. Hammer \texttt{B. Hammer} B. Hammer
C. Simple path \texttt{C. Simple path} C. Simple path
D. Stones \texttt{D. Stones} D. Stones
E. Apple Baskets on Circle \texttt{E. Apple Baskets on Circle} E. Apple Baskets on Circle
F. Transportation \texttt{F. Transportation} F. Transportation
G. Sequence in mod P \texttt{G. Sequence in mod P} G. Sequence in mod P
Ex. add 1 \texttt{Ex. add 1} Ex. add 1
ARC \color{blue}\Large\texttt{ARC} ARC
AtCoder Regular Contest 069 \color{red}\large\texttt{AtCoder Regular Contest 069} AtCoder Regular Contest 069
A. Scc Puzzle \texttt{A. Scc Puzzle} A. Scc Puzzle :简单普通数学贪心题。
B. Menagerie \texttt{B. Menagerie} B. Menagerie :简单无聊模拟题(看着像个构造其实并非)。
C. Frequency \texttt{C. Frequency} C. Frequency :简单普通贪心题。
∘ D. Flags {^{\circ}}\texttt{D. Flags} ∘ D. Flags :简单普通二分后线段树优化 2-SAT \texttt{2-SAT} 2-SAT 建图题。
AtCoder Regular Contest 092 \color{red}\large\texttt{AtCoder Regular Contest 092} AtCoder Regular Contest 092
A. 2D Plane 2N Points \texttt{A. 2D Plane 2N Points} A. 2D Plane 2N Points :简单普通贪心题,我用网络流硬是艹过去了。
B. Two Sequences \texttt{B. Two Sequences} B. Two Sequences :简单普通数数题。
∘ C. Both Sides Merger {^{\circ}}\texttt{C. Both Sides Merger} ∘ C. Both Sides Merger :简单普通构造题。
∗ D. Two Faced Edges ^{*}\texttt{D. Two Faced Edges} ∗ D. Two Faced Edges :简单有趣图论题。
AtCoder Regular Contest 105 \color{red}\large\texttt{AtCoder Regular Contest 105} AtCoder Regular Contest 105
A. Fourtune Cookies \texttt{A. Fourtune Cookies} A. Fourtune Cookies :简单无聊模拟题。
B. Camels and Bridge \texttt{B. Camels and Bridge} B. Camels and Bridge :简单普通结论题。
C. Both Sides Merger \texttt{C. Both Sides Merger} C. Both Sides Merger :简单普通 dp \texttt{dp} dp 题。
∗ D. Let’s Play Nim ^{*}\texttt{D. Let's Play Nim} ∗ D. Let’s Play Nim :简单有趣结论博弈论题。
∗ ∘ E. Keep Graph Disconnected ^{*}{^{\circ}}\texttt{E. Keep Graph Disconnected} ∗ ∘ E. Keep Graph Disconnected :简单妙妙结论博弈论题。
∘ F. Lights Out on Connected Graph {^{\circ}}\texttt{F. Lights Out on Connected Graph} ∘ F. Lights Out on Connected Graph :简单普通状态压缩 dp \texttt{dp} dp 题。
AtCoder Regular Contest 154 \color{red}\large\texttt{AtCoder Regular Contest 154} AtCoder Regular Contest 154
A. Swap Digit \texttt{A. Swap Digit} A. Swap Digit :简单普通贪心题。
B. New Place \texttt{B. New Place} B. New Place :简单普通字符串题。
C. Roller \texttt{C. Roller} C. Roller :简单普通分类讨论题。
∗ D. A + B > C ? ^{*}\texttt{D. A + B > C ?} ∗ D. A + B > C ? :简单有趣交互题。
∗ ∘ E. Reverse and Inversion ^{*}{^{\circ}}\texttt{E. Reverse and Inversion} ∗ ∘ E. Reverse and Inversion :简单妙妙数学计数题。
∗ ∗ ∘ F. Dice Game ^{**}{^{\circ}}\texttt{F. Dice Game} ∗∗ ∘ F. Dice Game :困难妙妙斯特林数推式子题。
AtCoder Regular Contest 172 \large\texttt{AtCoder Regular Contest 172} AtCoder Regular Contest 172
∘ A. Chocolate {^{\circ}}\texttt{A. Chocolate} ∘ A. Chocolate :简单普通结论题。
B. AtCoder Language \texttt{B. AtCoder Language} B. AtCoder Language :简单普通数学计数题。
∘ C. Election {^{\circ}}\texttt{C. Election} ∘ C. Election :简单普通结论题,需要一些简单的观察。
∗ ∘ D. Distance Ranking ^{*}{^{\circ}}\texttt{D. Distance Ranking} ∗ ∘ D. Distance Ranking :中等抽象构造题。
∘ E. Last 9 Digits {^{\circ}}\texttt{E. Last 9 Digits} ∘ E. Last 9 Digits :简单抽象数学结论题。
F. Walking \texttt{F. Walking} F. Walking
AtCoder Regular Contest 173 \large\texttt{AtCoder Regular Contest 173} AtCoder Regular Contest 173
A. Neq Number \texttt{A. Neq Number} A. Neq Number :简单普通二分数位 dp \texttt{dp} dp 题。
∗ B. AtCoder Language ^{*}\texttt{B. AtCoder Language} ∗ B. AtCoder Language :简单有趣结论题,可以使用摩尔投票法做到更优的复杂度。
∘ C. Not Median {^{\circ}}\texttt{C. Not Median} ∘ C. Not Median :简单普通数据结构题。
∗ ∗ ∘ D. Bracket Walk ^{**}{^{\circ}}\texttt{D. Bracket Walk} ∗∗ ∘ D. Bracket Walk :中等妙妙图论结论题。
∗ ∘ E. Rearrange and Adjacent XOR ^{*}{^{\circ}}\texttt{E. Rearrange and Adjacent XOR} ∗ ∘ E. Rearrange and Adjacent XOR :简单有趣结论 & \texttt{\&} & 线性基题。
F. Select and Split \texttt{F. Select and Split} F. Select and Split
AtCoder Regular Contest 174 \large\texttt{AtCoder Regular Contest 174} AtCoder Regular Contest 174
A. A Multiply \texttt{A. A Multiply} A. A Multiply :简单普通最大子段和题。
∘ B. Bought Review {^{\circ}}\texttt{B. Bought Review} ∘ B. Bought Review :简单普通贪心题。
C. Catastrophic Roulette \texttt{C. Catastrophic Roulette} C. Catastrophic Roulette :简单普通概率期望题。
D. Digit vs Square Root \texttt{D. Digit vs Square Root} D. Digit vs Square Root :简单普通数竞找规律题。
∘ E. Existence Counting {^{\circ}}\texttt{E. Existence Counting} ∘ E. Existence Counting :简单普通计数题。
F. Final Stage \texttt{F. Final Stage} F. Final Stage
AtCoder Regular Contest 175 \large\texttt{AtCoder Regular Contest 175} AtCoder Regular Contest 175
A. Spoon Taking Problem \texttt{A. Spoon Taking Problem} A. Spoon Taking Problem :简单普通数学题。
∗ B. Parenthesis Arrangement ^{*}\texttt{B. Parenthesis Arrangement} ∗ B. Parenthesis Arrangement :简单有趣贪心题。
∗ C. Jumping Through Intervals ^{*}\texttt{C. Jumping Through Intervals} ∗ C. Jumping Through Intervals :简单有趣结论题。
D. LIS on Tree 2 \texttt{D. LIS on Tree 2} D. LIS on Tree 2
E. Three View Drawing \texttt{E. Three View Drawing} E. Three View Drawing
F. Append Same Characters \texttt{F. Append Same Characters} F. Append Same Characters
AtCoder Regular Contest 176 \color{red}\large\texttt{AtCoder Regular Contest 176} AtCoder Regular Contest 176
∗ A. 01 Matrix Again ^{*}\texttt{A. 01 Matrix Again} ∗ A. 01 Matrix Again :简单有趣构造题。
∘ B. Simple Math 4 {^{\circ}}\texttt{B. Simple Math 4} ∘ B. Simple Math 4 :简单普通数学题。
∗ C. Max Permutation ^{*}\texttt{C. Max Permutation} ∗ C. Max Permutation :简单有趣计数题。
∘ D. Swap Permutation {^{\circ}}\texttt{D. Swap Permutation} ∘ D. Swap Permutation :简单普通计数题。
∗ ∗ E. Max Vector ^{**}\texttt{E. Max Vector} ∗∗ E. Max Vector :简单有趣网络流题,是对“切糕”模型的一个拓展。
∗ ∗ ∗ ∘ F. Colorful Star ^{***}{^{\circ}}\texttt{F. Colorful Star} ∗∗∗ ∘ F. Colorful Star :困难神仙计数题,做法极其巧妙!!!
AtCoder Regular Contest 177 \color{red}\large\texttt{AtCoder Regular Contest 177} AtCoder Regular Contest 177
∘ A. Exchange {^{\circ}}\texttt{A. Exchange} ∘ A. Exchange :简单普通贪心题。
B. Puzzle of Lamps \texttt{B. Puzzle of Lamps} B. Puzzle of Lamps :简单普通构造题。
∗ C. Routing ^{*}\texttt{C. Routing} ∗ C. Routing :简单有趣结论题。
∘ D. Earthquakes {^{\circ}}\texttt{D. Earthquakes} ∘ D. Earthquakes :简单普通计数题。
∗ ∘ E. Wrong Scoreboard ^{*}{^{\circ}}\texttt{E. Wrong Scoreboard} ∗ ∘ E. Wrong Scoreboard :简单普通诈骗题。
∗ ∗ F. Two Airlines ^{**}\texttt{F. Two Airlines} ∗∗ F. Two Airlines :中等妙妙动态规划题,关键是意识到有用的状态个数很少。
AtCoder Regular Contest 179 \color{red}\large\texttt{AtCoder Regular Contest 179} AtCoder Regular Contest 179
∘ A. Partition {^{\circ}}\texttt{A. Partition} ∘ A. Partition :简单普通结论题。
B. Between B and B \texttt{B. Between B and B} B. Between B and B :简单普通 dp \texttt{dp} dp 题。
C. Beware of Overflow \texttt{C. Beware of Overflow} C. Beware of Overflow :简单普通交互题。
∗ ∘ D. Portable Gate ^{*}{^{\circ}}\texttt{D. Portable Gate} ∗ ∘ D. Portable Gate :简单有趣换根 dp \texttt{dp} dp 题。
∘ E. Rectangle Concatenation {^{\circ}}\texttt{E. Rectangle Concatenation} ∘ E. Rectangle Concatenation :简单普通乱搞题,非正解比正解跑得快并且复杂度是对的。
∗ ∗ ∗ ° F. All the Same ^{***}\degree\texttt{F. All the Same} ∗∗∗ ° F. All the Same :中等妙妙构造题,运用了很多观察,从数到形再到数再到形的转换十分巧妙!
AGC \color{blue}\Large\texttt{AGC} AGC
AtCoder Grand Contest 066 \large\texttt{AtCoder Grand Contest 066} AtCoder Grand Contest 066
A. Adjacent Difference \texttt{A. Adjacent Difference} A. Adjacent Difference
∘ B. Decreasing Digit Sums {^{\circ}}\texttt{B. Decreasing Digit Sums} ∘ B. Decreasing Digit Sums :简单抽象构造题(别信,其实是提交答案题)。
C. Delete AAB or BAA \texttt{C. Delete AAB or BAA} C. Delete AAB or BAA
D. A Independent Set \texttt{D. A Independent Set} D. A Independent Set
E. Sliding Puzzle On Tree \texttt{E. Sliding Puzzle On Tree} E. Sliding Puzzle On Tree
F. Beautiful String \texttt{F. Beautiful String} F. Beautiful String
ARC - Like \color{blue}\Large\texttt{ARC - Like} ARC - Like
TENKA1 - 2017 \large\texttt{TENKA1 - 2017} TENKA1 - 2017
A. 4/N \texttt{A. 4/N} A. 4/N :简单普通枚举题。
B. IntegerotS \texttt{B. IntegerotS} B. IntegerotS :简单普通二进制 & \texttt{\&} & 枚举题。
C. CARtesian Coodinate \texttt{C. CARtesian Coodinate} C. CARtesian Coodinate
D. ModularPowerEquation!! \texttt{D. ModularPowerEquation!!} D. ModularPowerEquation!!
Dwango Programming Contest V \color{red}\large\texttt{Dwango Programming Contest V} Dwango Programming Contest V
A. Thumbnail \texttt{A. Thumbnail} A. Thumbnail :简单普通模拟题。
B. Sum AND Subarrays \texttt{B. Sum AND Subarrays} B. Sum AND Subarrays :简单普通二进制逐位确定题,可以做到更优的 O ( N log N ) \mathcal{O}(N\log N) O ( N log N ) 的复杂度。
C. k-DMC \texttt{C. k-DMC} C. k-DMC :简单普通前缀和优化枚举题。
∗ ∗ ∘ D. Square Rotation ^{**}{^{\circ}}\texttt{D. Square Rotation} ∗∗ ∘ D. Square Rotation :简单妙妙结论 & \texttt{\&} & 复杂度均摊题。
∗ ∘ E. Cyclic GCDs ^{*}{^{\circ}}\texttt{E. Cyclic GCDs} ∗ ∘ E. Cyclic GCDs :简单有趣多项式 & \texttt{\&} & 结论题。( gcd ( f ⋅ g ) = gcd ( f ) gcd ( g ) \gcd(f\cdot g)=\gcd(f)\gcd(g) g cd( f ⋅ g ) = g cd( f ) g cd( g ) ,其中 gcd ( f ) \gcd(f) g cd( f ) 为 f f f 的各项系数的 gcd \gcd g cd )
AGC - Like \color{blue}\Large\texttt{AGC - Like} AGC - Like
Code Festival 2016 qual A \large\texttt{Code Festival 2016 qual A} Code Festival 2016 qual A
A. CODEFESTIVAL 2016 \texttt{A. CODEFESTIVAL 2016} A. CODEFESTIVAL 2016 :简单无聊模拟题。
B. Friendly Rabbits \texttt{B. Friendly Rabbits} B. Friendly Rabbits :简单普通模拟题。
C. Next Letter \texttt{C. Next Letter} C. Next Letter :简单普通贪心题。
∗ D. Grid and Integers ^{*}\texttt{D. Grid and Integers} ∗ D. Grid and Integers :简单有趣建图题。
E. LRU Puzzle \texttt{E. LRU Puzzle} E. LRU Puzzle
Code Festival 2016 qual B \color{red}\large\texttt{Code Festival 2016 qual B} Code Festival 2016 qual B
A. Signboard \texttt{A. Signboard} A. Signboard :简单无聊模拟题。
B. Qualification simulator \texttt{B. Qualification simulator} B. Qualification simulator :简单无聊模拟题。
C. Gr-idian MST \texttt{C. Gr-idian MST} C. Gr-idian MST :简单普通图论优化题。
D. Greedy customers \texttt{D. Greedy customers} D. Greedy customers :简单普通贪心题。
∗ E. Lexicographical disorder ^{*}\texttt{E. Lexicographical disorder} ∗ E. Lexicographical disorder :简单有趣 Trie \texttt{Trie} Trie 树题。
Code Festival 2016 qual C \color{red}\large\texttt{Code Festival 2016 qual C} Code Festival 2016 qual C
A. CF \texttt{A. CF} A. CF :简单普通模拟题。
B. K Cakes \texttt{B. K Cakes} B. K Cakes :简单普通贪心题。
C. Two Alpinists \texttt{C. Two Alpinists} C. Two Alpinists :简单普通计数题。
∗ ∘ D. Friction ^{*}{^{\circ}}\texttt{D. Friction} ∗ ∘ D. Friction :简单有趣性质分析(各列独立)& \texttt{\&} & dp \texttt{dp} dp 题。
∘ E. Encyclopedia of Permutations {^{\circ}}\texttt{E. Encyclopedia of Permutations} ∘ E. Encyclopedia of Permutations :简单普通计数题。
Code Festival 2016 Final \color{red}\large\texttt{Code Festival 2016 Final} Code Festival 2016 Final
A. Where’s Snuke? \texttt{A. Where's Snuke?} A. Where’s Snuke? :简单普通模拟题。
B. Exactly N points \texttt{B. Exactly N points} B. Exactly N points :简单普通数学构造题。
C. Interpretation \texttt{C. Interpretation} C. Interpretation :简单普通图论题。
D. Pair Cards \texttt{D. Pair Cards} D. Pair Cards :简单普通贪心题。
∘ E. Cookies {^{\circ}}\texttt{E. Cookies} ∘ E. Cookies :简单普通数学题。
∗ F. Road of the King ^{*}\texttt{F. Road of the King} ∗ F. Road of the King :简单普通连通性状压 dp \texttt{dp} dp 题。
∗ ∗ ∗ ∘ G. Zigzag MST ^{***}{^{\circ}}\texttt{G. Zigzag MST} ∗∗∗ ∘ G. Zigzag MST :中等神仙图论优化见图题,是一个 Kruskal \texttt{Kruskal} Kruskal 的奇妙应用。
∗ ∗ H. Tokaido ^{**}\texttt{H. Tokaido} ∗∗ H. Tokaido :中等妙妙 dp \texttt{dp} dp 题,逐步优化的过程令人眼前一亮。
∗ ∗ ∘ I. Reverse Grid ^{**}{^{\circ}}\texttt{I. Reverse Grid} ∗∗ ∘ I. Reverse Grid :中等妙妙计数题。
∗ ∗ ∗ J. Neue Spiel ^{***}\texttt{J. Neue Spiel} ∗∗∗ J. Neue Spiel :中等妙妙调整法构造题。
Code Festival 2017 qual B \large\texttt{Code Festival 2017 qual B} Code Festival 2017 qual B
∗ ∘ C. 3 Steps ^{*}{^{\circ}}\texttt{C. 3 Steps} ∗ ∘ C. 3 Steps :简单有趣图论结论题。
Code Festival 2017 Final \large\texttt{Code Festival 2017 Final} Code Festival 2017 Final
∗ ∗ ∘ E. Combination Lock ^{**}{^{\circ}}\texttt{E. Combination Lock} ∗∗ ∘ E. Combination Lock :简单妙妙性质分析题。
∗ ∗ ∗ H. Poor Penguin ^{***}\texttt{H. Poor Penguin} ∗∗∗ H. Poor Penguin :中等妙妙 dp \texttt{dp} dp 题。
AtCoder Petrozavodsk Contest 001 \large\texttt{AtCoder Petrozavodsk Contest 001} AtCoder Petrozavodsk Contest 001
A. Two Integers \texttt{A. Two Integers} A. Two Integers :简单普通构造题。
B. Two Arrays \texttt{B. Two Arrays} B. Two Arrays :简单普通贪心题。
∗ ∘ C. Vacant Seat ^{*}{^{\circ}}\texttt{C. Vacant Seat} ∗ ∘ C. Vacant Seat :简单有趣交互题。
∘ D. Forest {^{\circ}}\texttt{D. Forest} ∘ D. Forest :简单普通贪心题。
∗ ∗ E. Antennas on Tree ^{**}\texttt{E. Antennas on Tree} ∗∗ E. Antennas on Tree :简单妙妙树上推性质题。
∗ ∗ ∘ F. XOR Tree ^{**}{^{\circ}}\texttt{F. XOR Tree} ∗∗ ∘ F. XOR Tree :中等妙妙类差分(实为找不变量) & \texttt{\&} & 状压 dp \texttt{dp} dp 题。
G. Colorful Doors \texttt{G. Colorful Doors} G. Colorful Doors
H. Generalized Insertion Sort \texttt{H. Generalized Insertion Sort} H. Generalized Insertion Sort
∗ ∘ I. Simple APSP Problem ^{*}{^{\circ}}\texttt{I. Simple APSP Problem} ∗ ∘ I. Simple APSP Problem :中等有趣取关键点 bfs \texttt{bfs} bfs 题。
J. Rectangles \texttt{J. Rectangles} J. Rectangles
World Tour Final 2019 \large\texttt{World Tour Final 2019} World Tour Final 2019
∗ A. Magic ^{*}\texttt{A. Magic} ∗ A. Magic :简单有趣贪心题。
∘ B. Multiple of Nine {^{\circ}}\texttt{B. Multiple of Nine} ∘ B. Multiple of Nine :简单普通推性质 & \texttt{\&} & 状压 dp \texttt{dp} dp 题。
国际赛事 \Huge\texttt{国际赛事} 国际赛事
IOI2023 \large\texttt{IOI2023} IOI2023
D1T1. 封锁时刻 \texttt{D1T1. 封锁时刻} D1T1. 封锁时刻
D1T2. 最长路程 \texttt{D1T2. 最长路程} D1T2. 最长路程
D1T3. 足球场 \texttt{D1T3. 足球场} D1T3. 足球场
D2T1. 山毛榉树 \texttt{D2T1. 山毛榉树} D2T1. 山毛榉树
D2T2. 超车 \texttt{D2T2. 超车} D2T2. 超车
D2T3. 机器人比赛 \texttt{D2T3. 机器人比赛} D2T3. 机器人比赛
USACO \Huge\texttt{USACO} USACO
USACO23DEC P \large\texttt{USACO23DEC P} USACO23DEC P
A. Cowntact Tracing \texttt{A. Cowntact Tracing} A. Cowntact Tracing
B. A Graph Problem \texttt{B. A Graph Problem} B. A Graph Problem
C. Train Scheduling \texttt{C. Train Scheduling} C. Train Scheduling
Ynoi \Huge\texttt{Ynoi} Ynoi
Ynoi Easy Round \color{blue}\Large\texttt{Ynoi Easy Round} Ynoi Easy Round
Ynoi Easy Round 2020 \large\texttt{Ynoi Easy Round 2020} Ynoi Easy Round 2020
∘ A. TEST_8 {^{\circ}}\texttt{A. TEST\_8} ∘ A. TEST_8 :简单模板平衡树题。
B. TEST_100 \texttt{B. TEST\_100} B. TEST_100
C. TEST_63 \texttt{C. TEST\_63} C. TEST_63
Ynoi Easy Round 2021 \large\texttt{Ynoi Easy Round 2021} Ynoi Easy Round 2021
A. TEST_68 \texttt{A. TEST\_68} A. TEST_68
B. TEST_152 \texttt{B. TEST\_152} B. TEST_152
C. TEST_136 \texttt{C. TEST\_136} C. TEST_136
Ynoi Easy Round 2022 \large\texttt{Ynoi Easy Round 2022} Ynoi Easy Round 2022
A. 虚空处刑 TEST_105 \texttt{A. 虚空处刑 TEST\_105} A. 虚空处刑 TEST_105
B. 超人机械 TEST_95 \texttt{B. 超人机械 TEST\_95} B. 超人机械 TEST_95
C. 堕天作战 TEST_98 \texttt{C. 堕天作战 TEST\_98} C. 堕天作战 TEST_98
Ynoi Easy Round 2023 \large\texttt{Ynoi Easy Round 2023} Ynoi Easy Round 2023
∘ A. TEST_69 {^{\circ}}\texttt{A. TEST\_69} ∘ A. TEST_69 :简单普通线段树复杂度均摊题。
∗ B. TEST_90 ^{*}\texttt{B. TEST\_90} ∗ B. TEST_90 :简单有趣扫描线线段树维护区间历史和题。
C. TEST_107 \texttt{C. TEST\_107} C. TEST_107
Ynoi Easy Round 2024 \large\texttt{Ynoi Easy Round 2024} Ynoi Easy Round 2024
A. TEST_130 \texttt{A. TEST\_130} A. TEST_130
B. TEST_133 \texttt{B. TEST\_133} B. TEST_133
∘ C. TEST_132 {^{\circ}}\texttt{C. TEST\_132} ∘ C. TEST_132 :简单套路根号分治题。
ACM \Huge\texttt{ACM} ACM
Regional \color{blue}\Large\texttt{Regional} Regional
ICPC2020 Nanjing R \large\texttt{ICPC2020 Nanjing R} ICPC2020 Nanjing R
∗ A. Ah, It’s Yesterday Once More ^{*}\texttt{A. Ah, It's Yesterday Once More} ∗ A. Ah, It’s Yesterday Once More :简单有趣提答题。
B. Baby’s First Suffix Array Problem \texttt{B. Baby's First Suffix Array Problem} B. Baby’s First Suffix Array Problem
C. Certain Scientific Railgun \texttt{C. Certain Scientific Railgun} C. Certain Scientific Railgun
∗ ∘ D. Degree of Spanning Tree ^{*}{^{\circ}}\texttt{D. Degree of Spanning Tree} ∗ ∘ D. Degree of Spanning Tree :简单有趣构造题。
E. Evil Coordinate \texttt{E. Evil Coordinate} E. Evil Coordinate :简单普通构造题。
F. Fireworks \texttt{F. Fireworks} F. Fireworks :简单普通三分题。
G. Go \texttt{G. Go} G. Go
∘ H. Harmonious Rectangle {^{\circ}}\texttt{H. Harmonious Rectangle} ∘ H. Harmonious Rectangle :简单普通诈骗题。
∘ I. Interested in Skiing {^{\circ}}\texttt{I. Interested in Skiing} ∘ I. Interested in Skiing :简单普通 dp \texttt{dp} dp & \texttt{\&} & 计算几何题。
∗ J. Just Another Game of Stones ^{*}\texttt{J. Just Another Game of Stones} ∗ J. Just Another Game of Stones :简单有趣 Seg-Beats \texttt{Seg-Beats} Seg-Beats 线段树题。
∘ K. K Co-prime Permutation {^{\circ}}\texttt{K. K Co-prime Permutation} ∘ K. K Co-prime Permutation :简单普通构造题。
∘ L. Let’s Play Curling {^{\circ}}\texttt{L. Let's Play Curling} ∘ L. Let’s Play Curling :简单普通结论题。
∘ M. Monster Hunter {^{\circ}}\texttt{M. Monster Hunter} ∘ M. Monster Hunter :简单普通树形 dp \texttt{dp} dp 题。
ICPC2021 Nanjing R \large\texttt{ICPC2021 Nanjing R} ICPC2021 Nanjing R
玩原神玩的。
A. Oops, It’s Yesterday Twice More \texttt{A. Oops, It's Yesterday Twice More} A. Oops, It’s Yesterday Twice More :简单普通构造题。
∘ B. Puzzle in Inazuma {^{\circ}}\texttt{B. Puzzle in Inazuma} ∘ B. Puzzle in Inazuma :简单普通图论构造题。
C. Klee in Solitary Confinement \texttt{C. Klee in Solitary Confinement} C. Klee in Solitary Confinement :简单普通题。
∗ ∘ D. Paimon Sorting ^{*}{^{\circ}}\texttt{D. Paimon Sorting} ∗ ∘ D. Paimon Sorting :简单有趣计数题。
E. Paimon Segment Tree \texttt{E. Paimon Segment Tree} E. Paimon Segment Tree :简单模板数据结构题。
∘ F. Paimon Polygon {^{\circ}}\texttt{F. Paimon Polygon} ∘ F. Paimon Polygon :简单普通计算几何题。
∘ G. Paimon’s Tree {^{\circ}}\texttt{G. Paimon's Tree} ∘ G. Paimon’s Tree :简单普通树上动态规划题。
H. Crystalfly \texttt{H. Crystalfly} H. Crystalfly
∗ ∗ I. Cloud Retainer’s Game ^{**}\texttt{I. Cloud Retainer's Game} ∗∗ I. Cloud Retainer’s Game :简单妙妙诈骗题,但是实际上这个题非常有趣。
∗ J. Xingqiu’s Joke ^{*}\texttt{J. Xingqiu's Joke} ∗ J. Xingqiu’s Joke :简单有趣复杂度分析题。
∗ ∘ K. Ancient Magic Circle in Teyvat ^{*}{^{\circ}}\texttt{K. Ancient Magic Circle in Teyvat} ∗ ∘ K. Ancient Magic Circle in Teyvat :中等有趣容斥图论题。
∗ ∗ ∗ L. Secret of Tianqiu Valley ^{***}\texttt{L. Secret of Tianqiu Valley} ∗∗∗ L. Secret of Tianqiu Valley :中等妙妙构造题。
∘ M. Windblume Festival {^{\circ}}\texttt{M. Windblume Festival} ∘ M. Windblume Festival :简单普通结论 & \texttt{\&} & 分类讨论题。
CCPC 2023 北京市赛 \large\texttt{CCPC 2023 北京市赛} CCPC 2023 北京市赛
∘ A. 游戏 {^{\circ}}\texttt{A. 游戏} ∘ A. 游戏 :简单普通博弈论题。
∘ B. 替换 {^{\circ}}\texttt{B. 替换} ∘ B. 替换 :简单普通 bitset \texttt{bitset} bitset 题。
C. 史莱姆工厂 \texttt{C. 史莱姆工厂} C. 史莱姆工厂
D. 三染色 \texttt{D. 三染色} D. 三染色
E. 广播 \texttt{E. 广播} E. 广播 :简单普通 dp \texttt{dp} dp 题。
∘ F. 最小环 {^{\circ}}\texttt{F. 最小环} ∘ F. 最小环 :简单普通优化图论题。
∗ ∗ G. 线段树 ^{**}\texttt{G. 线段树} ∗∗ G. 线段树 :简单有趣数据结构题,我有一个绝妙的做法。
∗ ∗ ∘ H. 哈密顿 ^{**}{^{\circ}}\texttt{H. 哈密顿} ∗∗ ∘ H. 哈密顿 :简单妙妙贪心题。
I. 勿蹖宠物 \texttt{I. 勿蹖宠物} I. 勿蹖宠物
∘ J. 图 {^{\circ}}\texttt{J. 图} ∘ J. 图 :简单普通图论结论题。
∘ K. 报数 IV {^{\circ}}\texttt{K. 报数 IV} ∘ K. 报数 IV :简单普通诈骗题。
ICPC2018 Qingdao R \large\texttt{ICPC2018 Qingdao R} ICPC2018 Qingdao R
A. Sequence and Sequence \texttt{A. Sequence and Sequence} A. Sequence and Sequence
B. Kawa Exam \texttt{B. Kawa Exam} B. Kawa Exam
C. Flippy Sequence \texttt{C. Flippy Sequence} C. Flippy Sequence :简单普通分讨题。
D. Magic Multiplication \texttt{D. Magic Multiplication} D. Magic Multiplication :简单无聊实现题。
E. Plants vs. Zombies \texttt{E. Plants vs. Zombies} E. Plants vs. Zombies :简单普通结论题。
∘ F. Tournament {^{\circ}}\texttt{F. Tournament} ∘ F. Tournament :简单普通数竞构造题。
G. Repair the Artwork \texttt{G. Repair the Artwork} G. Repair the Artwork
H. Mirror \texttt{H. Mirror} H. Mirror
∘ I. Soldier Game {^{\circ}}\texttt{I. Soldier Game} ∘ I. Soldier Game :简单普通动态 DP \texttt{DP} DP 题。
J. Books \texttt{J. Books} J. Books :简单无聊题。
K. Airdrop \texttt{K. Airdrop} K. Airdrop
L. Sub-cycle Graph \texttt{L. Sub-cycle Graph} L. Sub-cycle Graph
M. Function and Function \texttt{M. Function and Function} M. Function and Function :简单普通数学题。
Globol \large\color{blue}\Large\texttt{Globol} Globol
EC-Final 2021 \large\texttt{EC-Final 2021} EC-Final 2021
A. DFS Order \texttt{A. DFS Order} A. DFS Order :简单普通树论题。
∗ ∘ B. Beautiful String ^{*}{^{\circ}}\texttt{B. Beautiful String} ∗ ∘ B. Beautiful String :简单有趣优化枚举顺序字符串题,我咋连这都不会啊?
C. String-dle Count \texttt{C. String-dle Count} C. String-dle Count
D. Two Walls \texttt{D. Two Walls} D. Two Walls :简单无聊计算几何题。
∘ E. Prof. Pang and Poker {^{\circ}}\texttt{E. Prof. Pang and Poker} ∘ E. Prof. Pang and Poker :简单普通分类讨论题。
F. Vacation \texttt{F. Vacation} F. Vacation
G. Check Pattern is Bad \texttt{G. Check Pattern is Bad} G. Check Pattern is Bad
∘ H. Check Pattern is Good {^{\circ}}\texttt{H. Check Pattern is Good} ∘ H. Check Pattern is Good :简单普通网络流题。
I. Future Coder \texttt{I. Future Coder} I. Future Coder :简单普通数学题。
J. Elden Ring \texttt{J. Elden Ring} J. Elden Ring
K. Vision Test \texttt{K. Vision Test} K. Vision Test
∘ L. Fenwick Tree {^{\circ}}\texttt{L. Fenwick Tree} ∘ L. Fenwick Tree :简单普通诈骗题,没想到吧,树状数组结构是无用条件!
M. Prof. Pang and Ants \texttt{M. Prof. Pang and Ants} M. Prof. Pang and Ants
EC-Final 2022 \large\texttt{EC-Final 2022} EC-Final 2022
∘ A. Coloring {^{\circ}}\texttt{A. Coloring} ∘ A. Coloring :中等普通 dp \texttt{dp} dp 题。
B. Binary String \texttt{B. Binary String} B. Binary String
C. Best Carry Player 2 \texttt{C. Best Carry Player 2} C. Best Carry Player 2 :简单无聊数位 dp \texttt{dp} dp 题,可以用贪心做到更优的时间复杂度和更高的代码难度。
D. Minimum Suffix \texttt{D. Minimum Suffix} D. Minimum Suffix
∘ E. Map {^{\circ}}\texttt{E. Map} ∘ E. Map :简单普通结论题。
∗ ∘ F. Inversion ^{*}{^{\circ}}\texttt{F. Inversion} ∗ ∘ F. Inversion :简单有趣交互题。
G. Rectangle \texttt{G. Rectangle} G. Rectangle
H. Chinese Checker \texttt{H. Chinese Checker} H. Chinese Checker :简单狗屎实现题。
I. Chase Game \texttt{I. Chase Game} I. Chase Game :简单普通图论题。
∘ J. Chase Game 2 {^{\circ}}\texttt{J. Chase Game 2} ∘ J. Chase Game 2 :简单普通结论题。
∗ ∗ ∘ K. Magic ^{**}{^{\circ}}\texttt{K. Magic} ∗∗ ∘ K. Magic :中等妙妙图论结论题,可以使用线段树优化 Dinic \texttt{Dinic} Dinic 建图做到更优的 O ( n n log n ) \mathcal{O}(n\sqrt{n}\log n) O ( n n log n ) 的复杂度。
∗ ∗ L. Aqre ^{**}\texttt{L. Aqre} ∗∗ L. Aqre :中等有趣构造题。
∗ M. Dining Professors ^{*}\texttt{M. Dining Professors} ∗ M. Dining Professors :简单有趣转化题。
ICPC2021 WF \large\texttt{ICPC2021 WF} ICPC2021 WF
A. Crystal Crosswind \texttt{A. Crystal Crosswind} A. Crystal Crosswind :简单无聊阅读理解题。
B. Dungeon Crawler \texttt{B. Dungeon Crawler} B. Dungeon Crawler
C. Fair Division \texttt{C. Fair Division} C. Fair Division :简单无聊数学题。
D. Guardians of the Gallery \texttt{D. Guardians of the Gallery} D. Guardians of the Gallery
E. Hand of the Free Marked \texttt{E. Hand of the Free Marked} E. Hand of the Free Marked :我不予置评。
F. Islands from the Sky \texttt{F. Islands from the Sky} F. Islands from the Sky :简单普通三维计算几何题。
G. Mosaic Browsing \texttt{G. Mosaic Browsing} G. Mosaic Browsing :简单模板 bitset \texttt{bitset} bitset 题。
∘ H. Prehistoric Programs {^{\circ}}\texttt{H. Prehistoric Programs} ∘ H. Prehistoric Programs :简单普通贪心题。
∗ I. Spider Walk ^{*}\texttt{I. Spider Walk} ∗ I. Spider Walk :简单有趣线段树优化 dp \texttt{dp} dp 题。
∘ J. Splitstream {^{\circ}}\texttt{J. Splitstream} ∘ J. Splitstream :简单普通模拟题。
K. Take On Meme \texttt{K. Take On Meme} K. Take On Meme
L. Where Am I? \texttt{L. Where Am I?} L. Where Am I? :简单无聊模拟题。
XCPC \large\color{blue}\Large\texttt{XCPC} XCPC
GDCPC2023 \large\texttt{GDCPC2023} GDCPC2023
A. Programming Contest \texttt{A. Programming Contest} A. Programming Contest :简单普通模拟题。
B. Base Station Construction \texttt{B. Base Station Construction} B. Base Station Construction :简单普通优化 dp \texttt{dp} dp 题。
C. Trading \texttt{C. Trading} C. Trading :简单普通贪心题。
D. New Houses \texttt{D. New Houses} D. New Houses :简单普通贪心题。
∘ E. New but Nostalgic Problem {^{\circ}}\texttt{E. New but Nostalgic Problem} ∘ E. New but Nostalgic Problem :简单普通字符串 Trie \texttt{Trie} Trie 树上贪心题。
∘ F. Traveling in Cells {^{\circ}}\texttt{F. Traveling in Cells} ∘ F. Traveling in Cells :简单普通数据结构题。
G. Swapping Operation \texttt{G. Swapping Operation} G. Swapping Operation
∗ ∘ H. Canvas ^{*}{^{\circ}}\texttt{H. Canvas} ∗ ∘ H. Canvas :简单有趣图论贪心题。
∘ I. Path Planning {^{\circ}}\texttt{I. Path Planning} ∘ I. Path Planning :简单普通二分题。
∗ ∘ J. X Equals Y ^{*}{^{\circ}}\texttt{J. X Equals Y} ∗ ∘ J. X Equals Y :简单有趣数据分治题。
K. Peg Solitaire \texttt{K. Peg Solitaire} K. Peg Solitaire :简单普通搜索题。
L. Classic Problem \texttt{L. Classic Problem} L. Classic Problem
M. Computational Geometry \texttt{M. Computational Geometry} M. Computational Geometry :简单普通计算几何 & \texttt{\&} & 区间 dp \texttt{dp} dp 题。
Others \large\color{blue}\Large\texttt{Others} Others
DTCPC 2024 \large\texttt{DTCPC 2024} DTCPC 2024
∗ A. The last permutation ^{*}\texttt{A. The last permutation} ∗ A. The last permutation :简单有趣交互题。
∘ B. Ultra {^{\circ}}\texttt{B. Ultra} ∘ B. Ultra :简单普通结论题。
∘ C. 小方的疑惑 10 {^{\circ}}\texttt{C. 小方的疑惑 10} ∘ C. 小方的疑惑 10 :简单普通背包 & \texttt{\&} & 构造题。
D. 序列 \texttt{D. 序列} D. 序列
E. 平方树 \texttt{E. 平方树} E. 平方树
F. 戈布 \texttt{F. 戈布} F. 戈布
G. 人赢的跳棋 \texttt{G. 人赢的跳棋} G. 人赢的跳棋
H. 环 \texttt{H. 环} H. 环 :简单普通图论题。
I. 小方学乘法 \texttt{I. 小方学乘法} I. 小方学乘法
J. 0=1=0 \texttt{J. 0=1=0} J. 0=1=0 :简单普通构造题。
K. mex,min,max \texttt{K. mex,min,max} K. mex,min,max
L. 小方和小立方 \texttt{L. 小方和小立方} L. 小方和小立方 :简单普通诈骗题。
M. 取模 \texttt{M. 取模} M. 取模 :简单普通数学题。
NFLSPC 2024 \large\texttt{NFLSPC 2024} NFLSPC 2024
A. 所以 k 小生成树怎么做? \texttt{A. 所以 k 小生成树怎么做?} A. 所以 k 小生成树怎么做?
B. 真理祭坛 \texttt{B. 真理祭坛} B. 真理祭坛
C. 来点不那么魔怔的题面 \texttt{C. 来点不那么魔怔的题面} C. 来点不那么魔怔的题面
D. 挑战大数因子分解 \texttt{D. 挑战大数因子分解} D. 挑战大数因子分解
E. 1064 病毒 \texttt{E. 1064 病毒} E. 1064 病毒
F. 挑战停机问题 \texttt{F. 挑战停机问题} F. 挑战停机问题
G. 树 \texttt{G. 树} G. 树
H. 9.pop_book(); \texttt{H. 9.pop\_book();} H. 9.pop_book();
I. 绝不能忘记的事 … … \texttt{I. 绝不能忘记的事……} I. 绝不能忘记的事 ……
J. 啊,忘记了。 \texttt{J. 啊,忘记了。} J. 啊,忘记了。
K. 等差数列 \texttt{K. 等差数列} K. 等差数列
清北集训 \Huge\texttt{清北集训} 清北集训
北大集训 2021 \large\texttt{北大集训 2021} 北大集训 2021
D1T1. 末日魔法少女计划 \texttt{D1T1. 末日魔法少女计划} D1T1. 末日魔法少女计划
∗ ∗ ∘ D1T2. 魔塔 OL ^{**}{^{\circ}}\texttt{D1T2. 魔塔 OL} ∗∗ ∘ D1T2. 魔塔 OL :中等妙妙 bitset & \texttt{bitset \&} bitset & 贪心题。
D1T3. 基因编辑 \texttt{D1T3. 基因编辑} D1T3. 基因编辑 :简单无聊阅读理解题。
D2T1. 简单数据结构 \texttt{D2T1. 简单数据结构} D2T1. 简单数据结构
D2T2. Datalab \texttt{D2T2. Datalab} D2T2. Datalab
D2T3. 随机游走 \texttt{D2T3. 随机游走} D2T3. 随机游走
∗ ∗ ( D3T1. 小明的树 ^{**(}\texttt{D3T1. 小明的树} ∗∗ ( D3T1. 小明的树 :中等妙妙数据结构优化结论题。
∗ ∘ D3T2. 出题高手 ^{*}{^{\circ}}\texttt{D3T2. 出题高手} ∗ ∘ D3T2. 出题高手 :简单有趣性质(基于随机)& \texttt{\&} & 数据分治题。
D3T3. 扑克比大小 \texttt{D3T3. 扑克比大小} D3T3. 扑克比大小
D4T1. 算术 \texttt{D4T1. 算术} D4T1. 算术
D4T2. 经典游戏 \texttt{D4T2. 经典游戏} D4T2. 经典游戏
D4T3. 随机数据 \texttt{D4T3. 随机数据} D4T3. 随机数据
各省集训 \Huge\texttt{各省集训} 各省集训
湖南集训 \large\color{red}\texttt{湖南集训} 湖南集训
∗ ∘ D1T1. Hungry Rabbit ^{*}{^{\circ}}\texttt{D1T1. Hungry Rabbit} ∗ ∘ D1T1. Hungry Rabbit :中等有趣贪心题,感觉很经典但我不会啊。
D1T2. Clever Rabbit \texttt{D1T2. Clever Rabbit} D1T2. Clever Rabbit :简单普通结论优化 dfs \texttt{dfs} dfs 题。
∗ D1T3. Crazy Rabbit ^{*}\texttt{D1T3. Crazy Rabbit} ∗ D1T3. Crazy Rabbit :简单有趣计算几何结论转换题。
∘ D2T1. 大新闻 {^{\circ}}\texttt{D2T1. 大新闻} ∘ D2T1. 大新闻 :简单普通二合一概率期望题。
∘ D2T2. 更为厉害 {^{\circ}}\texttt{D2T2. 更为厉害} ∘ D2T2. 更为厉害 :简单普通树上数据结构题。
∗ D2T3. 图森 ^{*}\texttt{D2T3. 图森} ∗ D2T3. 图森 :简单有趣字符串动态规划题。
湖北集训 2014 \large\texttt{湖北集训 2014} 湖北集训 2014
A. 没有人的算术 \texttt{A. 没有人的算术} A. 没有人的算术
∘ B. 一个人的数论 {^{\circ}}\texttt{B. 一个人的数论} ∘ B. 一个人的数论 :简单普通莫比乌斯反演题。
C. 十万人的地铁 \texttt{C. 十万人的地铁} C. 十万人的地铁
北京省选集训 2019 \large\color{red}\texttt{北京省选集训 2019} 北京省选集训 2019
∗ ∗ ∘ A. 图的难题 ^{**}{^{\circ}}\texttt{A. 图的难题} ∗∗ ∘ A. 图的难题 :中等有趣结论网络流题(最大权闭合子图),用退流优化可以做到更优的复杂度通过加强版:【 UR #11 \texttt{UR \#11} UR #11 】元诞老人与丛林。
∗ B. 生成树计数 ^{*}\texttt{B. 生成树计数} ∗ B. 生成树计数 :简单普通生成函数矩阵树定理题,我用拉格朗日插值做的。
∘ C. 完美塔防 {^{\circ}}\texttt{C. 完美塔防} ∘ C. 完美塔防 :简单普通 2-SAT \texttt{2-SAT} 2-SAT 图论题,代码实现有一定难度,需要用到光路可逆的性质。
湖北省选模拟 2023 \large\texttt{湖北省选模拟 2023} 湖北省选模拟 2023
∗ D1T1. 棋圣 ^{*}\texttt{D1T1. 棋圣} ∗ D1T1. 棋圣 :简单有趣图论结论 & dp \texttt{\& dp} & dp 题。
D1T2. 日记 \texttt{D1T2. 日记} D1T2. 日记
D1T3. 调和 \texttt{D1T3. 调和} D1T3. 调和
∘ D2T1. 环山危路 {^{\circ}}\texttt{D2T1. 环山危路} ∘ D2T1. 环山危路 :简单普通模拟最小割题。
D2T2. 山路长环 \texttt{D2T2. 山路长环} D2T2. 山路长环
D2T3. 路环群山 \texttt{D2T3. 路环群山} D2T3. 路环群山
GDKOI 2023 提高组 \large\texttt{GDKOI 2023 提高组} GDKOI 2023 提高组
∗ ∗ D1T1. 矩阵 ^{**}\texttt{D1T1. 矩阵} ∗∗ D1T1. 矩阵 :简单妙妙矩阵乘法题。
D1T2. 错排 \texttt{D1T2. 错排} D1T2. 错排
∘ D1T3. 异或图 {^{\circ}}\texttt{D1T3. 异或图} ∘ D1T3. 异或图 :简单普通容斥题,我的做法有点抽象,复杂度是贝尔数。
∘ D2T1. 游戏 {^{\circ}}\texttt{D2T1. 游戏} ∘ D2T1. 游戏 :简单普通数据结构题,有一定实现难度。
D2T2. 马戏团里你最忙 \texttt{D2T2. 马戏团里你最忙} D2T2. 马戏团里你最忙
D2T3. 树 \texttt{D2T3. 树} D2T3. 树
GDKOI 2024 入门组 \large\texttt{GDKOI 2024 入门组} GDKOI 2024 入门组
D1T1. 刷野 I \texttt{D1T1. 刷野 I} D1T1. 刷野 I :简单普通贪心题。
D1T2. 刷野 II \texttt{D1T2. 刷野 II} D1T2. 刷野 II :简单普通贪心题。
D1T3. 刷野 III \texttt{D1T3. 刷野 III} D1T3. 刷野 III
D1T4. 切割 \texttt{D1T4. 切割} D1T4. 切割
D2T1. 捉迷藏 \texttt{D2T1. 捉迷藏} D2T1. 捉迷藏 :简单普通结论题。
∗ ∘ D2T2. 读书 ^{*}{^{\circ}}\texttt{D2T2. 读书} ∗ ∘ D2T2. 读书 :简单妙妙线段树题,是线段树的一个很有趣的应用。
∗ D2T3. 正方形扩展 ^{*}\texttt{D2T3. 正方形扩展} ∗ D2T3. 正方形扩展 :简单有趣数据结构题。
D2T4. EX 中缀表达式 \texttt{D2T4. EX 中缀表达式} D2T4. EX 中缀表达式
GDKOI 2024 提高组 \large\texttt{GDKOI 2024 提高组} GDKOI 2024 提高组
D1T1. 匹配 \texttt{D1T1. 匹配} D1T1. 匹配
D1T2. 新本格魔法少女 \texttt{D1T2. 新本格魔法少女} D1T2. 新本格魔法少女
D1T3. 鸡 \texttt{D1T3. 鸡} D1T3. 鸡
D2T1. 不休陀螺 \texttt{D2T1. 不休陀螺} D2T1. 不休陀螺 :简单普通数据结构维护性质题。
∘ D2T2. 计算 {^{\circ}}\texttt{D2T2. 计算} ∘ D2T2. 计算 :简单普通推式子题。
∗ ∘ D2T3. 染色 ^{*}{^{\circ}}\texttt{D2T3. 染色} ∗ ∘ D2T3. 染色 :简单妙妙构造题。
欧洲地区 \Huge\texttt{欧洲地区} 欧洲地区
EGOI \color{blue}\Large\texttt{EGOI} EGOI
EGOI2021 \large\texttt{EGOI2021} EGOI2021
D1T1. Number Of Zeroes \texttt{D1T1. Number Of Zeroes} D1T1. Number Of Zeroes
D1T2. Luna Likes Love \texttt{D1T2. Luna Likes Love} D1T2. Luna Likes Love
D1T3. Twin Cookies \texttt{D1T3. Twin Cookies} D1T3. Twin Cookies
D1T4. Lanterns \texttt{D1T4. Lanterns} D1T4. Lanterns
D2T1. Shopping Fever \texttt{D2T1. Shopping Fever} D2T1. Shopping Fever
D2T2. Railway \texttt{D2T2. Railway} D2T2. Railway
D2T3. Angry Cows \texttt{D2T3. Angry Cows} D2T3. Angry Cows
D2T4. Double Move \texttt{D2T4. Double Move} D2T4. Double Move
EGOI2022 \large\texttt{EGOI2022} EGOI2022
D1T1. SubsetMex \texttt{D1T1. SubsetMex} D1T1. SubsetMex
D1T2. Lego Wall \texttt{D1T2. Lego Wall} D1T2. Lego Wall
D1T3. Social Engineering \texttt{D1T3. Social Engineering} D1T3. Social Engineering
D1T4. Tourists \texttt{D1T4. Tourists} D1T4. Tourists
D2T1. Data Centers \texttt{D2T1. Data Centers} D2T1. Data Centers
D2T2. Superpiece \texttt{D2T2. Superpiece} D2T2. Superpiece
D2T3. Toy Design \texttt{D2T3. Toy Design} D2T3. Toy Design
D2T4. Chika Wants to Cheat \texttt{D2T4. Chika Wants to Cheat} D2T4. Chika Wants to Cheat
WC / CTS(C) \Huge\texttt{WC / CTS(C)} WC / CTS(C)
WC 2016 \large\color{red}\texttt{WC 2016} WC 2016
∗ ∗ ∗ A. 挑战 NPC ^{***}\texttt{A. 挑战 NPC} ∗∗∗ A. 挑战 NPC :中等妙妙一般图最大匹配题,难点在建图。
∗ ∗ ∘ B. 论战捆竹竿 ^{**}{^{\circ}}\texttt{B. 论战捆竹竿} ∗∗ ∘ B. 论战捆竹竿 :中等有趣 Border \texttt{Border} Border 理论 & \texttt{\&} & 优化同余最短路题。
-C-. -鏖-战-表-达-式- \texttt{-C-. -鏖-战-表-达-式-} -C-. - 鏖 - 战 - 表 - 达 - 式 -
WC 2017 \large\texttt{WC 2017} WC 2017
A. 棋盘 \texttt{A. 棋盘} A. 棋盘
∘ B. 挑战 {^{\circ}}\texttt{B. 挑战} ∘ B. 挑战 :中等普通卡常题。
∗ ∗ ∗ ∗ ∗ ∘ C. 排序 ^{*****}{^{\circ}}\texttt{C. 排序} ∗∗∗∗∗ ∘ C. 排序 :超级牛的困难提交答案题!以原排列、循环和一种很新也很有趣的方式来分析同一道排列排序题,大家快来做!
WC 2018 \large\texttt{WC 2018} WC 2018
∗ ∗ ∘ A. 通道 ^{**}{^{\circ}}\texttt{A. 通道} ∗∗ ∘ A. 通道 :中等妙妙数据结构大杂烩题,做法一车,我随机过的。
B. 州区划分 \texttt{B. 州区划分} B. 州区划分 :简单普通 FWT \texttt{FWT} FWT 题,有点硬凑的部分。
C. 即时战略 \texttt{C. 即时战略} C. 即时战略
WC 2019 \large\texttt{WC 2019} WC 2019
A. 数树 \texttt{A. 数树} A. 数树
∗ ∘ B. 远古计算机 ^{*}{^{\circ}}\texttt{B. 远古计算机} ∗ ∘ B. 远古计算机 :中等有趣提交答案题,主要是有关信息传输的。
∗ ∗ ∘ C. I 君的商店 ^{**}{^{\circ}}\texttt{C. I 君的商店} ∗∗ ∘ C. I 君的商店 :中等妙妙交互题,部分分很有启发性。
WC 2020 \large\texttt{WC 2020} WC 2020
A. 选课 \texttt{A. 选课} A. 选课
B. 有根树 \texttt{B. 有根树} B. 有根树
C. 猜数游戏 \texttt{C. 猜数游戏} C. 猜数游戏
WC 2021 \large\color{red}\texttt{WC 2021} WC 2021
∗ ∗ A. 括号路径 ^{**}\texttt{A. 括号路径} ∗∗ A. 括号路径 :中等妙妙图论题,观察到了传递性的性质之后只需要使用一个简单的并查集。
∗ ∘ B. 表达式求值 ^{*}{^{\circ}}\texttt{B. 表达式求值} ∗ ∘ B. 表达式求值 :简单有趣 dp \texttt{dp} dp 题,感觉用了一步转换后就没啥难度了。
C. 斐波那契 \texttt{C. 斐波那契} C. 斐波那契 :这很难评。
其他 \Huge\texttt{其他} 其他
NOI online \color{blue}\Large\texttt{NOI online} NOI online
NOI Online #1 入门组 \large\texttt{NOI Online \#1 入门组} NOI Online #1 入门组
A. 文具订购 \texttt{A. 文具订购} A. 文具订购
B. 跑步 \texttt{B. 跑步} B. 跑步
C. 魔法 \texttt{C. 魔法} C. 魔法
NOI Online #1 提高组 \large\texttt{NOI Online \#1 提高组} NOI Online #1 提高组
A. 序列 \texttt{A. 序列} A. 序列
B. 冒泡排序 \texttt{B. 冒泡排序} B. 冒泡排序
C. 最小环 \texttt{C. 最小环} C. 最小环
NOI Online #2 入门组 \large\texttt{NOI Online \#2 入门组} NOI Online #2 入门组
A. 未了 \texttt{A. 未了} A. 未了
B. 荆轲刺秦王 \texttt{B. 荆轲刺秦王} B. 荆轲刺秦王
C. 建设城市 \texttt{C. 建设城市} C. 建设城市
NOI Online #2 提高组 \large\texttt{NOI Online \#2 提高组} NOI Online #2 提高组
A. 涂色游戏 \texttt{A. 涂色游戏} A. 涂色游戏
B. 子序列问题 \texttt{B. 子序列问题} B. 子序列问题
C. 游戏 \texttt{C. 游戏} C. 游戏
NOI Online #3 入门组 \large\texttt{NOI Online \#3 入门组} NOI Online #3 入门组
A. 最急救助 \texttt{A. 最急救助} A. 最急救助
B. 观星 \texttt{B. 观星} B. 观星
C. 买表 \texttt{C. 买表} C. 买表
NOI Online #3 提高组 \large\texttt{NOI Online \#3 提高组} NOI Online #3 提高组
A. 水壶 \texttt{A. 水壶} A. 水壶
B. 魔法值 \texttt{B. 魔法值} B. 魔法值
C. 优秀子序列 \texttt{C. 优秀子序列} C. 优秀子序列
NOI Online 2021 入门组 \large\texttt{NOI Online 2021 入门组} NOI Online 2021 入门组
A. 切蛋糕 \texttt{A. 切蛋糕} A. 切蛋糕
B. 吃豆人 \texttt{B. 吃豆人} B. 吃豆人
C. 重力球 \texttt{C. 重力球} C. 重力球
NOI Online 2021 提高组 \large\texttt{NOI Online 2021 提高组} NOI Online 2021 提高组
A. 愤怒的小 N \texttt{A. 愤怒的小 N} A. 愤怒的小 N
B. 积木小赛 \texttt{B. 积木小赛} B. 积木小赛
C. 岛屿探险 \texttt{C. 岛屿探险} C. 岛屿探险
NOI Online 2022 入门组 \large\texttt{NOI Online 2022 入门组} NOI Online 2022 入门组
A. 王国比赛 \texttt{A. 王国比赛} A. 王国比赛
B. 数学游戏 \texttt{B. 数学游戏} B. 数学游戏
C. 字符串 \texttt{C. 字符串} C. 字符串
NOI Online 2022 提高组 \large\texttt{NOI Online 2022 提高组} NOI Online 2022 提高组
A. 丹钓战 \texttt{A. 丹钓战} A. 丹钓战
B. 讨论 \texttt{B. 讨论} B. 讨论
C. 如何正确地排序 \texttt{C. 如何正确地排序} C. 如何正确地排序
Others \color{blue}\Large\texttt{Others} Others
xtq Round \color{red}\large\texttt{xtq Round} xtq Round
∗ A. xtq 的定向越野 ^{*}\texttt{A. xtq 的定向越野} ∗ A. xtq 的定向越野 :简单有趣数学题。
∗ ∘ B. xtq 的棋盘 ^{*}{^{\circ}}\texttt{B. xtq 的棋盘} ∗ ∘ B. xtq 的棋盘 :简单有趣数学推式子题。
∘ C. xtq 的口令 {^{\circ}}\texttt{C. xtq 的口令} ∘ C. xtq 的口令 :简单普通数据结构题。
∘ D. xtq 的神笔 {^{\circ}}\texttt{D. xtq 的神笔} ∘ D. xtq 的神笔 :简单普通套路题。
∗ E. xtq 的魔塔 ^{*}\texttt{E. xtq 的魔塔} ∗ E. xtq 的魔塔 :简单有趣 Kruskal \texttt{Kruskal} Kruskal 重构树 & \texttt{\&} & 数据结构题。
∘ F. xtq 的异或和 {^{\circ}}\texttt{F. xtq 的异或和} ∘ F. xtq 的异或和 :简单普通数学题。
Cfz Round 2 \color{red}\large\texttt{Cfz Round 2} Cfz Round 2
A. How to Prove \texttt{A. How to Prove} A. How to Prove :简单普通结论题。
∘ B. Binary {^{\circ}}\texttt{B. Binary} ∘ B. Binary :简单普通数学题。
∗ C. Osmanthus ^{*}\texttt{C. Osmanthus} ∗ C. Osmanthus :简单有趣数学结论题。
∘ D. Max of Distance {^{\circ}}\texttt{D. Max of Distance} ∘ D. Max of Distance :简单普通构造题。
∗ E. 01 String ^{*}\texttt{E. 01 String} ∗ E. 01 String :简单有趣数学题。
∗ F. Weighted Mean ^{*}\texttt{F. Weighted Mean} ∗ F. Weighted Mean :中等有趣分类讨论题。
NaCly_Fish’s Math Contest 2 \large\texttt{NaCly\_Fish's Math Contest 2} NaCly_Fish’s Math Contest 2
∘ A. 勇气(Courage) {^{\circ}}\texttt{A. 勇气(Courage)} ∘ A. 勇气( Courage ) :简单普通数学题。
∘ B. 奉献(Dedication) {^{\circ}}\texttt{B. 奉献(Dedication)} ∘ B. 奉献( Dedication ) :简单普通数论题。
∗ C. 高洁(Purity) ^{*}\texttt{C. 高洁(Purity)} ∗ C. 高洁( Purity ) :简单有趣数论题。
∘ D. 理性(Rationality) {^{\circ}}\texttt{D. 理性(Rationality)} ∘ D. 理性( Rationality ) :简单普通物竞题。
E. 洞察(Insight) \texttt{E. 洞察(Insight)} E. 洞察( Insight )
F. 超越(Transcendent) \texttt{F. 超越(Transcendent)} F. 超越( Transcendent )
∗ ∘ G. 自由(Freedom) ^{*}{^{\circ}}\texttt{G. 自由(Freedom)} ∗ ∘ G. 自由( Freedom ) :中等有趣提交答案题。
LAOI-4 \large\texttt{LAOI-4} LAOI-4
∘ A. Colors {^{\circ}}\texttt{A. Colors} ∘ A. Colors :简单普通结论题。
∘ B. Mex Tower (Easy ver.) {^{\circ}}\texttt{B. Mex Tower (Easy ver.)} ∘ B. Mex Tower (Easy ver.) :简单普通构造题。
∗ C. Mex Tower (Hard ver.) ^{*}\texttt{C. Mex Tower (Hard ver.)} ∗ C. Mex Tower (Hard ver.) :简单有趣结论题。
∗ D. 石头 ^{*}\texttt{D. 石头} ∗ D. 石头 :简单有趣单调栈数数题。
洛谷 NOIP2022 模拟赛 \large\texttt{洛谷 NOIP2022 模拟赛} 洛谷 NOIP2022 模拟赛
∗ ∘ A. 折线 ^{*}{^{\circ}}\texttt{A. 折线} ∗ ∘ A. 折线 :简单有趣结论题。
B. 冒泡排序 \texttt{B. 冒泡排序} B. 冒泡排序
C. 动态图连通性 \texttt{C. 动态图连通性} C. 动态图连通性
D. 线段 \texttt{D. 线段} D. 线段
洛谷 NOIP2023 模拟赛 \color{red}\large\texttt{洛谷 NOIP2023 模拟赛} 洛谷 NOIP2023 模拟赛
A. 种树 \texttt{A. 种树} A. 种树 :简单无聊数论题,感觉有点硬凑。
∗ B. 汪了个汪 ^{*}\texttt{B. 汪了个汪} ∗ B. 汪了个汪 :中等有趣构造题,感觉有点抽象。
∗ ∘ C. 挑战 NPC IV ^{*}{^{\circ}}\texttt{C. 挑战 NPC IV} ∗ ∘ C. 挑战 NPC IV :中等有趣数据分治题。
∗ ∗ ∘ D. 四暗刻单骑 ^{**}{^{\circ}}\texttt{D. 四暗刻单骑} ∗∗ ∘ D. 四暗刻单骑 :中等妙妙推性质 & \texttt{\&} & 数据结构题。
KSN 2021 \large\color{red}\texttt{KSN 2021} KSN 2021
D1T1. Self Defence \texttt{D1T1. Self Defence} D1T1. Self Defence :简单普通前缀和优化 dp \texttt{dp} dp 题。
∗ ∘ D1T2. Binary Sea ^{*}{^{\circ}}\texttt{D1T2. Binary Sea} ∗ ∘ D1T2. Binary Sea :简单有趣数学题 & \texttt{\&} & 数位 dp \texttt{dp} dp 题,需要一些对二进制的理解和一些刻画。
∗ ∘ D1T3. Colouring Balls ^{*}{^{\circ}}\texttt{D1T3. Colouring Balls} ∗ ∘ D1T3. Colouring Balls :简单有趣数据分治交互题。
∗ ∗ D2T1. Self Permutation ^{**}\texttt{D2T1. Self Permutation} ∗∗ D2T1. Self Permutation :简单有趣笛卡尔树上树形 dp \texttt{dp} dp 题。
∗ ∗ D2T2. Binary Land ^{**}\texttt{D2T2. Binary Land} ∗∗ D2T2. Binary Land :简单有趣二进制拆位优化并查集建图题。
∘ D2T3. Delivering Balls {^{\circ}}\texttt{D2T3. Delivering Balls} ∘ D2T3. Delivering Balls :简单普通推算 & \texttt{\&} & ST \texttt{ST} ST 表题。
推荐文章