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 4 5

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
367 Momoyo and the Network binary search dfs and similar divide and conquer dp trees Statement F Codeforces Round 1098 (Div. 2) {2228} PROGRAMMING 3500.0 Codeforces Round 1098 (Div. 2) Editorial
2070 Deconstruction Tree combinatorics data structures dp graphs trees Statement E 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
238 The Endians dp trees Statement I Spectral::Cup 2026 Round 2 (Codeforces Round 1100, Div. 1 + Div. 2) {2229} PROGRAMMING 5000.0 Spectral::Cup 2026 Round 2 (Codeforces Round 1100, Div. 1 + Div. 2) Editorial
532 Game on Growing Tree binary search dfs and similar dp games trees Statement F Educational Codeforces Round 190 (Rated for Div. 2) {2230} PROGRAMMING Educational Codeforces Round 190 — Editorial
1215 Graph Cutting dfs and similar dp trees Statement E Codeforces Round 1099 (Div. 2) {2231} PROGRAMMING 2500.0
2436 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 Tutorial
152 Slime and Queries data structures greedy trees Statement H Order Capital Round 2 (Codeforces Round 1104, Div. 1 + Div. 2) {2237} PROGRAMMING 3500.0 Order Capital Round 2 (Codeforces Round 1104, Div. 1 + Div. 2) Editorial
79 DBFS Order (Easy Version) dp trees Statement I1 Order Capital Round 2 (Codeforces Round 1104, Div. 1 + Div. 2) {2237} PROGRAMMING 3500.0 Order Capital Round 2 (Codeforces Round 1104, Div. 1 + Div. 2) Editorial
107 DBFS Order (Hard Version) dp trees Statement I2 Order Capital Round 2 (Codeforces Round 1104, Div. 1 + Div. 2) {2237} PROGRAMMING 4500.0 Order Capital Round 2 (Codeforces Round 1104, Div. 1 + Div. 2) Editorial
9528 Village Guilds dfs and similar dp trees Statement C Codeforces Round 1106 (Div. 2) {2238} PROGRAMMING 1250.0 Codeforces Round 1106 (Div. 2) Editorial
6630 Fair and Square combinatorics dp graphs math number theory trees Statement E Codeforces Round 1107 (Div. 3) {2241} PROGRAMMING Codeforces Round 1107 (Div. 3) Editorial
4450 Anya Loves Trees! dp greedy trees Statement F Codeforces Round 1109 (Div. 3) {2244} PROGRAMMING Codeforces Round 1109 (Div. 3) Editorial
1159 Tom and Jerry dfs and similar dsu games trees Statement E Spectral::Cup 2026 Round 3 (Codeforces Round 1110, Div. 1 + Div. 2) {2245} PROGRAMMING 2500.0 Spectral::Cup 2026 Round 3 (Codeforces Round 1110, Div. 1 + Div. 2) Editorial
1144 Build a Tree constructive algorithms Statement E Codeforces Round 1111 (Div. 2) {2247} PROGRAMMING 3000.0
513 Spectral Components dfs and similar dp greedy sortings trees Statement F Codeforces Round 1115 (Div. 2) {2252} PROGRAMMING 2750.0 155741
1356 Diameter Intersections brute force dfs and similar fft graphs trees Statement E Educational Codeforces Round 193 (Rated for Div. 2) {2253} PROGRAMMING 155813
1184 Nightcrawler data structures dfs and similar dp greedy sortings trees Statement G Codeforces Round 1114 (Div. 3) {2254} PROGRAMMING Tutorial
11444 Spying on the Beaver dfs and similar dsu graphs trees Statement C Codeforces Round 1117 (Div. 2) {2257} PROGRAMMING 1250.0 Codeforces Round 1117 (Div. 2) Editorial
217 Plus Minus Tree dfs and similar dp graphs trees Statement F Codeforces Round 1118 (Div. 2) {2258} PROGRAMMING 3000.0 Codeforces Round 1118 (Div. 2) Editorial
4747 Far Cities interactive trees two pointers Statement C Codeforces Round 1118 (Div. 2) {2258} PROGRAMMING 1250.0 Codeforces Round 1118 (Div. 2) Editorial
396 Edge Three-Coloring bitmasks brute force dfs and similar dsu graphs trees Statement F Educational Codeforces Round 194 (Rated for Div. 2) {2260} PROGRAMMING