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
916 Tricky and Clever Password binary search constructive algorithms data structures greedy hashing strings Statement E Codeforces Beta Round 30 (Codeforces format) {30} PROGRAMMING Codeforces Beta Round #30. Tutorial for problem A 2700
2087 Beaver data structures dp greedy hashing strings two pointers Statement C Codeforces Beta Round 71 {79} PROGRAMMING Codeforces Beta Round #71 Editorial 1800
3237 Petr# brute force data structures hashing strings Statement B Codeforces Beta Round 86 (Div. 1 Only) {113} PROGRAMMING Codeforces Beta Round #86 Editorial 1900
599 The Next Good String data structures greedy hashing strings Statement D Codeforces Round 124 (Div. 1) {196} PROGRAMMING Codeforces Round #124 — editorial 2600
942 Two Permutations data structures hashing strings Statement E Codeforces Round 131 (Div. 1) {213} PROGRAMMING Codeforces Round #131 Tutorial 2600
8082 Watto and Mechanism binary search data structures hashing string suffix structures strings Statement C Codeforces Round 291 (Div. 2) {514} PROGRAMMING Codeforces Round #291 (Div. 2) Editorial 1900
593 And Yet Another Bracket Sequence data structures greedy hashing string suffix structures strings Statement F VK Cup 2015 - Round 1 {524} PROGRAMMING VK Cup Round 1 (+ online mirror) editorial 2700
2557 Kefa and Watch data structures hashing strings Statement E Codeforces Round 321 (Div. 2) {580} PROGRAMMING Codeforces Round #321 Editorial 2700
1243 Acyclic Organic Compounds data structures dfs and similar dsu hashing strings trees Statement D Codeforces Round 333 (Div. 1) {601} PROGRAMMING Codeforces Round #333 — editorial 2400
2368 Messenger data structures hashing implementation string suffix structures strings Statement D Codeforces Round 344 (Div. 2) {631} PROGRAMMING Editorial Codeforces Round #344 (Div. 2) 2100
3349 Spy Syndrome 2 data structures dp hashing implementation sortings string suffix structures strings Statement C Manthan, Codefest 16 {633} PROGRAMMING Manthan, Codefest 16: Editorials 1900
2481 String Set Queries brute force data structures hashing string suffix structures strings Statement F Educational Codeforces Round 16 {710} PROGRAMMING Editorial of Educational Codeforces Round 16 2700
1535 Games on a CD data structures hashing string suffix structures strings Statement E Technocup 2017 - Elimination Round 1 (Unofficially Open for Everyone, Rated for Div. 2) {727} PROGRAMMING Tutorial 2300
2461 Felicity is Coming! data structures hashing sortings strings Statement C Codecraft-17 and Codeforces Round 391 (Div. 1 + Div. 2, combined) {757} PROGRAMMING CodeCraft-17 and Codeforces Round #391 (Div. 1 + Div. 2, combined) Editorial 1900
168 Rap God data structures dfs and similar hashing strings trees Statement D Codeforces Round 406 (Div. 1) {786} PROGRAMMING Codeforces Round #406 Editorial 3300
320 Speckled Band data structures divide and conquer hashing string suffix structures strings Statement G Codeforces Round 519 by Botan Investments {1043} PROGRAMMING Codeforces Round #519 Editorial 3500
1205 Vasya and Big Integers binary search data structures dp hashing strings Statement E Educational Codeforces Round 51 (Rated for Div. 2) {1051} PROGRAMMING Educational Codeforces Round 51 Editorial 2500
2791 Check Transcription brute force data structures hashing strings Statement E Mail.Ru Cup 2018 Round 3 {1056} PROGRAMMING Mail.Ru Cup 2018 Round 3 Editorial 2100
130 Palindromic Magic data structures hashing strings Statement H Avito Cool Challenge 2018 {1081} PROGRAMMING 63888 3500
1000 Morse Code binary search data structures dp hashing sortings string suffix structures strings Statement C Codeforces Round 542 [Alex Lopashev Thanks-Round] (Div. 1) {1129} PROGRAMMING 65520 2300
1216 Indie Album data structures dfs and similar hashing string suffix structures strings trees Statement G Educational Codeforces Round 71 (Rated for Div. 2) {1207} PROGRAMMING Educational Codeforces Round 71 Editorial 2600
719 Concatenation with intersection data structures hashing strings two pointers Statement E Codeforces Round 622 (Div. 2) {1313} PROGRAMMING 2500.0 Editorial 2800
1685 Reachable Strings data structures hashing string suffix structures strings strings Statement D Codeforces Round 625 (Div. 1, based on Technocup 2020 Final Round) {1320} PROGRAMMING 2000.0 Codeforces Round #625 Editorial
1247 Death DBMS data structures hashing string suffix structures strings trees Statement G Educational Codeforces Round 97 (Rated for Div. 2) {1437} PROGRAMMING 84149
605 String Distance binary search data structures hashing string suffix structures strings Statement F Educational Codeforces Round 110 (Rated for Div. 2) {1535} PROGRAMMING 91481
6133 Erase and Extend (Hard Version) binary search data structures greedy hashing string suffix structures strings Statement E2 Codeforces Round 726 (Div. 2) {1537} PROGRAMMING 1750.0 Codeforces Round #726 (Div.2) Editorial
3211 Funny Substrings brute force data structures hashing implementation strings Statement E Codeforces Round 725 (Div. 3) {1538} PROGRAMMING Codeforces Round #725 (Div. 3) Editorial
243 Alphabetic Tree binary search data structures dfs and similar hashing string suffix structures strings trees Statement G Codeforces Round 758 (Div.1 + Div. 2) {1608} PROGRAMMING 2750.0 Editorial of Codeforces Round #758 (Div.1 + Div. 2)
1479 Minimal String Xoration bitmasks data structures divide and conquer hashing strings Statement F Codeforces Round 778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) {1654} PROGRAMMING 3000.0 Editorial of Codeforces Round #778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) 2800
2545 Prefix Function Queries bitmasks brute force data structures hashing string suffix structures strings trees Statement E Educational Codeforces Round 134 (Rated for Div. 2) {1721} PROGRAMMING 106416
1519 Hossam and Range Minimum Query binary search bitmasks data structures hashing probabilities strings trees Statement F Codeforces Round 837 (Div. 2) {1771} PROGRAMMING 3500.0 Codeforces Round #837 (Div. 2) Editorial
29230 Remove Two Letters data structures greedy hashing strings Statement D Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
1645 Palindrome Partition binary search brute force data structures dp hashing strings Statement C Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 1500.0 Codeforces Round #873 (Div. 1 & 2) Editorial 2600
12494 Binary String Copying binary search brute force data structures hashing strings Statement C Educational Codeforces Round 152 (Rated for Div. 2) {1849} PROGRAMMING 118752
5567 Collapsing Strings binary search data structures dfs and similar hashing strings trees Statement E Educational Codeforces Round 159 (Rated for Div. 2) {1902} PROGRAMMING Educational Codeforces Round 159 Editorial
536 Palindromic Problem binary search data structures hashing strings Statement F Educational Codeforces Round 160 (Rated for Div. 2) {1913} PROGRAMMING 123493
4528 Non-Palindromic Substring data structures hashing implementation math strings Statement B Codeforces Round 934 (Div. 1) {1943} PROGRAMMING 1250.0 Codeforces Round #934 (Div1, Div2) Editorial
5268 Division + LCP (easy version) binary search data structures dp hashing string suffix structures strings Statement G1 Codeforces Round 943 (Div. 3) {1968} PROGRAMMING 129096 1900
2494 Division + LCP (hard version) binary search brute force data structures dp hashing math string suffix structures strings Statement G2 Codeforces Round 943 (Div. 3) {1968} PROGRAMMING 129096 2200
12961 Permutation of Rows and Columns constructive algorithms data structures hashing math matrices sortings Statement E Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
746 Polyathlon data structures hashing string suffix structures strings Statement I 2024-2025 ICPC, NERC, Southern and Volga Russian Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2038} PROGRAMMING 2500