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 ... 12 13 14

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
8008 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
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
297 Zhily and Cycle graphs greedy Statement D Codeforces Round 1097 (Div. 1, Based on Zhili Cup 2026) {2223} PROGRAMMING 2500.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
671 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
15511 Alternating String brute force greedy Statement B Educational Codeforces Round 189 (Rated for Div. 2) {2225} PROGRAMMING Tutorial
12502 Red-Black Pairs dp greedy Statement C Educational Codeforces Round 189 (Rated for Div. 2) {2225} PROGRAMMING Tutorial
6881 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
2734 Reserved Reversals constructive algorithms dp greedy Statement D Codeforces Round 1095 (Div. 2) {2226} PROGRAMMING 2000.0 Codeforces Round 1095 (Div. 2) Editorial
878 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
13549 Disturbing Distribution greedy math Statement A Codeforces Round 1095 (Div. 2) {2226} PROGRAMMING 500.0 Codeforces Round 1095 (Div. 2) Editorial
12300 Everything Everywhere greedy math number theory Statement B Codeforces Round 1095 (Div. 2) {2226} PROGRAMMING 750.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
7884 It All Went Sideways binary search data structures dp greedy Statement E Codeforces Round 1096 (Div. 3) {2227} PROGRAMMING Codeforces Round 1096 (Div. 3) — Editorial
3634 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
23708 Party Monster greedy Statement B Codeforces Round 1096 (Div. 3) {2227} PROGRAMMING Codeforces Round 1096 (Div. 3) — Editorial
19067 Marisa Steals Reimu's Takeout greedy implementation Statement A Codeforces Round 1098 (Div. 2) {2228} PROGRAMMING 500.0 Codeforces Round 1098 (Div. 2) Editorial
5039 Cirno and Number (Hard Version) greedy implementation Statement C2 Codeforces Round 1098 (Div. 2) {2228} PROGRAMMING 1000.0 Codeforces Round 1098 (Div. 2) Editorial
856 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
4274 Me When Median Problem binary search greedy Statement D Spectral::Cup 2026 Round 2 (Codeforces Round 1100, Div. 1 + Div. 2) {2229} PROGRAMMING 2000.0 Spectral::Cup 2026 Round 2 (Codeforces Round 1100, Div. 1 + Div. 2) Editorial
15421 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
14863 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
1135 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
4007 Good Schedule dp graphs greedy two pointers Statement D Educational Codeforces Round 190 (Rated for Div. 2) {2230} PROGRAMMING Educational Codeforces Round 190 — Editorial
13893 Digit String greedy implementation math Statement B Educational Codeforces Round 190 (Rated for Div. 2) {2230} PROGRAMMING Educational Codeforces Round 190 — Editorial
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
8590 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
15143 Cake Leveling binary search greedy math Statement B Codeforces Round 1101 (Div. 2) {2232} PROGRAMMING 1000.0 Codeforces Round 1101 (Div. 2) — Editorial
5720 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
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
87 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
17537 Convergence greedy sortings Statement A Codeforces Round 1101 (Div. 2) {2232} PROGRAMMING 500.0 Codeforces Round 1101 (Div. 2) — Editorial