Codeforces problemset search & solutions
Exclude tags.

Review the problem statement from Codeforces (link will open a new tab). When you've matched your problem, go to the solutions.

Search on plain tags, ratings, names, and problem text. Example: brute force or binary search

< 1 2 3 ... 8 9 10 11 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
2446 Snakes bitmasks dp graphs Statement G Codeforces Round 995 (Div. 3) {2051} PROGRAMMING 137623
3790 Fix Flooded Floor constructive algorithms dp Statement F 2024-2025 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2052} PROGRAMMING
396 Managing Cluster dp graphs math trees Statement M 2024-2025 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2052} PROGRAMMING
12432 Bewitching Stargazer bitmasks divide and conquer dp math Statement C Good Bye 2024: 2025 is NEAR {2053} PROGRAMMING 1250.0 Good Bye 2024: 2025 is NEAR Editorial
108 Affectionate Arrays (Hard Version) data structures dp graphs greedy math shortest paths two pointers Statement I2 Good Bye 2024: 2025 is NEAR {2053} PROGRAMMING 2000.0 Good Bye 2024: 2025 is NEAR Editorial
953 Earnest Matrix Complement data structures dp greedy implementation Statement F Good Bye 2024: 2025 is NEAR {2053} PROGRAMMING 2500.0 Good Bye 2024: 2025 is NEAR Editorial
4541 Resourceful Caterpillar Sequence dfs and similar dp games graphs implementation trees Statement E Good Bye 2024: 2025 is NEAR {2053} PROGRAMMING 2000.0 Good Bye 2024: 2025 is NEAR Editorial
21296 Tender Carpenter dp geometry implementation math Statement A Good Bye 2024: 2025 is NEAR {2053} PROGRAMMING 500.0 Good Bye 2024: 2025 is NEAR Editorial
563 Affectionate Arrays (Easy Version) dp greedy Statement I1 Good Bye 2024: 2025 is NEAR {2053} PROGRAMMING 3000.0 Good Bye 2024: 2025 is NEAR Editorial
449 Xor of Median (Easy Version) bitmasks combinatorics dp math Statement F1 Codeforces Round 997 (Div. 2) {2056} PROGRAMMING 2750.0 Codeforces Round #997 (Div. 2) Editorial
1053 Nested Segments combinatorics dp math trees Statement E Codeforces Round 997 (Div. 2) {2056} PROGRAMMING 2250.0 Codeforces Round #997 (Div. 2) Editorial
2651 Another Exercise on Graphs (Easy Version) binary search brute force dp graphs shortest paths Statement E1 Hello 2025 {2057} PROGRAMMING 1000.0
246 Formation dp sortings Statement F Hello 2025 {2057} PROGRAMMING 3500.0
6623 Graph and Graph data structures graphs greedy shortest paths Statement D Codeforces Round 1002 (Div. 2) {2059} PROGRAMMING 2000.0 139094
2612 Multiplicative Arrays combinatorics dp Statement F Codeforces Round 998 (Div. 3) {2060} PROGRAMMING Codeforces Round 998 (Div. 3) Editorial
1319 Bugged Sort dp greedy sortings Statement G Codeforces Round 998 (Div. 3) {2060} PROGRAMMING Codeforces Round 998 (Div. 3) Editorial
2282 Kevin and Binary String (Easy Version) binary search brute force data structures dp greedy implementation strings two pointers Statement F1 IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) {2061} PROGRAMMING 2000.0 IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) Editorial
4019 Kevin and And bitmasks brute force dp greedy Statement E IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) {2061} PROGRAMMING 2000.0 IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) Editorial
10047 Kevin and Puzzle data structures dp Statement C IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) {2061} PROGRAMMING 1500.0 IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) Editorial
152 Kevin and Binary String (Hard Version) data structures dp Statement F2 IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) {2061} PROGRAMMING 2000.0 IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) Editorial
131 Kevin and Nivek divide and conquer dp Statement I IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) {2061} PROGRAMMING 4500.0 IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) Editorial
178 Galaxy Generator bitmasks combinatorics dp Statement H Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) {2062} PROGRAMMING 4500.0 Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) Editorial
3572 Balanced Tree dfs and similar dp greedy trees Statement D Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) {2062} PROGRAMMING 2000.0 Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) Editorial
616 Traveling Salescat dp geometry greedy math sortings Statement F Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) {2062} PROGRAMMING 3500.0 Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) Editorial
5083 Game With Triangles binary search data structures dp greedy math ternary search two pointers Statement D Codeforces Round 1000 (Div. 2) {2063} PROGRAMMING 2250.0 Codeforces Round 1000 (Div. 2) — Editorial
14796 Remove Exactly Two brute force data structures dp graphs greedy sortings trees Statement C Codeforces Round 1000 (Div. 2) {2063} PROGRAMMING 1500.0 Codeforces Round 1000 (Div. 2) — Editorial
2399 Triangle Tree data structures dfs and similar dp dsu greedy trees Statement E Codeforces Round 1000 (Div. 2) {2063} PROGRAMMING 2750.0 Codeforces Round 1000 (Div. 2) — Editorial
17895 Remove the Ends brute force constructive algorithms dp greedy Statement C Codeforces Round 1005 (Div. 2) {2064} PROGRAMMING 1250.0 Codeforces Round 1005 (Div. 2) Editorial
1998 Bro Thinks He's Him combinatorics data structures dp matrices Statement H Codeforces Round 1003 (Div. 4) {2065} PROGRAMMING Video Tutorial
2541 Bitwise Slides bitmasks combinatorics dp math Statement C Codeforces Round 1004 (Div. 1) {2066} PROGRAMMING 1250.0 139415
1459 Club of Young Aircraft Builders (easy version) combinatorics dp math Statement D1 Codeforces Round 1004 (Div. 1) {2066} PROGRAMMING 750.0 139415
637 Club of Young Aircraft Builders (hard version) combinatorics dp math Statement D2 Codeforces Round 1004 (Div. 1) {2066} PROGRAMMING 1250.0 139415
73 Curse constructive algorithms dp math Statement F Codeforces Round 1004 (Div. 1) {2066} PROGRAMMING 3000.0 139415
12833 Devyatkino brute force dp greedy math Statement C Codeforces Round 1004 (Div. 2) {2067} PROGRAMMING 1250.0
19129 Two Large Bags dp greedy sortings Statement B Codeforces Round 1004 (Div. 2) {2067} PROGRAMMING 1000.0
267 Morse Code dp greedy sortings trees Statement D European Championship 2025 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {2068} PROGRAMMING 140239
14964 Beautiful Sequence combinatorics dp greedy Statement C Educational Codeforces Round 174 (Rated for Div. 2) {2069} PROGRAMMING 139774
11248 Tree Jumps combinatorics dfs and similar dp trees Statement D Educational Codeforces Round 175 (Rated for Div. 2) {2070} PROGRAMMING Video Tutorial
1110 Infinite Sequence (Hard Version) bitmasks constructive algorithms data structures dp implementation math Statement D2 Codeforces Round 1007 (Div. 2) {2071} PROGRAMMING 1250.0 Codeforces Round 1007 (Div. 2) Editorial
6750 Infinite Sequence (Easy Version) bitmasks dp math Statement D1 Codeforces Round 1007 (Div. 2) {2071} PROGRAMMING 1750.0 Codeforces Round 1007 (Div. 2) Editorial
2190 Game With Triangles: Season 2 dp greedy Statement G Codeforces Round 1009 (Div. 3) {2074} PROGRAMMING Codeforces Round 1009 (Div. 3) — Editorial
14519 Two Colors binary search data structures dp math Statement C Educational Codeforces Round 176 (Rated for Div. 2) {2075} PROGRAMMING Educational Codeforces Round 176 Editorial
5878 Equalization bitmasks brute force dp greedy math Statement D Educational Codeforces Round 176 (Rated for Div. 2) {2075} PROGRAMMING Educational Codeforces Round 176 Editorial
1190 XOR Matrix bitmasks dp Statement E Educational Codeforces Round 176 (Rated for Div. 2) {2075} PROGRAMMING Educational Codeforces Round 176 Editorial
266 AND x OR bitmasks constructive algorithms dp Statement F Codeforces Round 1008 (Div. 1) {2077} PROGRAMMING 2500.0 Codeforces Round 1008 (Div. 1, Div. 2) Editorial
617 Another Folding Strip combinatorics data structures divide and conquer dp math sortings Statement E Codeforces Round 1008 (Div. 1) {2077} PROGRAMMING 2250.0 Codeforces Round 1008 (Div. 1, Div. 2) Editorial
2393 Binary Subsequence Value Sum combinatorics dp fft implementation math Statement C Codeforces Round 1008 (Div. 1) {2077} PROGRAMMING 1500.0 Codeforces Round 1008 (Div. 1, Div. 2) Editorial
6598 Scammy Game Ad dp greedy math Statement D Codeforces Round 1008 (Div. 2) {2078} PROGRAMMING 1750.0 Codeforces Round 1008 (Div. 1, Div. 2) Editorial
38 Alice, Bob, And Two Arrays *special data structures dp games Statement A XIX Open Olympiad in Informatics - Final Stage, Day 1 (Unrated, Online Mirror, IOI rules) {2079} PROGRAMMING
156 Arithmetic Exercise *special data structures dp greedy Statement B XIX Open Olympiad in Informatics - Final Stage, Day 1 (Unrated, Online Mirror, IOI rules) {2079} PROGRAMMING
4122 Math Division bitmasks dp math probabilities Statement A Codeforces Round 1010 (Div. 1, Unrated) {2081} PROGRAMMING 500.0 Codeforces Round 1010 (Div. 1, Div. 2, based on Zhili Cup 2025) Editorial
85 Quantifier combinatorics dp implementation Statement E Codeforces Round 1010 (Div. 1, Unrated) {2081} PROGRAMMING 2250.0 Codeforces Round 1010 (Div. 1, Div. 2, based on Zhili Cup 2025) Editorial
109 Wish Upon a Satellite (Hard Version) data structures dp Statement G2 Teza Round 1 (Codeforces Round 1015, Div. 1 + Div. 2) {2084} PROGRAMMING 1750.0 141155
114 Turtle and Nediam 2 dp Statement H Teza Round 1 (Codeforces Round 1015, Div. 1 + Div. 2) {2084} PROGRAMMING 3750.0 141155
759 Wish Upon a Satellite (Easy Version) dp games greedy Statement G1 Teza Round 1 (Codeforces Round 1015, Div. 1 + Div. 2) {2084} PROGRAMMING 2500.0 141155
19116 Large Array and Segments binary search brute force dp greedy math Statement B Educational Codeforces Round 177 (Rated for Div. 2) {2086} PROGRAMMING Educational Codeforces Round 177 Editorial
1678 Zebra-like Numbers bitmasks brute force dfs and similar dp math Statement E Educational Codeforces Round 177 (Rated for Div. 2) {2086} PROGRAMMING Educational Codeforces Round 177 Editorial
8459 Even String combinatorics dp math strings Statement D Educational Codeforces Round 177 (Rated for Div. 2) {2086} PROGRAMMING Educational Codeforces Round 177 Editorial
163 Color the Arrows *special *special dp dp Statement E Kotlin Heroes: Episode 12 {2087} PROGRAMMING 141608
70 Weapon Upgrade *special *special dp dp Statement F Kotlin Heroes: Episode 12 {2087} PROGRAMMING 141608
1468 Key of Like (Easy Version) dp math probabilities Statement C1 Codeforces Round 1012 (Div. 1) {2089} PROGRAMMING 1000.0 Codeforces Round 1012 (Div.1, Div. 2, based on THUPC 2025 — Finals) Editorial
263 Key of Like (Hard Version) dp math probabilities Statement C2 Codeforces Round 1012 (Div. 1) {2089} PROGRAMMING 1250.0 Codeforces Round 1012 (Div.1, Div. 2, based on THUPC 2025 — Finals) Editorial
6199 Igor and Mountain binary search brute force dp Statement F Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
1537 Gleb and Boating brute force constructive algorithms data structures dp graphs greedy math shortest paths Statement G Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
32862 Team Training dp greedy sortings Statement B Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
227 Wonderful XOR Problem bitmasks combinatorics dp fft math Statement H Neowise Labs Contest 1 (Codeforces Round 1018, Div. 1 + Div. 2) {2096} PROGRAMMING 3500.0 Neowise Labs Contest 1 (Codeforces Round 1018, Div. 1 + Div. 2) Editorial
8297 Wonderful City dp implementation Statement C Neowise Labs Contest 1 (Codeforces Round 1018, Div. 1 + Div. 2) {2096} PROGRAMMING 1500.0 Neowise Labs Contest 1 (Codeforces Round 1018, Div. 1 + Div. 2) Editorial
188 Lost Luggage dp Statement F Codeforces Round 1021 (Div. 1) {2097} PROGRAMMING 3500.0 142316
161 Shoo Shatters the Sunshine combinatorics dp trees Statement F Codeforces Round 1024 (Div. 1) {2101} PROGRAMMING 3750.0 142788
538 Kia Bakes a Cake data structures dp graphs greedy Statement E Codeforces Round 1024 (Div. 1) {2101} PROGRAMMING 3250.0 142788
10678 Median Splits dp greedy Statement C Codeforces Round 1019 (Div. 2) {2103} PROGRAMMING 1500.0 142149
8173 Unpleasant Strings binary search data structures dp greedy strings Statement E Educational Codeforces Round 178 (Rated for Div. 2) {2104} PROGRAMMING Educational Codeforces Round 178 Editorial
20927 Move to the End brute force data structures dp greedy Statement B Educational Codeforces Round 178 (Rated for Div. 2) {2104} PROGRAMMING Educational Codeforces Round 178 Editorial
731 Numbers and Strings brute force dfs and similar dp implementation math Statement F Educational Codeforces Round 178 (Rated for Div. 2) {2104} PROGRAMMING Educational Codeforces Round 178 Editorial
12404 Flower Boy binary search dp greedy two pointers Statement D Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
4463 Goblin dp dsu greedy math Statement F Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
513 Cycling (Hard Version) binary search data structures dp geometry greedy Statement F2 Codeforces Round 1023 (Div. 2) {2107} PROGRAMMING 2500.0 Codeforces Round 1023 (Div 2) Editorial
1835 Cycling (Easy Version) dp greedy Statement F1 Codeforces Round 1023 (Div. 2) {2107} PROGRAMMING 2250.0 Codeforces Round 1023 (Div 2) Editorial
1804 Binary String Wowee combinatorics dp strings Statement E Codeforces Round 1025 (Div. 2) {2109} PROGRAMMING 2500.0 Codeforces Round 1025 (Div. 2) Editorial
8690 Fewer Batteries binary search dfs and similar dp graphs greedy Statement D Codeforces Round 1026 (Div. 2) {2110} PROGRAMMING 2000.0 Codeforces Round 1026 (Div. 2) Editorial
15974 Racing constructive algorithms dp greedy Statement C Codeforces Round 1026 (Div. 2) {2110} PROGRAMMING 1500.0 Codeforces Round 1026 (Div. 2) Editorial
18017 Fibonacci Cubes brute force dp implementation math Statement B Educational Codeforces Round 179 (Rated for Div. 2) {2111} PROGRAMMING Educational Codeforces Round 179 Editorial
3413 Tree Colorings combinatorics dp graphs math trees Statement E Educational Codeforces Round 180 (Rated for Div. 2) {2112} PROGRAMMING Educational Codeforces Round 180 — Editorial
9565 Reachability and Tree constructive algorithms dfs and similar dp trees Statement D Educational Codeforces Round 180 (Rated for Div. 2) {2112} PROGRAMMING Educational Codeforces Round 180 — Editorial
8074 Smilo and Minecraft brute force constructive algorithms dp greedy Statement C Codeforces Round 1031 (Div. 2) {2113} PROGRAMMING 1250.0 Codeforces Round #1031 Editorial
5538 Small Operations binary search bitmasks brute force dfs and similar dp math number theory sortings Statement F Codeforces Round 1027 (Div. 3) {2114} PROGRAMMING 143268
2051 Build an Array bitmasks dp math number theory Statement G Codeforces Round 1027 (Div. 3) {2114} PROGRAMMING 143268
14148 Kirei Attacks the Estate dfs and similar dp trees Statement E Codeforces Round 1027 (Div. 3) {2114} PROGRAMMING 143268
15366 Gellyfish and Flaming Peony brute force constructive algorithms dp greedy math number theory shortest paths Statement A Codeforces Round 1028 (Div. 1) {2115} PROGRAMMING 500.0 Codeforces Round 1028 (Div.1, Div.2) Editorial
971 Gellyfish and Eternal Violet combinatorics dp greedy math meet-in-the-middle probabilities Statement C Codeforces Round 1028 (Div. 1) {2115} PROGRAMMING 1750.0 Codeforces Round 1028 (Div.1, Div.2) Editorial
4174 Gellyfish and Camellia Japonica constructive algorithms dfs and similar dp graphs greedy Statement B Codeforces Round 1028 (Div. 1) {2115} PROGRAMMING 1250.0 Codeforces Round 1028 (Div.1, Div.2) Editorial
244 Gellyfish and Mayflower dp graphs Statement E Codeforces Round 1028 (Div. 1) {2115} PROGRAMMING 3000.0 Codeforces Round 1028 (Div.1, Div.2) Editorial
2519 Red Light, Green Light (Hard version) binary search dfs and similar dp dsu graphs implementation number theory Statement D2 Codeforces Round 1030 (Div. 2) {2118} PROGRAMMING 1000.0 Codeforces Round 1030 (Div. 2) Editorial
8527 Red Light, Green Light (Easy version) brute force dfs and similar dp graphs implementation Statement D1 Codeforces Round 1030 (Div. 2) {2118} PROGRAMMING 1250.0 Codeforces Round 1030 (Div. 2) Editorial
714 And Constraint bitmasks dp greedy implementation Statement E Codeforces Round 1035 (Div. 2) {2119} PROGRAMMING 2500.0 Codeforces Round 1035 (Div. 2) Editorial
3500 Token Removing combinatorics dp math Statement D Codeforces Round 1035 (Div. 2) {2119} PROGRAMMING 2250.0 Codeforces Round 1035 (Div. 2) Editorial
175 Volcanic Eruptions dfs and similar dp Statement F Codeforces Round 1035 (Div. 2) {2119} PROGRAMMING 3000.0 Codeforces Round 1035 (Div. 2) Editorial
1881 Lanes of Cars binary search dp ternary search Statement E Codeforces Round 1033 (Div. 2) and CodeNite 2025 {2120} PROGRAMMING 2500.0 Codeforces Round 1033 (Div. 2) and CodeNite 2025 Editorial
110 Eulerian Line Graph graphs greedy math Statement G Codeforces Round 1033 (Div. 2) and CodeNite 2025 {2120} PROGRAMMING 4000.0 Codeforces Round 1033 (Div. 2) and CodeNite 2025 Editorial
2275 Ice Baby binary search brute force data structures dp implementation sortings Statement H Codeforces Round 1032 (Div. 3) {2121} PROGRAMMING Codeforces Round 1032 (Div. 3) Editorial
2540 Traffic Lights brute force dp graphs shortest paths Statement D Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) {2122} PROGRAMMING 2000.0 Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) Editorial
1261 Greedy Grid Counting dp greedy math Statement E Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) {2122} PROGRAMMING 2500.0 Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) Editorial
1794 Appending Permutations (Easy Version) combinatorics dp Statement F1 EPIC Institute of Technology Round Summer 2025 (Codeforces Round 1036, Div. 1 + Div. 2) {2124} PROGRAMMING 2000.0 EPIC Institute of Technology Round Summer 2025 (Codeforces Round 1036, Div. 1 + Div. 2) Editorial
603 Appending Permutations (Hard Version) combinatorics dp Statement F2 EPIC Institute of Technology Round Summer 2025 (Codeforces Round 1036, Div. 1 + Div. 2) {2124} PROGRAMMING 2000.0 EPIC Institute of Technology Round Summer 2025 (Codeforces Round 1036, Div. 1 + Div. 2) Editorial
223 Longest Good Subsequence dp math Statement H EPIC Institute of Technology Round Summer 2025 (Codeforces Round 1036, Div. 1 + Div. 2) {2124} PROGRAMMING 4750.0 EPIC Institute of Technology Round Summer 2025 (Codeforces Round 1036, Div. 1 + Div. 2) Editorial
406 Timofey and Docker binary search dp Statement F Educational Codeforces Round 181 (Rated for Div. 2) {2125} PROGRAMMING Educational Codeforces Round 181 Editorial
1426 Sets of Complementary Sums combinatorics dp math two pointers Statement E Educational Codeforces Round 181 (Rated for Div. 2) {2125} PROGRAMMING Educational Codeforces Round 181 Editorial
22968 Count Good Numbers combinatorics math number theory Statement C Educational Codeforces Round 181 (Rated for Div. 2) {2125} PROGRAMMING Educational Codeforces Round 181 Editorial
9392 Segments Covering dp probabilities Statement D Educational Codeforces Round 181 (Rated for Div. 2) {2125} PROGRAMMING Educational Codeforces Round 181 Editorial
4349 1-1-1, Free Tree! data structures dfs and similar graphs trees Statement F Codeforces Round 1037 (Div. 3) {2126} PROGRAMMING 144845
38030 No Casino in the Mountains dp greedy Statement B Codeforces Round 1037 (Div. 3) {2126} PROGRAMMING 144845
853 23 Rises Again brute force data structures dfs and similar dp flows graphs implementation probabilities trees Statement H Atto Round 1 (Codeforces Round 1041, Div. 1 + Div. 2) {2127} PROGRAMMING 4000.0 Atto Round 1 (Codeforces Round 1041, Div. 1 + Div. 2) Editorial
6674 Submedians (Easy Version) binary search data structures dp greedy Statement E1 Codeforces Round 1039 (Div. 2) {2128} PROGRAMMING 1750.0 Codeforces Round #1039 — Editorial
12533 Sum of LDS combinatorics dp math Statement D Codeforces Round 1039 (Div. 2) {2128} PROGRAMMING 1750.0 Codeforces Round #1039 — Editorial
1707 Interactive RBS (Hard Version) binary search bitmasks constructive algorithms dp interactive Statement C3 Codeforces Round 1040 (Div. 1) {2129} PROGRAMMING 750.0 Codeforces Round 1040 (Div. 1, Div. 2) Editorial
1213 Permutation Blackhole combinatorics dp Statement D Codeforces Round 1040 (Div. 1) {2129} PROGRAMMING 2000.0 Codeforces Round 1040 (Div. 1, Div. 2) Editorial
13717 Stay or Mirror constructive algorithms data structures dp greedy Statement B Codeforces Round 1040 (Div. 1) {2129} PROGRAMMING 1000.0 Codeforces Round 1040 (Div. 1, Div. 2) Editorial
17136 Double Perspective constructive algorithms dp dsu greedy Statement A Codeforces Round 1040 (Div. 1) {2129} PROGRAMMING 500.0 Codeforces Round 1040 (Div. 1, Div. 2) Editorial
483 Induced Subgraph Queries data structures graphs sortings Statement E Codeforces Round 1040 (Div. 1) {2129} PROGRAMMING 3000.0 Codeforces Round 1040 (Div. 1, Div. 2) Editorial
3825 Wafu! bitmasks brute force dp math Statement G Codeforces Round 1042 (Div. 3) {2131} PROGRAMMING Codeforces Round 1042 (Div. 3) Editorial
8948 From 1 to Infinity binary search dp implementation math Statement D Codeforces Round 1043 (Div. 3) {2132} PROGRAMMING Codeforces Round 1043 (Div. 3) Editorial
7601 Chicken Jockey binary search brute force dp greedy math Statement D Codeforces Round 1044 (Div. 2) {2133} PROGRAMMING 2250.0 Codeforces Round 1044 (Div. 2) Editorial
468 Flint and Steel data structures dp Statement F Codeforces Round 1044 (Div. 2) {2133} PROGRAMMING 3250.0 Codeforces Round 1044 (Div. 2) Editorial
669 Permutation Oddness combinatorics dp Statement F Codeforces Round 1045 (Div. 2) {2134} PROGRAMMING 2750.0 145832
2437 Power Boxes constructive algorithms dp interactive Statement E Codeforces Round 1045 (Div. 2) {2134} PROGRAMMING 2250.0 145832
373 Beyond the Palindrome (Easy Version) combinatorics dp math Statement E1 Codeforces Round 1046 (Div. 1) {2135} PROGRAMMING 3000.0 Codeforces Round 1046 (Div. 1, Div. 2) Editorial
169 Beyond the Palindrome (Hard Version) combinatorics dp math number theory Statement E2 Codeforces Round 1046 (Div. 1) {2135} PROGRAMMING 2000.0 Codeforces Round 1046 (Div. 1, Div. 2) Editorial
18868 Against the Difference data structures dp Statement A Codeforces Round 1046 (Div. 1) {2135} PROGRAMMING 500.0 Codeforces Round 1046 (Div. 1, Div. 2) Editorial
1948 Cry Me a River dfs and similar dp games graphs Statement G Codeforces Round 1047 (Div. 3) {2137} PROGRAMMING Codeforces Round 1047 (Div. 3) Editorial
3425 Maple and Tree Beauty (Hard Version) bitmasks brute force dfs and similar divide and conquer dp fft trees Statement C2 Codeforces Round 1048 (Div. 1) {2138} PROGRAMMING 750.0 Codeforces Round 1048 (Div. 1, Div. 2) Editorial
83 Ode to the Bridge Builder constructive algorithms Statement F Codeforces Round 1048 (Div. 1) {2138} PROGRAMMING 4250.0 Codeforces Round 1048 (Div. 1, Div. 2) Editorial
5504 Maple and Tree Beauty (Easy Version) dfs and similar dp graphs trees Statement C1 Codeforces Round 1048 (Div. 1) {2138} PROGRAMMING 1250.0 Codeforces Round 1048 (Div. 1, Div. 2) Editorial
2142 Prime Gaming (Easy Version) bitmasks combinatorics dp Statement E1 Codeforces Round 1049 (Div. 2) {2140} PROGRAMMING 1750.0 Codeforces Round 1049 (Div. 2) Editorial
1252 Prime Gaming (Hard Version) bitmasks combinatorics dp probabilities Statement E2 Codeforces Round 1049 (Div. 2) {2140} PROGRAMMING 1000.0 Codeforces Round 1049 (Div. 2) Editorial
57 Color the Tree *special Statement I Kotlin Heroes: Episode 13 {2141} PROGRAMMING Kotlin Heroes 13 Editorial
85 Merging Vertices in a Graph *special dfs and similar dsu graphs Statement H Kotlin Heroes: Episode 13 {2141} PROGRAMMING Kotlin Heroes 13 Editorial
259 Perfect Cut *special dp greedy Statement E Kotlin Heroes: Episode 13 {2141} PROGRAMMING Kotlin Heroes 13 Editorial
6549 Inversion Graph Coloring (Easy Version) binary search data structures dp two pointers Statement D1 Codeforces Round 1051 (Div. 2) {2143} PROGRAMMING 1750.0 Codeforces Round 1051 (Div. 2) Editorial
2852 Inversion Graph Coloring (Hard Version) binary search data structures dp two pointers Statement D2 Codeforces Round 1051 (Div. 2) {2143} PROGRAMMING 1000.0 Codeforces Round 1051 (Div. 2) Editorial
1471 Looking at Towers (difficult version) combinatorics data structures dp implementation Statement E2 Educational Codeforces Round 182 (Rated for Div. 2) {2144} PROGRAMMING Educational Codeforces Round 182 Editorial
15227 Non-Descending Arrays combinatorics dp Statement C Educational Codeforces Round 182 (Rated for Div. 2) {2144} PROGRAMMING Educational Codeforces Round 182 Editorial
2631 Looking at Towers (easy version) combinatorics dp implementation Statement E1 Educational Codeforces Round 182 (Rated for Div. 2) {2144} PROGRAMMING Educational Codeforces Round 182 Editorial
992 Bracket Groups constructive algorithms dp strings Statement F Educational Codeforces Round 182 (Rated for Div. 2) {2144} PROGRAMMING Educational Codeforces Round 182 Editorial
7127 Price Tags dp math Statement D Educational Codeforces Round 182 (Rated for Div. 2) {2144} PROGRAMMING Educational Codeforces Round 182 Editorial
6794 Inversion Value of a Permutation constructive algorithms dfs and similar dp math Statement D Educational Codeforces Round 183 (Rated for Div. 2) {2145} PROGRAMMING Educational Codeforces Round 183 Editorial
1017 Long Journey dfs and similar dp graphs matrices number theory shortest paths Statement F Educational Codeforces Round 183 (Rated for Div. 2) {2145} PROGRAMMING Educational Codeforces Round 183 Editorial
313 Bubble Sort brute force combinatorics dp Statement F Codeforces Round 1052 (Div. 2) {2146} PROGRAMMING 3500.0 Codeforces Round 1052 (Div. 2) Editorial
10161 Rabbits 2-sat dp graphs greedy implementation Statement C Codeforces Global Round 29 (Div. 1 + Div. 2) {2147} PROGRAMMING 1500.0
858 Attraction Theory combinatorics dp implementation math Statement D Codeforces Round 1053 (Div. 1) {2150} PROGRAMMING 2500.0 Editorial of Codeforces Round 1053 (Div. 1, Div. 2)
2902 Limited Edition Shop data structures dp Statement C Codeforces Round 1053 (Div. 1) {2150} PROGRAMMING 1750.0 Editorial of Codeforces Round 1053 (Div. 1, Div. 2)
3079 Monotone Subsequence brute force constructive algorithms dp graphs interactive math Statement E Squarepoint Challenge (Codeforces Round 1055, Div. 1 + Div. 2) {2152} PROGRAMMING 3000.0 Squarepoint Challenge (Codeforces Round 1055, Div. 1 + Div. 2) Editorial
1055 Query Jungle data structures data structures implementation math math trees Statement G Squarepoint Challenge (Codeforces Round 1055, Div. 1 + Div. 2) {2152} PROGRAMMING 4000.0 Squarepoint Challenge (Codeforces Round 1055, Div. 1 + Div. 2) Editorial
930 Victorious Coloring (Easy Version) dp graphs Statement H1 Squarepoint Challenge (Codeforces Round 1055, Div. 1 + Div. 2) {2152} PROGRAMMING 4000.0 Squarepoint Challenge (Codeforces Round 1055, Div. 1 + Div. 2) Editorial
327 Odd Queries on Odd Array data structures trees Statement F Codeforces Round 1057 (Div. 2) {2153} PROGRAMMING 3250.0 Codeforces Round 1057 (Div. 2) Editorial
6394 Not Alone dp implementation Statement D Codeforces Round 1057 (Div. 2) {2153} PROGRAMMING 1750.0 Codeforces Round 1057 (Div. 2) Editorial
575 Bombing (Easy Version) combinatorics dp Statement F1 Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 2250.0 Codeforces Round 1060 (Div. 2) Editorial
180 Bombing (Hard Version) combinatorics dp Statement F2 Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 1750.0 Codeforces Round 1060 (Div. 2) Editorial
10481 The Ancient Wizards' Capes brute force dp implementation Statement C Codeforces Round 1056 (Div. 2) {2155} PROGRAMMING 1750.0 Codeforces Round 1056 (Div. 2) Editorial
173 Hyper Smawk Bros dp dp games Statement I Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 4000.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
11347 Annoying Game dp games greedy Statement C Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 1500.0 Codeforces Round 1067 (Div. 2) Editorial
1111 Inverse Minimum Partition (Easy Version) binary search data structures dp greedy math two pointers Statement D1 Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 1500.0 Codeforces Round 1058 Editorial
400 Inverse Minimum Partition (Hard Version) dp greedy Statement D2 Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 1750.0 Codeforces Round 1058 Editorial
2806 Locked Out binary search data structures dp graphs greedy implementation two pointers Statement D Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 2250.0
321 Beautiful Problem dp Statement H Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
9214 Monopati dp math two pointers Statement C Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 1250.0 Codeforces Round 1063 Editorial
492 Chain Prefix Rank (Hard Version) combinatorics data structures dp math Statement F2 Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 1500.0 Codeforces Global Round 30 Editorial
748 Chain Prefix Rank (Easy Version) combinatorics dfs and similar dp math Statement F1 Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 2500.0 Codeforces Global Round 30 Editorial
908 Path Split dp graph matchings greedy Statement D Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 2500.0 148452
4842 Marble Council dp math Statement B Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 1000.0 148452
307 Rainbow Branch dp trees Statement E Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 3000.0 148452
23147 Same Difference brute force dp strings Statement A Codeforces Round 1064 (Div. 2) {2166} PROGRAMMING 500.0 Codeforces Round 1064 (Div. 1, Div. 2) Editorial
18401 Tab Closing math Statement B Codeforces Round 1064 (Div. 2) {2166} PROGRAMMING 750.0 Codeforces Round 1064 (Div. 1, Div. 2) Editorial
11198 Mukhammadali and the Smooth Array data structures dp Statement G Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
7265 Tree, TREE!!! data structures dp trees Statement F Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
343 Subsequence Problem combinatorics dp fft math Statement F Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
1096 Points Selection dp geometry greedy Statement E Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
799 Build XOR on a Segment bitmasks dp Statement F Educational Codeforces Round 185 (Rated for Div. 2) {2170} PROGRAMMING Educational Codeforces Round 185 Editorial
2368 Binary Strings and Blocks combinatorics dp Statement E Educational Codeforces Round 185 (Rated for Div. 2) {2170} PROGRAMMING Educational Codeforces Round 185 Editorial
7307 Rae Taylor and Trees (hard version) binary search constructive algorithms data structures dp dsu implementation trees Statement F Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
1036 Shiori Miyagi and Maximum Array Score binary search data structures dp Statement H Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
11853 Rae Taylor and Trees (easy version) binary search data structures dp dsu greedy implementation trees Statement D Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
811 Maximum Color Segment dp Statement L 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
3717 Taiga's Carry Chains bitmasks brute force dp greedy Statement D Codeforces Round 1068 (Div. 2) {2173} PROGRAMMING 1750.0
18397 Niko's Tactical Cards dp greedy Statement B Codeforces Round 1068 (Div. 2) {2173} PROGRAMMING 1000.0
479 Mosaic Tree combinatorics dp fft math trees Statement F Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 3500.0 Codeforces Round 1069 Editorial
4062 Wishing Cards dp Statement B Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 1250.0 Codeforces Round 1069 Editorial
1520 Omega Numbers bitmasks dp math number theory Statement F Codeforces Round 1070 (Div. 2) {2176} PROGRAMMING 2750.0 Codeforces Round 1070 (Div.2) Editorial
5875 Fibonacci Paths data structures dp geometry graphs sortings Statement D Codeforces Round 1070 (Div. 2) {2176} PROGRAMMING 2000.0 Codeforces Round 1070 (Div.2) Editorial
221 Numbers or Fireworks combinatorics dp Statement I Good Bye 2025 {2178} PROGRAMMING 4000.0
598 deCH OR Dations data structures hashing Statement G Good Bye 2025 {2178} PROGRAMMING 3500.0
15990 First or Second dp greedy implementation Statement C Good Bye 2025 {2178} PROGRAMMING 1250.0
1326 Blackslex and Plants bitmasks data structures dp math Statement H Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
6535 XOR-factorization bitmasks constructive algorithms dp greedy number theory Statement C Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 1500.0 Codeforces Global Round 31
410 Control Car (Easy Version) combinatorics dp probabilities Statement F1 Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 2500.0 Codeforces Global Round 31
229 Control Car (Hard Version) combinatorics dp probabilities Statement F2 Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 750.0 Codeforces Global Round 31
658 Greta's Game binary search dp math Statement G 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
721 Jinx or Jackpot brute force dp math probabilities Statement J 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
3593 Medical Parity dp Statement M 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
1285 Christmas Reindeer (easy version) bitmasks combinatorics dp Statement F1 Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
1105 Christmas Reindeer (hard version) bitmasks combinatorics dp Statement F2 Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
15833 Production of Snowmen combinatorics dp Statement C Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
9135 Christmas Tree Decoration combinatorics dp greedy math Statement D Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
358 Short Garland data structures dp trees Statement G Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
1142 Jumping Man combinatorics data structures dp trees Statement F Hello 2026 {2183} PROGRAMMING 2750.0
162 Minimise Cost dp Statement H Hello 2026 {2183} PROGRAMMING 4000.0
2897 LCM is Legendary Counting Master dp math number theory Statement E Hello 2026 {2183} PROGRAMMING 2250.0
9718 Unfair Game combinatorics dp math Statement D Codeforces Round 1072 (Div. 3) {2184} PROGRAMMING Codeforces Round 1072 (Div. 3) Editorial
4023 Cherry Tree dfs and similar dp graphs trees Statement F Codeforces Round 1072 (Div. 3) {2184} PROGRAMMING Codeforces Round 1072 (Div. 3) Editorial
658 Cool Problem bitmasks brute force divide and conquer dp math Statement D Codeforces Round 1077 (Div. 1) {2187} PROGRAMMING 2000.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
5425 Shortest Statement Ever bitmasks constructive algorithms dp greedy Statement B Codeforces Round 1077 (Div. 1) {2187} PROGRAMMING 1250.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
342 Doors and Keys data structures dp Statement E Codeforces Round 1077 (Div. 1) {2187} PROGRAMMING 2250.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
77 Al Fine (Counting Version) dp trees Statement F2 Codeforces Round 1077 (Div. 1) {2187} PROGRAMMING 3500.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
1981 Little String (Hard Version) binary search combinatorics dp greedy math number theory Statement D2 Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 750.0 Codeforces Round 1075 (Div. 2) Editorial
4045 Little String (Easy Version) combinatorics dp math Statement D1 Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 2000.0 Codeforces Round 1075 (Div. 2) Editorial
848 Majority Wins? dp greedy math strings Statement E Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 2500.0 Codeforces Round 1075 (Div. 2) Editorial
230 Zhora the Vacuum Cleaner dp implementation sortings trees Statement F Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 3250.0 Codeforces Round 1075 (Div. 2) Editorial
95 Xor Product bitmasks dp Statement F Codeforces Round 1073 (Div. 1) {2190} PROGRAMMING 3500.0 Codeforces Round 1073 (Div. 1, Div. 2) Editorial
10993 Sub-RBS (Easy Version) combinatorics constructive algorithms dp greedy strings two pointers Statement B1 Codeforces Round 1073 (Div. 1) {2190} PROGRAMMING 750.0 Codeforces Round 1073 (Div. 1, Div. 2) Editorial
3260 Sub-RBS (Hard Version) combinatorics dp games implementation matrices strings Statement B2 Codeforces Round 1073 (Div. 1) {2190} PROGRAMMING 750.0 Codeforces Round 1073 (Div. 1, Div. 2) Editorial
3708 Cost of Tree data structures dfs and similar dp trees Statement D Codeforces Round 1081 (Div. 2) {2192} PROGRAMMING 1750.0 Codeforces Round 1081 (Div. 2) Editorial
179 Fish Fight dp math probabilities Statement F Codeforces Round 1081 (Div. 2) {2192} PROGRAMMING 3000.0 Codeforces Round 1081 (Div. 2) Editorial
1082 Remove the Grail Tree dfs and similar dp greedy trees Statement H Codeforces Round 1076 (Div. 3) {2193} PROGRAMMING Разбор Codeforces Round 1076 (Div. 3)
8750 Pizza Delivery dp greedy Statement F Codeforces Round 1076 (Div. 3) {2193} PROGRAMMING Разбор Codeforces Round 1076 (Div. 3)
15541 Product Queries dp math number theory Statement E Codeforces Round 1076 (Div. 3) {2193} PROGRAMMING Разбор Codeforces Round 1076 (Div. 3)
176 Again Trees... (hard version) bitmasks data structures dfs and similar dp fft trees Statement F2 Codeforces Round 1078 (Div. 2) {2194} PROGRAMMING 1750.0 Codeforces Round #1078 Editorial
916 Again Trees... (Easy Version) bitmasks dfs and similar dp fft trees Statement F1 Codeforces Round 1078 (Div. 2) {2194} PROGRAMMING 1750.0 Codeforces Round #1078 Editorial
2736 The Turtle Strikes Back dp graphs greedy Statement E Codeforces Round 1078 (Div. 2) {2194} PROGRAMMING 2500.0 Codeforces Round #1078 Editorial
8921 Idiot First Search dfs and similar dp trees Statement E Codeforces Round 1080 (Div. 3) {2195} PROGRAMMING Codeforces Round 1080 (Div. 3) Editorial
2807 Parabola Independence dp graphs math Statement F Codeforces Round 1080 (Div. 3) {2195} PROGRAMMING Codeforces Round 1080 (Div. 3) Editorial
21156 Dice Roll Sequence dp greedy Statement C Codeforces Round 1080 (Div. 3) {2195} PROGRAMMING Codeforces Round 1080 (Div. 3) Editorial
206 Fuzzy Concatenation (Hard version) binary search data structures dp greedy string suffix structures Statement E2 Codeforces Round 1079 (Div. 1) {2196} PROGRAMMING 1000.0 Tutorial
3725 Interactive Graph (Simple Version) combinatorics dfs and similar dp graphs interactive Statement C1 Codeforces Round 1079 (Div. 1) {2196} PROGRAMMING 750.0 Tutorial
2617 Interactive Graph (Hard Version) combinatorics dfs and similar dp graphs interactive Statement C2 Codeforces Round 1079 (Div. 1) {2196} PROGRAMMING 750.0 Tutorial
1031 Double Bracket Sequence data structures dp greedy sortings Statement D Codeforces Round 1079 (Div. 1) {2196} PROGRAMMING 2250.0 Tutorial
95 Sum of MEX *special combinatorics data structures dp math Statement H Kotlin Heroes: Episode 14 {2199} PROGRAMMING 151783
1089 Operation Permutation combinatorics dp math probabilities Statement G Codeforces Round 1084 (Div. 3) {2200} PROGRAMMING Codeforces Round 1084 (Div. 3) Editorial
2075 Rigged Bracket Sequence combinatorics dp Statement C Codeforces Round 1082 (Div. 1) {2201} PROGRAMMING 1750.0 Codeforces Round 1082 (Div. 1, Div. 2) Complete Editorial
70 Codeforces Heuristic Contest 1001 constructive algorithms Statement G Codeforces Round 1082 (Div. 1) {2201} PROGRAMMING 5000.0 Codeforces Round 1082 (Div. 1, Div. 2) Complete Editorial
5278 Lost Civilization (Hard Version) data structures dp Statement A2 Codeforces Round 1082 (Div. 1) {2201} PROGRAMMING 500.0 Codeforces Round 1082 (Div. 1, Div. 2) Complete Editorial
431 Binary Search with One Swap binary search divide and conquer dp hashing math Statement F Educational Codeforces Round 187 (Rated for Div. 2) {2203} PROGRAMMING Educational Codeforces Round 187 Editorial
15185 Beautiful Numbers dp greedy math Statement B Educational Codeforces Round 187 (Rated for Div. 2) {2203} PROGRAMMING Educational Codeforces Round 187 Editorial
424 Grid Path dp graphs matrices Statement G Educational Codeforces Round 188 (Rated for Div. 2) {2204} PROGRAMMING Educational Codeforces Round 188 Editorial
5206 Simons and Beating Peaks data structures divide and conquer dp greedy implementation trees Statement D Codeforces Round 1083 (Div. 2) {2205} PROGRAMMING 1750.0 Tutorial
1644 Simons and Dividing the Rhythm dp string suffix structures strings Statement E Codeforces Round 1083 (Div. 2) {2205} PROGRAMMING 2500.0 Tutorial
291 Christmas Tree Un-decoration data structures dp trees Statement D 2026 ICPC Asia Pacific Championship - Online Mirror (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2206} PROGRAMMING Tutorial (PDF)
288 Hanabi data structures dp flows graph matchings graphs greedy Statement F Codeforces Round 1085 (Div. 1 + Div. 2) {2207} PROGRAMMING 3250.0 Codeforces Round 1085 (Div. 1 + Div. 2) Editorial
2182 Boxed Like a Fish dfs and similar dp games trees Statement D Codeforces Round 1085 (Div. 1 + Div. 2) {2207} PROGRAMMING 2250.0 Codeforces Round 1085 (Div. 1 + Div. 2) Editorial
449 Counting Cute Arrays combinatorics dp Statement E Codeforces Round 1086 (Div. 2) {2208} PROGRAMMING 3000.0 Tutorial
11811 Stamina and Tasks dp greedy math Statement C Codeforces Round 1086 (Div. 2) {2208} PROGRAMMING 1250.0 Tutorial
1885 A Trivial String Problem dp strings Statement E Codeforces Round 1087 (Div. 2) {2209} PROGRAMMING 2250.0 Codeforces Round 1087 (Div. 2) Editorial