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

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
2087 Beaver data structures dp greedy hashing strings two pointers Statement C Codeforces Beta Round 71 {79} PROGRAMMING Codeforces Beta Round #71 Editorial 1800
232 Cubes data structures dp geometry two pointers Statement D Codeforces Round 150 (Div. 1) {243} PROGRAMMING Editorial for Codeforces Round #150 2700
41723 Number of Ways binary search brute force data structures dp two pointers Statement C Codeforces Round 266 (Div. 2) {466} PROGRAMMING Editorial Codeforces Round #266 (Div. 2) 1700
4186 Strip binary search data structures dp two pointers Statement B Codeforces Round 278 (Div. 1) {487} PROGRAMMING Tutorial 2300
6893 A and B and Interesting Substrings data structures dp two pointers Statement D Codeforces Round 294 (Div. 2) {519} PROGRAMMING Editorial 1900
14756 Modulo Sum combinatorics data structures dp two pointers Statement B Codeforces Round 319 (Div. 2) {577} PROGRAMMING Editorial Codeforces Round #319 1800
6815 Alyona and Spreadsheet binary search data structures dp greedy implementation two pointers Statement C Codeforces Round 401 (Div. 2) {777} PROGRAMMING Problem analysis of Codeforces Round #401 (Div. 2) 1600
6456 The Bakery binary search data structures divide and conquer dp two pointers Statement B Codeforces Round 426 (Div. 1) {833} PROGRAMMING Codeforces Round #426 Editorial 2200
26206 Lecture Sleep data structures dp implementation two pointers Statement B Educational Codeforces Round 41 (Rated for Div. 2) {961} PROGRAMMING Educational Codeforces Round 41 Editorial 1300
4142 Pencils and Boxes binary search data structures dp greedy two pointers Statement E Educational Codeforces Round 44 (Rated for Div. 2) {985} PROGRAMMING Educational Codeforces Round 44 Editorial 2000
539 Most Dangerous Shark data structures dp two pointers Statement G Codeforces Round 541 (Div. 2) {1131} PROGRAMMING Codeforces Round #541 Editorial 2900
698 Yet Another Partiton Problem data structures divide and conquer dp geometry two pointers Statement G Educational Codeforces Round 66 (Rated for Div. 2) {1175} PROGRAMMING Editorial 2700
10425 RGB Substring (hard version) data structures dp implementation two pointers Statement D2 Codeforces Round 575 (Div. 3) {1196} PROGRAMMING Editorial 1600
4396 White Lines brute force data structures dp implementation two pointers Statement D Codeforces Round 578 (Div. 2) {1200} PROGRAMMING Codeforces Round #578 (Div. 2) Editorial 1900
8144 Yet Another Monster Killing Problem binary search data structures dp greedy sortings two pointers Statement D Educational Codeforces Round 76 (Rated for Div. 2) {1257} PROGRAMMING Educational Codeforces Round 76 Editorial 1700
2000 Delete a Segment brute force constructive algorithms data structures dp graphs sortings trees two pointers Statement E Codeforces Round 613 (Div. 2) {1285} PROGRAMMING Codeforces Round #613 (Div. 2) Editorial 2300
2021 AND Segments bitmasks combinatorics data structures dp two pointers Statement F Educational Codeforces Round 84 (Rated for Div. 2) {1327} PROGRAMMING Educational Codeforces Round 84 Editorial 2500
11728 Three Blocks Palindrome (easy version) binary search brute force data structures dp two pointers Statement E1 Codeforces Round 634 (Div. 3) {1335} PROGRAMMING 75993 1700
9348 Three Blocks Palindrome (hard version) brute force data structures dp two pointers Statement E2 Codeforces Round 634 (Div. 3) {1335} PROGRAMMING 75993 2000
10689 Yet Another Yet Another Task data structures dp implementation two pointers Statement D Educational Codeforces Round 88 (Rated for Div. 2) {1359} PROGRAMMING Educational Codeforces Round 88 Editorial 2000
1384 Controversial Rounds binary search data structures dp dsu two pointers Statement F Educational Codeforces Round 93 (Rated for Div. 2) {1398} PROGRAMMING Educational Codeforces Round 93 Editorial
11360 Zigzags brute force data structures dp math two pointers Statement D Educational Codeforces Round 94 (Rated for Div. 2) {1400} PROGRAMMING 81942
6213 Perform Easily data structures dp implementation sortings two pointers Statement C Technocup 2021 - Elimination Round 1 {1413} PROGRAMMING 1500.0 Codeforces Round 679 (Div. 1, Div. 2) and Technocup Round 1 editorial
375 Strange Permutation binary search combinatorics data structures dp two pointers Statement E Codeforces Round 694 (Div. 1) {1470} PROGRAMMING 2000.0 86464
9679 Max Median binary search data structures dp two pointers Statement D Codeforces Round 703 (Div. 2) {1486} PROGRAMMING 1750.0 Codeforces Round #703 (Div. 2) Editorial
5113 Cheap Dinner data structures dp implementation sortings two pointers Statement E Educational Codeforces Round 104 (Rated for Div. 2) {1487} PROGRAMMING 87873
17470 Maximum width data structures dp greedy two pointers Statement C Codeforces Round 704 (Div. 2) {1492} PROGRAMMING 1500.0 Codeforces Round #704 Editorial
4828 Maximize the Remaining String brute force data structures dp greedy strings two pointers Statement G Codeforces Round 710 (Div. 3) {1506} PROGRAMMING Editorial
1833 Stringforces binary search bitmasks data structures dp greedy strings two pointers Statement E Educational Codeforces Round 111 (Rated for Div. 2) {1550} PROGRAMMING Educational Codeforces Round 111 Editorial
7350 Game Master data structures dfs and similar dp graphs greedy two pointers Statement C Codeforces Round 758 (Div.1 + Div. 2) {1608} PROGRAMMING 1000.0 Editorial of Codeforces Round #758 (Div.1 + Div. 2)
11794 Monsters And Spells data structures dp fft greedy implementation two pointers Statement C Educational Codeforces Round 121 (Rated for Div. 2) {1626} PROGRAMMING 99136
2775 Not Escaping data structures dp implementation shortest paths sortings two pointers Statement E Codeforces Round 766 (Div. 2) {1627} PROGRAMMING 2000.0 Codeforces Round #766 (Div. 2) Editorial
5313 New Year Concert binary search data structures dp greedy math number theory two pointers Statement D Codeforces Round 769 (Div. 2) {1632} PROGRAMMING 2000.0 Editorial of Codeforces Round #769
26244 2^Sort data structures dp sortings two pointers Statement G Codeforces Round 799 (Div. 4) {1692} PROGRAMMING Codeforces Round #799 (Div. 4) Editorial
15770 awoo's Favorite Problem constructive algorithms data structures dp greedy implementation strings two pointers Statement C Educational Codeforces Round 130 (Rated for Div. 2) {1697} PROGRAMMING 103835
5898 Burenka and Traditions (hard version) data structures dp greedy math two pointers Statement A2 Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 500.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
8461 Valiant's New Map binary search brute force data structures dp two pointers Statement D Codeforces Round 841 (Div. 2) and Divide by Zero 2022 {1731} PROGRAMMING 1500.0 Codeforces Round #841 (Div. 2) and Divide By Zero 2022 Editorial
7031 Slime Escape data structures dp greedy two pointers Statement D Codeforces Round 822 (Div. 2) {1734} PROGRAMMING 2000.0 Codeforces Round #822 (Div.2) Editorial
2117 Vlad and the Nice Paths (hard version) binary search combinatorics data structures dp math two pointers Statement G2 Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
3185 Trees and Segments binary search brute force constructive algorithms data structures dp greedy two pointers Statement D Codeforces Round 893 (Div. 2) {1858} PROGRAMMING 2000.0 Codeforces Round #893 (Div. 2) Editorial 2200
7977 Andrey and Escape from Capygrad binary search data structures dp dsu greedy sortings two pointers Statement D Codeforces Round 892 (Div. 2) {1859} PROGRAMMING 1750.0 Video solutions from Geothermal.
13084 Colorful Table binary search data structures dp implementation math sortings two pointers Statement C CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) {1870} PROGRAMMING 1500.0 CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
6142 Blocking Elements binary search data structures dp greedy implementation two pointers Statement D Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 2000.0 Codeforces Round #922 (Div. 2) Editorial
32887 Find the Different Ones! binary search brute force data structures dp greedy two pointers Statement D Codeforces Round 923 (Div. 3) {1927} PROGRAMMING 125597
21832 Boring Day binary search data structures dp greedy two pointers Statement C Codeforces Round 955 (Div. 2, with prizes from NEAR!) {1982} PROGRAMMING 1000.0 130839
13479 Hungry Games binary search data structures dp two pointers Statement C Codeforces Round 959 sponsored by NEAR (Div. 1 + Div. 2) {1994} PROGRAMMING 1250.0 Video Tutorial
396 Let Me Teach You a Lesson (Hard Version) 2-sat bitmasks data structures dp graphs matrices two pointers Statement E2 Codeforces Round 961 (Div. 2) {1995} PROGRAMMING 1500.0 Video Tutorial
508 Let Me Teach You a Lesson (Easy Version) 2-sat data structures dp two pointers Statement E1 Codeforces Round 961 (Div. 2) {1995} PROGRAMMING 2500.0 Video Tutorial
637 Turtle and Inversions (Hard Version) brute force constructive algorithms data structures dp greedy two pointers Statement E2 Codeforces Round 968 (Div. 2) {2003} PROGRAMMING 1000.0 sol-zh.pdf
798 Turtle and Three Sequences data structures dp graphs greedy meet-in-the-middle probabilities two pointers Statement F Codeforces Round 968 (Div. 2) {2003} PROGRAMMING 2500.0 sol-zh.pdf
1897 The Endspeaker (Hard Version) binary search combinatorics data structures dp greedy implementation two pointers Statement D2 Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 1000.0 Codeforces Round #982 (Div. 2) Editorial
9642 Penchick and Desert Rabbit data structures dfs and similar dp dsu greedy two pointers Statement D Codeforces Round 987 (Div. 2) {2031} PROGRAMMING 2000.0 Codeforces Round 987 (Div. 2) Editorial
5809 Yet Another Real Number Problem binary search brute force data structures dp greedy implementation math two pointers Statement D Codeforces Global Round 27 {2035} PROGRAMMING 1500.0 Codeforces Global Round 27 Editorial
1307 Kevin and Math Class brute force data structures divide and conquer dp math trees two pointers Statement F Codeforces Global Round 28 {2048} PROGRAMMING 2000.0 Tutorial
105 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
2259 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
4991 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
6349 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
2739 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
1004 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
2752 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