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

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
1096 Remove the Grail Tree dfs and similar dp greedy trees Statement H Codeforces Round 1076 (Div. 3) {2193} PROGRAMMING Разбор Codeforces Round 1076 (Div. 3)
19465 Offshores greedy implementation math Statement B Codeforces Round 1078 (Div. 2) {2194} PROGRAMMING 1000.0 Codeforces Round #1078 Editorial
301 Fuzzy Concatenation (Easy Version) binary search bitmasks brute force data structures greedy string suffix structures Statement E1 Codeforces Round 1079 (Div. 1) {2196} PROGRAMMING 2000.0 Tutorial
216 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
1050 Double Bracket Sequence data structures dp greedy sortings Statement D Codeforces Round 1079 (Div. 1) {2196} PROGRAMMING 2250.0 Tutorial
1108 Two Towers *special greedy math Statement B Kotlin Heroes: Episode 14 {2199} PROGRAMMING 151783
23435 Specialty String brute force greedy strings Statement C Codeforces Round 1084 (Div. 3) {2200} PROGRAMMING Codeforces Round 1084 (Div. 3) Editorial
3111 Mooclear Reactor 2 data structures greedy implementation sortings Statement F Codeforces Round 1084 (Div. 3) {2200} PROGRAMMING Codeforces Round 1084 (Div. 3) Editorial
8916 Divisive Battle games greedy math number theory Statement E Codeforces Round 1084 (Div. 3) {2200} PROGRAMMING Codeforces Round 1084 (Div. 3) Editorial
27205 Deletion Sort greedy sortings Statement B Codeforces Round 1084 (Div. 3) {2200} PROGRAMMING Codeforces Round 1084 (Div. 3) Editorial
12896 Portal greedy sortings Statement D Codeforces Round 1084 (Div. 3) {2200} PROGRAMMING Codeforces Round 1084 (Div. 3) Editorial
836 Binary Not Search and Queries data structures greedy implementation Statement D Codeforces Round 1082 (Div. 1) {2201} PROGRAMMING 2250.0 Codeforces Round 1082 (Div. 1, Div. 2) Complete Editorial
12019 ABAB Construction greedy implementation Statement B Codeforces Round 1082 (Div. 2) {2202} PROGRAMMING 1250.0 Codeforces Round 1082 (Div. 1, Div. 2) Complete Editorial
7736 Test Generator binary search bitmasks greedy math Statement C Educational Codeforces Round 187 (Rated for Div. 2) {2203} PROGRAMMING Educational Codeforces Round 187 Editorial
5900 Divisibility Game brute force games greedy number theory Statement D Educational Codeforces Round 187 (Rated for Div. 2) {2203} PROGRAMMING Educational Codeforces Round 187 Editorial
15718 Beautiful Numbers dp greedy math Statement B Educational Codeforces Round 187 (Rated for Div. 2) {2203} PROGRAMMING Educational Codeforces Round 187 Editorial
1314 Sum of Fractions binary search combinatorics greedy math two pointers Statement F Educational Codeforces Round 188 (Rated for Div. 2) {2204} PROGRAMMING Educational Codeforces Round 188 Editorial
5355 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
8439 Simons and Posting Blogs greedy sortings Statement C Codeforces Round 1083 (Div. 2) {2205} PROGRAMMING 1250.0 Tutorial
56 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
6350 One Night At Freddy's games greedy sortings Statement B Codeforces Round 1085 (Div. 1 + Div. 2) {2207} PROGRAMMING 1250.0 Codeforces Round 1085 (Div. 1 + Div. 2) Editorial
14578 1-1 greedy strings Statement A Codeforces Round 1085 (Div. 1 + Div. 2) {2207} PROGRAMMING 750.0 Codeforces Round 1085 (Div. 1 + Div. 2) Editorial
4600 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
2001 Tree Orientation (Hard Version) data structures dfs and similar dsu graphs greedy matrices sortings trees Statement D2 Codeforces Round 1086 (Div. 2) {2208} PROGRAMMING 1250.0 Tutorial
12176 Stamina and Tasks dp greedy math Statement C Codeforces Round 1086 (Div. 2) {2208} PROGRAMMING 1250.0 Tutorial
14638 Cyclists games greedy implementation sortings Statement B Codeforces Round 1086 (Div. 2) {2208} PROGRAMMING 1000.0 Tutorial
447 Dynamic Values And Maximum Sum data structures greedy implementation trees Statement F Codeforces Round 1087 (Div. 2) {2209} PROGRAMMING 3000.0 Codeforces Round 1087 (Div. 2) Editorial
250 A Simple Problem binary search greedy math trees Statement F Codeforces Round 1089 (Div. 2) {2210} PROGRAMMING 3500.0 Codeforces Round 1089 (Div. 2) Editorial
23986 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
2334 A Simple GCD Problem (Hard Version) dp greedy number theory Statement C2 Codeforces Round 1089 (Div. 2) {2210} PROGRAMMING 1000.0 Codeforces Round 1089 (Div. 2) Editorial
14096 A Simple GCD Problem (Easy Version) greedy number theory Statement C1 Codeforces Round 1089 (Div. 2) {2210} PROGRAMMING 1250.0 Codeforces Round 1089 (Div. 2) Editorial
12618 Mickey Mouse Constructive greedy math Statement B Nebius Round 2 (Codeforces Round 1088, Div. 1 + Div. 2) {2211} PROGRAMMING 1250.0 Nebius Round 2 and Codeforces Round 1088 Editorial
145 EXPloration, EXPloitation, and Gain Some EXPerience! bitmasks brute force dp greedy implementation Statement D Codeforces Round 1092 (Unrated, Div. 1, Based on THUPC 2026 — Finals) {2215} PROGRAMMING 2750.0 152930
3442 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
844 Interval Game bitmasks combinatorics dp games greedy math probabilities Statement F Codeforces Round 1091 (Div. 2) and CodeCraft 26 {2217} PROGRAMMING 2750.0 Tutorial
17946 Flip the Bit (Easy Version) greedy implementation Statement B Codeforces Round 1091 (Div. 2) and CodeCraft 26 {2217} PROGRAMMING 1000.0 Tutorial
3683 Flip the Bit (Hard Version) greedy implementation math Statement D Codeforces Round 1091 (Div. 2) and CodeCraft 26 {2217} PROGRAMMING 1500.0 Tutorial
29615 The 67th Permutation Problem constructive algorithms greedy math Statement C Codeforces Round 1090 (Div. 4) {2218} PROGRAMMING Codeforces Round 1090 (Div. 4) Editorial
38057 The 67th 6-7 Integer Problem greedy math Statement B Codeforces Round 1090 (Div. 4) {2218} PROGRAMMING Codeforces Round 1090 (Div. 4) Editorial
20666 The 67th OEIS Problem greedy math number theory Statement D Codeforces Round 1090 (Div. 4) {2218} PROGRAMMING Codeforces Round 1090 (Div. 4) Editorial
1380 Coloring a Red Black Tree dp greedy probabilities trees Statement C Codeforces Round 1093 (Div. 1) {2219} PROGRAMMING 1750.0 Codeforces Round 1093 (Div. 1, Div. 2) Editorial
20326 Blocked greedy sortings Statement A Codeforces Round 1093 (Div. 2) {2220} PROGRAMMING 500.0 Tutorial
8610 Artistic Balance Tree greedy sortings Statement B Spectral::Cup 2026 Round 1 (Codeforces Round 1094, Div. 1 + Div. 2) {2222} PROGRAMMING 1250.0 Spectral::Cup 2026 Round 1 (Codeforces Round 1094, Div. 1 + Div. 2) Editorial
8170 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
716 String Cutting binary search brute force greedy hashing string suffix structures strings Statement F Educational Codeforces Round 189 (Rated for Div. 2) {2225} PROGRAMMING Tutorial
7576 Mental Monumental (Easy Version) binary search data structures greedy math two pointers Statement C Codeforces Round 1095 (Div. 2) {2226} PROGRAMMING 1500.0 Codeforces Round 1095 (Div. 2) Editorial
950 Mental Monumental (Hard Version) data structures greedy math Statement E Codeforces Round 1095 (Div. 2) {2226} PROGRAMMING 2500.0 Codeforces Round 1095 (Div. 2) Editorial
14619 Disturbing Distribution greedy math Statement A Codeforces Round 1095 (Div. 2) {2226} PROGRAMMING 500.0 Codeforces Round 1095 (Div. 2) Editorial
13561 Everything Everywhere greedy math number theory Statement B Codeforces Round 1095 (Div. 2) {2226} PROGRAMMING 750.0 Codeforces Round 1095 (Div. 2) Editorial
12822 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
4062 It Just Keeps Going Sideways data structures dp greedy math Statement F Codeforces Round 1096 (Div. 3) {2227} PROGRAMMING Codeforces Round 1096 (Div. 3) — Editorial
20578 Marisa Steals Reimu's Takeout greedy implementation Statement A Codeforces Round 1098 (Div. 2) {2228} PROGRAMMING 500.0 Codeforces Round 1098 (Div. 2) Editorial
5680 Cirno and Number (Hard Version) greedy implementation Statement C2 Codeforces Round 1098 (Div. 2) {2228} PROGRAMMING 1000.0 Codeforces Round 1098 (Div. 2) Editorial
1011 Load Unbalancing binary search bitmasks dp greedy implementation Statement F Spectral::Cup 2026 Round 2 (Codeforces Round 1100, Div. 1 + Div. 2) {2229} PROGRAMMING 2500.0 Spectral::Cup 2026 Round 2 (Codeforces Round 1100, Div. 1 + Div. 2) Editorial
17528 Slimes on a Line brute force greedy math Statement A Spectral::Cup 2026 Round 2 (Codeforces Round 1100, Div. 1 + Div. 2) {2229} PROGRAMMING 500.0 Spectral::Cup 2026 Round 2 (Codeforces Round 1100, Div. 1 + Div. 2) Editorial
17168 Absolute Cinema greedy math Statement B 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
1339 Minimum Influence binary search data structures geometry greedy implementation math sortings two pointers Statement E Educational Codeforces Round 190 (Rated for Div. 2) {2230} PROGRAMMING Educational Codeforces Round 190 — Editorial
4711 Good Schedule dp graphs greedy two pointers Statement D Educational Codeforces Round 190 (Rated for Div. 2) {2230} PROGRAMMING Educational Codeforces Round 190 — Editorial
15838 Digit String greedy implementation math Statement B Educational Codeforces Round 190 (Rated for Div. 2) {2230} PROGRAMMING Educational Codeforces Round 190 — Editorial
3430 Maximum Prefix Sums constructive algorithms greedy implementation two pointers Statement D Codeforces Round 1099 (Div. 2) {2231} PROGRAMMING 2000.0
720 Quadratic Jumps constructive algorithms greedy math number theory Statement F Codeforces Round 1099 (Div. 2) {2231} PROGRAMMING 2750.0
11133 Seating Arrangement (Easy Version) binary search dp greedy ternary search two pointers Statement C1 Codeforces Round 1101 (Div. 2) {2232} PROGRAMMING 750.0 Codeforces Round 1101 (Div. 2) — Editorial
19092 Cake Leveling binary search greedy math Statement B Codeforces Round 1101 (Div. 2) {2232} PROGRAMMING 1000.0 Codeforces Round 1101 (Div. 2) — Editorial
7915 Seating Arrangement (Hard Version) binary search greedy ternary search two pointers Statement C2 Codeforces Round 1101 (Div. 2) {2232} PROGRAMMING 1000.0 Codeforces Round 1101 (Div. 2) — Editorial
262 The Cake Is a Lie greedy math number theory Statement F Codeforces Round 1101 (Div. 2) {2232} PROGRAMMING 3250.0 Codeforces Round 1101 (Div. 2) — Editorial
21791 Convergence greedy sortings Statement A Codeforces Round 1101 (Div. 2) {2232} PROGRAMMING 500.0 Codeforces Round 1101 (Div. 2) — Editorial
2019 Vessels, Heights and Two Versions (Hard Version) data structures dfs and similar dsu greedy implementation trees Statement F Codeforces Round 1102 (Div. 2) {2234} PROGRAMMING 1750.0
11044 Vessels, Heights and Two Versions (Easy Version) dfs and similar dsu greedy implementation two pointers Statement C Codeforces Round 1102 (Div. 2) {2234} PROGRAMMING 1250.0
18338 Omsk Programmers brute force greedy math Statement C Codeforces Round 1103 (Div. 3) {2236} PROGRAMMING
29552 Games on the Train greedy math Statement A Codeforces Round 1103 (Div. 3) {2236} PROGRAMMING
5017 Fullmetal Bitchemist constructive algorithms greedy math Statement D Order Capital Round 2 (Codeforces Round 1104, Div. 1 + Div. 2) {2237} PROGRAMMING 1750.0
69 Slime and Queries data structures greedy trees Statement H Order Capital Round 2 (Codeforces Round 1104, Div. 1 + Div. 2) {2237} PROGRAMMING 3500.0