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 ... 6 7 8

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
17470 Max and Mod constructive algorithms math Statement A Teza Round 1 (Codeforces Round 1015, Div. 1 + Div. 2) {2084} PROGRAMMING 750.0 141155
13733 Serval and The Formula bitmasks constructive algorithms greedy Statement C Codeforces Round 1011 (Div. 2) {2085} PROGRAMMING 1250.0 Codeforces Round #1011 (Div. 2) Editorial
3178 Serval and Modulo brute force constructive algorithms math number theory Statement E Codeforces Round 1011 (Div. 2) {2085} PROGRAMMING 2500.0 Codeforces Round #1011 (Div. 2) Editorial
23667 Serval and String Theory constructive algorithms implementation Statement A Codeforces Round 1011 (Div. 2) {2085} PROGRAMMING 500.0 Codeforces Round #1011 (Div. 2) Editorial
17211 Serval and Final MEX constructive algorithms implementation Statement B Codeforces Round 1011 (Div. 2) {2085} PROGRAMMING 1250.0 Codeforces Round #1011 (Div. 2) Editorial
142 Online Palindrome brute force constructive algorithms interactive Statement F Educational Codeforces Round 177 (Rated for Div. 2) {2086} PROGRAMMING Educational Codeforces Round 177 Editorial
191 Conditional Operators constructive algorithms Statement D Codeforces Round 1012 (Div. 1) {2089} PROGRAMMING 2500.0 Codeforces Round 1012 (Div.1, Div. 2, based on THUPC 2025 — Finals) Editorial
7266 Simple Permutation constructive algorithms number theory Statement A Codeforces Round 1012 (Div. 1) {2089} PROGRAMMING 750.0 Codeforces Round 1012 (Div.1, Div. 2, based on THUPC 2025 — Finals) Editorial
1536 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
29014 Combination Lock constructive algorithms greedy Statement C Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
6920 Mishkin Energizer brute force constructive algorithms greedy implementation strings Statement D Codeforces Round 1014 (Div. 2) {2092} PROGRAMMING 1750.0 Codeforces Round #1014 (Div. 2) Editorial
433 Andryusha and CCB brute force constructive algorithms greedy math number theory strings Statement F Codeforces Round 1014 (Div. 2) {2092} PROGRAMMING 3000.0 Codeforces Round #1014 (Div. 2) Editorial
3870 She knows... combinatorics constructive algorithms graphs math Statement E Codeforces Round 1014 (Div. 2) {2092} PROGRAMMING 2250.0 Codeforces Round #1014 (Div. 2) Editorial
22748 Asuna and the Mosquitoes constructive algorithms greedy math Statement C Codeforces Round 1014 (Div. 2) {2092} PROGRAMMING 1250.0 Codeforces Round #1014 (Div. 2) Editorial
33354 Bobritto Bandito brute force constructive algorithms Statement B Codeforces Round 1017 (Div. 4) {2094} PROGRAMMING Codeforces Round 1017 (Div. 4) Editorial
11541 Trulimero Trulicina constructive algorithms Statement F Codeforces Round 1017 (Div. 4) {2094} PROGRAMMING Codeforces Round 1017 (Div. 4) Editorial
20660 Wonderful Sticks constructive algorithms greedy Statement A Neowise Labs Contest 1 (Codeforces Round 1018, Div. 1 + Div. 2) {2096} PROGRAMMING 500.0 Neowise Labs Contest 1 (Codeforces Round 1018, Div. 1 + Div. 2) Editorial
1029 Bermuda Triangle chinese remainder theorem constructive algorithms geometry math number theory Statement C Codeforces Round 1021 (Div. 1) {2097} PROGRAMMING 1500.0 142316
13755 Mex in the Grid constructive algorithms implementation Statement A Codeforces Round 1024 (Div. 1) {2101} PROGRAMMING 500.0 142788
21618 Dinner Time constructive algorithms math Statement A Codeforces Round 1024 (Div. 2) {2102} PROGRAMMING 250.0 142788
611 Keep the Sum constructive algorithms data structures Statement E Codeforces Round 1019 (Div. 2) {2103} PROGRAMMING 2750.0 142149
4011 Local Construction constructive algorithms dfs and similar graphs implementation two pointers Statement D Codeforces Round 1019 (Div. 2) {2103} PROGRAMMING 2000.0 142149
28533 St. Chroma constructive algorithms greedy math Statement B Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
12208 Maximum Subarray Sum binary search constructive algorithms implementation math Statement C Codeforces Round 1023 (Div. 2) {2107} PROGRAMMING 1500.0 Codeforces Round 1023 (Div 2) Editorial
946 Ain and Apple Tree constructive algorithms greedy math trees Statement E Codeforces Round 1023 (Div. 2) {2107} PROGRAMMING 2750.0 Codeforces Round 1023 (Div 2) Editorial
14648 SUMdamental Decomposition bitmasks constructive algorithms greedy implementation math Statement B Codeforces Round 1022 (Div. 2) {2108} PROGRAMMING 1250.0 Codeforces Round 1022 Editorial
899 Spruce Dispute constructive algorithms dfs and similar graphs implementation shortest paths trees Statement E Codeforces Round 1022 (Div. 2) {2108} PROGRAMMING 2750.0 Codeforces Round 1022 Editorial
11538 Hacking Numbers (Easy Version) bitmasks constructive algorithms interactive math number theory Statement C1 Codeforces Round 1025 (Div. 2) {2109} PROGRAMMING 1250.0 Codeforces Round 1025 (Div. 2) Editorial
8737 Hacking Numbers (Medium Version) constructive algorithms interactive math number theory Statement C2 Codeforces Round 1025 (Div. 2) {2109} PROGRAMMING 750.0 Codeforces Round 1025 (Div. 2) Editorial
3244 Hacking Numbers (Hard Version) constructive algorithms interactive math number theory Statement C3 Codeforces Round 1025 (Div. 2) {2109} PROGRAMMING 500.0 Codeforces Round 1025 (Div. 2) Editorial
15968 Racing constructive algorithms dp greedy Statement C Codeforces Round 1026 (Div. 2) {2110} PROGRAMMING 1500.0 Codeforces Round 1026 (Div. 2) Editorial
1434 Puzzle brute force constructive algorithms greedy math Statement F Educational Codeforces Round 179 (Rated for Div. 2) {2111} PROGRAMMING Educational Codeforces Round 179 Editorial
12128 Creating a Schedule constructive algorithms data structures greedy sortings Statement D Educational Codeforces Round 179 (Rated for Div. 2) {2111} PROGRAMMING Educational Codeforces Round 179 Editorial
9559 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
2913 Cheater binary search constructive algorithms data structures greedy Statement D Codeforces Round 1031 (Div. 2) {2113} PROGRAMMING 1750.0 Codeforces Round #1031 Editorial
8071 Smilo and Minecraft brute force constructive algorithms dp greedy Statement C Codeforces Round 1031 (Div. 2) {2113} PROGRAMMING 1250.0 Codeforces Round #1031 Editorial
959 Two Arrays constructive algorithms dfs and similar graphs math Statement F Codeforces Round 1031 (Div. 2) {2113} PROGRAMMING 3000.0 Codeforces Round #1031 Editorial
15356 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
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
32327 Shrink constructive algorithms Statement B Codeforces Round 1029 (Div. 3) {2117} PROGRAMMING Codeforces Round 1029 (Div. 3) Editorial
20163 Make It Permutation constructive algorithms Statement B Codeforces Round 1030 (Div. 2) {2118} PROGRAMMING 1000.0 Codeforces Round 1030 (Div. 2) Editorial
29242 Equal Subsequences constructive algorithms greedy Statement A Codeforces Round 1030 (Div. 2) {2118} PROGRAMMING 500.0 Codeforces Round 1030 (Div. 2) Editorial
1432 Grid Coloring constructive algorithms greedy sortings Statement E Codeforces Round 1030 (Div. 2) {2118} PROGRAMMING 2500.0 Codeforces Round 1030 (Div. 2) Editorial
16448 A Good Problem bitmasks constructive algorithms math Statement C Codeforces Round 1035 (Div. 2) {2119} PROGRAMMING 1500.0 Codeforces Round 1035 (Div. 2) Editorial
12731 Divine Tree constructive algorithms greedy math sortings trees Statement C Codeforces Round 1033 (Div. 2) and CodeNite 2025 {2120} PROGRAMMING 1250.0 Codeforces Round 1033 (Div. 2) and CodeNite 2025 Editorial
32630 Above the Clouds constructive algorithms greedy strings Statement B Codeforces Round 1032 (Div. 3) {2121} PROGRAMMING Codeforces Round 1032 (Div. 3) Editorial
134 Colorful Polygon constructive algorithms divide and conquer geometry Statement F Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) {2122} PROGRAMMING 3250.0 Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) Editorial
19556 Greedy Grid constructive algorithms greedy Statement A Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) {2122} PROGRAMMING 500.0 Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) Editorial
8691 Manhattan Pairs constructive algorithms greedy math sortings Statement C Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) {2122} PROGRAMMING 1500.0 Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) Editorial
22087 Binary String Battle constructive algorithms games greedy Statement D Codeforces Round 1034 (Div. 3) {2123} PROGRAMMING Codeforces Round 1034 (Div. 3) Editorial
9858 Minimize Fixed Points constructive algorithms number theory Statement F Codeforces Round 1034 (Div. 3) {2123} PROGRAMMING Codeforces Round 1034 (Div. 3) Editorial
4027 Make it Zero constructive algorithms math Statement E 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
220 Lexicographic Partition constructive algorithms math trees Statement I 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
19562 Deranged Deletions constructive algorithms sortings Statement A EPIC Institute of Technology Round Summer 2025 (Codeforces Round 1036, Div. 1 + Div. 2) {2124} PROGRAMMING 500.0 EPIC Institute of Technology Round Summer 2025 (Codeforces Round 1036, Div. 1 + Div. 2) Editorial
28216 Difficult Contest constructive algorithms implementation sortings strings Statement A Educational Codeforces Round 181 (Rated for Div. 2) {2125} PROGRAMMING Educational Codeforces Round 181 Editorial
114 Inter Active (Hard Version) binary search bitmasks constructive algorithms graphs implementation interactive math probabilities Statement G2 Atto Round 1 (Codeforces Round 1041, Div. 1 + Div. 2) {2127} PROGRAMMING 2750.0 Atto Round 1 (Codeforces Round 1041, Div. 1 + Div. 2) Editorial
107 Inter Active (Easy Version) binary search constructive algorithms interactive interactive Statement G1 Atto Round 1 (Codeforces Round 1041, Div. 1 + Div. 2) {2127} PROGRAMMING 2750.0 Atto Round 1 (Codeforces Round 1041, Div. 1 + Div. 2) Editorial
3066 Ancient Tree constructive algorithms data structures dfs and similar dsu greedy trees Statement E Atto Round 1 (Codeforces Round 1041, Div. 1 + Div. 2) {2127} PROGRAMMING 2500.0 Atto Round 1 (Codeforces Round 1041, Div. 1 + Div. 2) Editorial
20008 Mix Mex Max constructive algorithms greedy math Statement A Atto Round 1 (Codeforces Round 1041, Div. 1 + Div. 2) {2127} PROGRAMMING 500.0 Atto Round 1 (Codeforces Round 1041, Div. 1 + Div. 2) Editorial
805 Submedians (Hard Version) binary search constructive algorithms data structures two pointers Statement E2 Codeforces Round 1039 (Div. 2) {2128} PROGRAMMING 1750.0 Codeforces Round #1039 — Editorial
21688 Deque Process constructive algorithms greedy sortings two pointers Statement B Codeforces Round 1039 (Div. 2) {2128} PROGRAMMING 1000.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
3964 Interactive RBS (Easy Version) binary search bitmasks constructive algorithms interactive Statement C1 Codeforces Round 1040 (Div. 1) {2129} PROGRAMMING 750.0 Codeforces Round 1040 (Div. 1, Div. 2) Editorial
2580 Interactive RBS (Medium Version) binary search bitmasks constructive algorithms interactive Statement C2 Codeforces Round 1040 (Div. 1) {2129} PROGRAMMING 750.0 Codeforces Round 1040 (Div. 1, Div. 2) Editorial
13714 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
17130 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
21680 Pathless constructive algorithms Statement B Codeforces Round 1040 (Div. 2) {2130} PROGRAMMING 1000.0 Codeforces Round 1040 (Div. 1, Div. 2) Editorial
894 Sea, You & copriMe brute force combinatorics constructive algorithms graphs greedy math number theory Statement H Codeforces Round 1042 (Div. 3) {2131} PROGRAMMING Codeforces Round 1042 (Div. 3) Editorial
31155 Alternating Series constructive algorithms greedy math Statement B Codeforces Round 1042 (Div. 3) {2131} PROGRAMMING Codeforces Round 1042 (Div. 3) Editorial
1721 I Yearned For The Mines constructive algorithms dfs and similar trees Statement E Codeforces Round 1044 (Div. 2) {2133} PROGRAMMING 2750.0 Codeforces Round 1044 (Div. 2) Editorial
3688 Sliding Tree constructive algorithms dfs and similar trees Statement D Codeforces Round 1045 (Div. 2) {2134} PROGRAMMING 2000.0 145832
2436 Power Boxes constructive algorithms dp interactive Statement E Codeforces Round 1045 (Div. 2) {2134} PROGRAMMING 2250.0 145832
26837 Painting With Two Colors constructive algorithms implementation math Statement A Codeforces Round 1045 (Div. 2) {2134} PROGRAMMING 500.0 145832
21234 Add 0 or K constructive algorithms math number theory Statement B Codeforces Round 1045 (Div. 2) {2134} PROGRAMMING 1250.0 145832
1008 From the Unknown (Hard Version) binary search brute force constructive algorithms interactive math Statement D2 Codeforces Round 1046 (Div. 1) {2135} PROGRAMMING 1250.0 Codeforces Round 1046 (Div. 1, Div. 2) Editorial
7647 For the Champion constructive algorithms interactive math Statement B Codeforces Round 1046 (Div. 1) {2135} PROGRAMMING 1000.0 Codeforces Round 1046 (Div. 1, Div. 2) Editorial
2648 From the Unknown (Easy Version) constructive algorithms interactive math Statement D1 Codeforces Round 1046 (Div. 1) {2135} PROGRAMMING 1250.0 Codeforces Round 1046 (Div. 1, Div. 2) Editorial
21211 Like the Bitset constructive algorithms greedy two pointers Statement B Codeforces Round 1046 (Div. 2) {2136} PROGRAMMING 1000.0 Codeforces Round 1046 (Div. 1, Div. 2) Editorial
19787 Replace with Occurrences constructive algorithms Statement D Codeforces Round 1047 (Div. 3) {2137} PROGRAMMING Codeforces Round 1047 (Div. 3) Editorial
35559 Collatz Conjecture constructive algorithms math Statement A Codeforces Round 1047 (Div. 3) {2137} PROGRAMMING Codeforces Round 1047 (Div. 3) Editorial
26720 Fun Permutation constructive algorithms math number theory Statement B Codeforces Round 1047 (Div. 3) {2137} PROGRAMMING Codeforces Round 1047 (Div. 3) Editorial
17221 Cake Assignment bitmasks constructive algorithms Statement A Codeforces Round 1048 (Div. 1) {2138} PROGRAMMING 500.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
244 Determinant Construction (Easy Version) constructive algorithms matrices Statement E1 Codeforces Round 1048 (Div. 1) {2138} PROGRAMMING 2750.0 Codeforces Round 1048 (Div. 1, Div. 2) Editorial
187 Determinant Construction (Hard Version) constructive algorithms matrices Statement E2 Codeforces Round 1048 (Div. 1) {2138} PROGRAMMING 1500.0 Codeforces Round 1048 (Div. 1, Div. 2) Editorial
22518 Another Divisibility Problem constructive algorithms math number theory Statement B Codeforces Round 1049 (Div. 2) {2140} PROGRAMMING 1000.0 Codeforces Round 1049 (Div. 2) Editorial
1991 Make Good constructive algorithms math strings Statement E Codeforces Round 1051 (Div. 2) {2143} PROGRAMMING 2500.0 Codeforces Round 1051 (Div. 2) Editorial
991 Bracket Groups constructive algorithms dp strings Statement F Educational Codeforces Round 182 (Rated for Div. 2) {2144} PROGRAMMING Educational Codeforces Round 182 Editorial
18765 Maximum Cost Permutation constructive algorithms greedy Statement B Educational Codeforces Round 182 (Rated for Div. 2) {2144} PROGRAMMING Educational Codeforces Round 182 Editorial
6792 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
13539 Wrong Binary Search binary search constructive algorithms Statement C Codeforces Round 1052 (Div. 2) {2146} PROGRAMMING 1250.0 Codeforces Round 1052 (Div. 2) Editorial
4128 Max Sum OR (Hard Version) bitmasks constructive algorithms divide and conquer greedy Statement D2 Codeforces Round 1052 (Div. 2) {2146} PROGRAMMING 1000.0 Codeforces Round 1052 (Div. 2) Editorial
10711 Max Sum OR (Easy Version) bitmasks constructive algorithms divide and conquer greedy trees Statement D1 Codeforces Round 1052 (Div. 2) {2146} PROGRAMMING 1500.0 Codeforces Round 1052 (Div. 2) Editorial
2098 Yet Another MEX Problem brute force constructive algorithms data structures greedy Statement E Codeforces Round 1052 (Div. 2) {2146} PROGRAMMING 2500.0 Codeforces Round 1052 (Div. 2) Editorial
19044 Shortest Increasing Path constructive algorithms Statement A Codeforces Global Round 29 (Div. 1 + Div. 2) {2147} PROGRAMMING 500.0
17429 Multiple Construction constructive algorithms Statement B Codeforces Global Round 29 (Div. 1 + Div. 2) {2147} PROGRAMMING 1000.0
136 Longest Increasing Path (Easy Version) constructive algorithms Statement I1 Codeforces Global Round 29 (Div. 1 + Div. 2) {2147} PROGRAMMING 4000.0
108 Longest Increasing Path (Hard Version) constructive algorithms Statement I2 Codeforces Global Round 29 (Div. 1 + Div. 2) {2147} PROGRAMMING 3500.0
208 Cycle Closing constructive algorithms graphs trees Statement F Codeforces Round 1053 (Div. 1) {2150} PROGRAMMING 3250.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
4841 Catshock constructive algorithms dfs and similar graphs trees Statement D Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 1750.0 Codeforces Round 1060 (Div. 2) Editorial
20071 Make it Zigzag constructive algorithms greedy Statement B Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 1000.0 Codeforces Round 1060 (Div. 2) Editorial
17257 Abraham's Great Escape constructive algorithms graphs Statement B Codeforces Round 1056 (Div. 2) {2155} PROGRAMMING 1000.0 Codeforces Round 1056 (Div. 2) Editorial
5430 Find the Last Number bitmasks constructive algorithms interactive math Statement D Codeforces Round 1061 (Div. 2) {2156} PROGRAMMING 2000.0 Codeforces Round 1061 (Div. 2) Editorial
27097 Pizza Time brute force constructive algorithms greedy Statement A Codeforces Round 1061 (Div. 2) {2156} PROGRAMMING 500.0 Codeforces Round 1061 (Div. 2) Editorial
133 Keygen 3 brute force combinatorics constructive algorithms Statement H Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 3750.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
460 Isaac's Queries brute force constructive algorithms dfs and similar divide and conquer greedy interactive math probabilities Statement G Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 3000.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
1370 Git Gud constructive algorithms data structures divide and conquer Statement F Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 2500.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
9723 Meximum Array 2 constructive algorithms greedy math Statement C Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 1500.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
3342 Palindrome Flipping brute force constructive algorithms implementation strings Statement D Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 2000.0 Codeforces Round 1067 (Div. 2) Editorial
263 Distinct GCDs (Hard Version) combinatorics constructive algorithms graphs graphs graphs math number theory number theory Statement F2 Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 1000.0 Codeforces Round 1067 (Div. 2) Editorial
421 Distinct GCDs (Easy Version) constructive algorithms constructive algorithms graphs graphs number theory number theory Statement F1 Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 2500.0 Codeforces Round 1067 (Div. 2) Editorial
14212 Split constructive algorithms greedy math Statement B Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 1250.0 Codeforces Round 1067 (Div. 2) Editorial
8386 MAD Interactive Problem constructive algorithms implementation interactive Statement A Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 750.0 Codeforces Round 1058 Editorial
12808 Loyalty constructive algorithms greedy sortings two pointers Statement C Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 1750.0
21600 Beautiful XOR bitmasks constructive algorithms Statement C Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
28191 Beautiful String constructive algorithms Statement B Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
2952 Beautiful Intervals constructive algorithms greedy Statement F Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
9482 Beautiful Palindromes constructive algorithms greedy schedules Statement E Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
2833 Beautiful Tree constructive algorithms math trees Statement G Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
9260 Siga ta Kymata constructive algorithms math Statement B Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 1000.0 Codeforces Round 1063 Editorial
14547 Cyclic Merging brute force constructive algorithms graphs greedy trees Statement A Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 500.0 148452
36404 Isamatdin and His Magic Wand! constructive algorithms greedy implementation sortings Statement C Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
1585 Locate binary search constructive algorithms greedy interactive Statement B Testing Round 20 (Unrated, Communication Problems) {2168} PROGRAMMING Testing Round 20 Editorial (officially unofficial)
881 Intercepting Butterflies bitmasks constructive algorithms graphs interactive Statement C Testing Round 20 (Unrated, Communication Problems) {2168} PROGRAMMING Testing Round 20 Editorial (officially unofficial)
5087 Encode and Decode (Easy Version) constructive algorithms interactive Statement A1 Testing Round 20 (Unrated, Communication Problems) {2168} PROGRAMMING Testing Round 20 Editorial (officially unofficial)
2310 Removal of a Sequence (Hard Version) binary search constructive algorithms divide and conquer greedy implementation math number theory probabilities Statement D2 Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
1708 Almost Roman constructive algorithms greedy implementation Statement D Educational Codeforces Round 185 (Rated for Div. 2) {2170} PROGRAMMING Educational Codeforces Round 185 Editorial
7300 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
3706 Anisphia Wynn Palettia and Good Permutations constructive algorithms greedy number theory Statement E Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
6067 Number Maze constructive algorithms implementation Statement E 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
6794 Xmas or Hysteria constructive algorithms graphs greedy implementation Statement D Good Bye 2025 {2178} PROGRAMMING 1750.0
13713 Blackslex and Penguin Civilization bitmasks constructive algorithms greedy math Statement D Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
5874 Blackslex and Girls constructive algorithms geometry math Statement E Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
6530 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
149 Elevator Against Humanity brute force constructive algorithms greedy sortings Statement E 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
86 Pairs Flipping (Easy Version) constructive algorithms Statement I1 Hello 2026 {2183} PROGRAMMING 4500.0
74 Pairs Flipping (Hard Version) constructive algorithms Statement I2 Hello 2026 {2183} PROGRAMMING 1000.0
2525 Tree Coloring (Hard Version) constructive algorithms data structures dfs and similar greedy implementation trees Statement D2 Hello 2026 {2183} PROGRAMMING 2000.0
9039 Tree Coloring (Easy Version) constructive algorithms dfs and similar greedy trees Statement D1 Hello 2026 {2183} PROGRAMMING 1000.0
16335 Yet Another MEX Problem constructive algorithms greedy Statement B Hello 2026 {2183} PROGRAMMING 1000.0
44014 Perfect Root constructive algorithms math Statement A Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
16182 Restricted Sorting binary search constructive algorithms greedy sortings Statement A Codeforces Round 1077 (Div. 1) {2187} PROGRAMMING 750.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
5421 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
26204 Divisible Permutation constructive algorithms Statement A Codeforces Round 1077 (Div. 2) {2188} PROGRAMMING 500.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
14181 XOR Convenience (Easy Version) bitmasks brute force constructive algorithms math Statement C1 Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 1250.0 Codeforces Round 1075 (Div. 2) Editorial
6305 XOR-convenience (Hard Version) bitmasks brute force constructive algorithms math Statement C2 Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 750.0 Codeforces Round 1075 (Div. 2) Editorial
10980 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
28163 Array Coloring constructive algorithms Statement A Codeforces Round 1073 (Div. 2) {2191} PROGRAMMING 500.0 Codeforces Round 1073 (Div. 1, Div. 2) Editorial
20291 MEX Reordering constructive algorithms sortings Statement B Codeforces Round 1073 (Div. 2) {2191} PROGRAMMING 1000.0 Codeforces Round 1073 (Div. 1, Div. 2) Editorial
2166 Swap to Rearrange constructive algorithms dfs and similar graph matchings graphs greedy strings Statement E Codeforces Round 1081 (Div. 2) {2192} PROGRAMMING 2250.0 Codeforces Round 1081 (Div. 2) Editorial
15081 Flipping Binary String constructive algorithms strings Statement B Codeforces Round 1081 (Div. 2) {2192} PROGRAMMING 1000.0 Codeforces Round 1081 (Div. 2) Editorial
8179 Table Cut constructive algorithms greedy Statement D Codeforces Round 1078 (Div. 2) {2194} PROGRAMMING 2000.0 Codeforces Round #1078 Editorial
490 Codeforces Heuristic Contest 001 brute force constructive algorithms geometry implementation Statement H Codeforces Round 1080 (Div. 3) {2195} PROGRAMMING Codeforces Round 1080 (Div. 3) Editorial
110 Indivisible constructive algorithms graphs Statement F Codeforces Round 1079 (Div. 1) {2196} PROGRAMMING 3500.0 Tutorial
462 Minesweeper *special constructive algorithms greedy Statement C Kotlin Heroes: Episode 14 {2199} PROGRAMMING 151783
5143 Recollect Numbers constructive algorithms Statement B Codeforces Round 1082 (Div. 1) {2201} PROGRAMMING 1250.0 Codeforces Round 1082 (Div. 1, Div. 2) Complete Editorial
69 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
4966 Sum of Digits (and Again) brute force constructive algorithms math Statement E Educational Codeforces Round 188 (Rated for Div. 2) {2204} PROGRAMMING Educational Codeforces Round 188 Editorial
17860 Simons and Making It Beautiful brute force constructive algorithms Statement A Codeforces Round 1083 (Div. 2) {2205} PROGRAMMING 500.0 Tutorial
679 Simons and Reconstructing His Roads constructive algorithms data structures dsu graphs meet-in-the-middle Statement F Codeforces Round 1083 (Div. 2) {2205} PROGRAMMING 2750.0 Tutorial
55 Bowser's Castle (Easy Version) binary search constructive algorithms divide and conquer greedy interactive trees Statement H1 Codeforces Round 1085 (Div. 1 + Div. 2) {2207} PROGRAMMING 3250.0 Codeforces Round 1085 (Div. 1 + Div. 2) Editorial
165 Toothless constructive algorithms Statement G Codeforces Round 1085 (Div. 1 + Div. 2) {2207} PROGRAMMING 3750.0 Codeforces Round 1085 (Div. 1 + Div. 2) Editorial
43 Bowser's Castle (Medium Version) constructive algorithms divide and conquer interactive trees two pointers Statement H2 Codeforces Round 1085 (Div. 1 + Div. 2) {2207} PROGRAMMING 1000.0 Codeforces Round 1085 (Div. 1 + Div. 2) Editorial
60 Bowser's Castle (Hard Version) constructive algorithms divide and conquer interactive trees two pointers Statement H3 Codeforces Round 1085 (Div. 1 + Div. 2) {2207} PROGRAMMING 1500.0 Codeforces Round 1085 (Div. 1 + Div. 2) Editorial
1726 N-MEX (Constructive Version) constructive algorithms greedy Statement E1 Codeforces Round 1085 (Div. 1 + Div. 2) {2207} PROGRAMMING 1750.0 Codeforces Round 1085 (Div. 1 + Div. 2) Editorial
4462 Tree Orientation (Easy Version) constructive algorithms dfs and similar dsu graphs greedy trees Statement D1 Codeforces Round 1086 (Div. 2) {2208} PROGRAMMING 1250.0 Tutorial
21062 Bingo Candies constructive algorithms math Statement A Codeforces Round 1086 (Div. 2) {2208} PROGRAMMING 500.0 Tutorial
5604 Ghostfires constructive algorithms greedy Statement D Codeforces Round 1087 (Div. 2) {2209} PROGRAMMING 1750.0 Codeforces Round 1087 (Div. 2) Editorial
11266 Find the Zero constructive algorithms interactive Statement C Codeforces Round 1087 (Div. 2) {2209} PROGRAMMING 1500.0 Codeforces Round 1087 (Div. 2) Editorial
23524 A Simple Sequence constructive algorithms dp greedy number theory Statement A Codeforces Round 1089 (Div. 2) {2210} PROGRAMMING 500.0 Codeforces Round 1089 (Div. 2) Editorial
342 Binary Strings are Simple? constructive algorithms dsu interactive number theory Statement E Codeforces Round 1089 (Div. 2) {2210} PROGRAMMING 2750.0 Codeforces Round 1089 (Div. 2) Editorial
2151 A Simple RBS Problem constructive algorithms strings trees Statement D Codeforces Round 1089 (Div. 2) {2210} PROGRAMMING 2250.0 Codeforces Round 1089 (Div. 2) Editorial
727 Oriented Journey bitmasks communication constructive algorithms graphs hashing interactive trees Statement C Codeforces Round 1092 (Unrated, Div. 1, Based on THUPC 2026 — Finals) {2215} PROGRAMMING 1750.0 152930
192 Star Map constructive algorithms data structures geometry greedy Statement E Codeforces Round 1092 (Unrated, Div. 1, Based on THUPC 2026 — Finals) {2215} PROGRAMMING 3000.0 152930
3214 Interval Mod constructive algorithms dp greedy math Statement A Codeforces Round 1092 (Unrated, Div. 1, Based on THUPC 2026 — Finals) {2215} PROGRAMMING 750.0 152930
2312 Definitely Larger binary search constructive algorithms data structures greedy Statement E Codeforces Round 1091 (Div. 2) and CodeCraft 26 {2217} PROGRAMMING 2000.0 Tutorial
28723 The 67th Permutation Problem constructive algorithms greedy math Statement C Codeforces Round 1090 (Div. 4) {2218} PROGRAMMING Codeforces Round 1090 (Div. 4) Editorial
8225 The 67th Tree Problem constructive algorithms implementation trees Statement F Codeforces Round 1090 (Div. 4) {2218} PROGRAMMING Codeforces Round 1090 (Div. 4) Editorial
3476 Unique Values (Hard version) binary search constructive algorithms divide and conquer interactive math Statement B2 Codeforces Round 1093 (Div. 1) {2219} PROGRAMMING 500.0 Codeforces Round 1093 (Div. 1, Div. 2) Editorial
113 Weird Chessboard constructive algorithms math Statement E Codeforces Round 1093 (Div. 1) {2219} PROGRAMMING 3000.0 Codeforces Round 1093 (Div. 1, Div. 2) Editorial
3553 Permutation Construction constructive algorithms sortings Statement D Spectral::Cup 2026 Round 1 (Codeforces Round 1094, Div. 1 + Div. 2) {2222} PROGRAMMING 2000.0 Spectral::Cup 2026 Round 1 (Codeforces Round 1094, Div. 1 + Div. 2) Editorial
6303 Zhily and Bracket Swapping constructive algorithms greedy Statement A Codeforces Round 1097 (Div. 1, Based on Zhili Cup 2026) {2223} PROGRAMMING 500.0 Codeforces Round 1097 (Div. 1, Div2, Based on Zhili Cup 2026) Tutorial
10079 Zhily and Array Operating constructive algorithms greedy Statement A Codeforces Round 1097 (Div. 2, Based on Zhili Cup 2026) {2224} PROGRAMMING 500.0 Codeforces Round 1097 (Div. 1, Div2, Based on Zhili Cup 2026) Tutorial
7096 Zhily and Mex and Max constructive algorithms greedy math sortings Statement B Codeforces Round 1097 (Div. 2, Based on Zhili Cup 2026) {2224} PROGRAMMING 750.0 Codeforces Round 1097 (Div. 1, Div2, Based on Zhili Cup 2026) Tutorial
1184 Covering Points with Circles constructive algorithms data structures geometry probabilities Statement E Educational Codeforces Round 189 (Rated for Div. 2) {2225} PROGRAMMING Tutorial
2734 Reserved Reversals constructive algorithms dp greedy Statement D Codeforces Round 1095 (Div. 2) {2226} PROGRAMMING 2000.0 Codeforces Round 1095 (Div. 2) Editorial
11401 Palindromex binary search brute force constructive algorithms data structures greedy implementation two pointers Statement D Codeforces Round 1096 (Div. 3) {2227} PROGRAMMING Codeforces Round 1096 (Div. 3) — Editorial
19561 Snowfall constructive algorithms math Statement C Codeforces Round 1096 (Div. 3) {2227} PROGRAMMING Codeforces Round 1096 (Div. 3) — Editorial
13000 We Be Flipping (Easy Version) constructive algorithms Statement C1 Spectral::Cup 2026 Round 2 (Codeforces Round 1100, Div. 1 + Div. 2) {2229} PROGRAMMING 750.0 Spectral::Cup 2026 Round 2 (Codeforces Round 1100, Div. 1 + Div. 2) Editorial
7126 We Be Flipping (Hard Version) constructive algorithms Statement C2 Spectral::Cup 2026 Round 2 (Codeforces Round 1100, Div. 1 + Div. 2) {2229} PROGRAMMING 1250.0 Spectral::Cup 2026 Round 2 (Codeforces Round 1100, Div. 1 + Div. 2) Editorial
21114 Construct an Array constructive algorithms Statement A Codeforces Round 1099 (Div. 2) {2231} PROGRAMMING 500.0
14821 Another Sorting Problem constructive algorithms Statement B Codeforces Round 1099 (Div. 2) {2231} PROGRAMMING 1000.0
2942 Maximum Prefix Sums constructive algorithms greedy implementation two pointers Statement D Codeforces Round 1099 (Div. 2) {2231} PROGRAMMING 2000.0
578 Quadratic Jumps constructive algorithms greedy math number theory Statement F Codeforces Round 1099 (Div. 2) {2231} PROGRAMMING 2750.0
271 Snaking Arrangement combinatorics constructive algorithms Statement E Codeforces Round 1101 (Div. 2) {2232} PROGRAMMING 2750.0 Codeforces Round 1101 (Div. 2) — Editorial
1624 Magical Tiered Cake constructive algorithms dfs and similar dp greedy Statement D Codeforces Round 1101 (Div. 2) {2232} PROGRAMMING 2000.0 Codeforces Round 1101 (Div. 2) — Editorial