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 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
17984 Longest Regular Bracket Sequence constructive algorithms data structures dp greedy sortings strings Statement C Codeforces Beta Round 5 {5} PROGRAMMING C, D и E с CBR5 - разбор 1900
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
4733 Sysadmin Bob greedy implementation strings Statement B Codeforces Beta Round 31 (Div. 2, Codeforces format) {31} PROGRAMMING 1500
2139 Old Berland Language data structures greedy trees Statement C Codeforces Beta Round 37 {37} PROGRAMMING Codeforces Beta Round #37 (Tutorial) 1900
155318 Chat room greedy strings Statement A Codeforces Beta Round 54 (Div. 2) {58} PROGRAMMING Codeforces Beta Round #54 (Div.2) - разбор A-D 1100
833 Calendar greedy strings Statement D Codeforces Beta Round 54 (Div. 2) {58} PROGRAMMING Codeforces Beta Round #54 (Div.2) - разбор A-D 2000
2100 Text Messaging expression parsing greedy strings Statement B Codeforces Beta Round 64 {70} PROGRAMMING Analysis Codeforces Beta Round #64 1600
194 Goshtasp, Vishtasp and Eidi *special greedy math Statement A Unknown Language Round 2 {72} PROGRAMMING 1900
2087 Beaver data structures dp greedy hashing strings two pointers Statement C Codeforces Beta Round 71 {79} PROGRAMMING Codeforces Beta Round #71 Editorial 1800
3942 Newspaper Headline greedy strings Statement A Codeforces Beta Round 75 (Div. 1 Only) {91} PROGRAMMING Analysis Codeforces Beta Round #75 1600
2870 Fancy Number brute force greedy sortings strings Statement C Codeforces Beta Round 89 (Div. 2) {118} PROGRAMMING Editorial codeforces beta raund 89. 1700
7919 Lucky Conversion greedy implementation Statement A Codeforces Round 104 (Div. 1) {145} PROGRAMMING Codeforces Round #104 - Editorial 1300
2654 Friends or Not *special greedy implementation Statement A VK Cup 2012 Qualification Round 2 {159} PROGRAMMING Simple solution to vk cup Qualification Round 1 and 2 1700
810 Name greedy strings Statement D Codeforces Round 116 (Div. 2, ACM-ICPC Rules) {180} PROGRAMMING 2000
603 Hamming Distance constructive algorithms greedy math matrices Statement C Codeforces Round 122 (Div. 1) {193} PROGRAMMING Editoral Codeforces Round #122 2400
5837 Lexicographically Maximum Subsequence greedy strings Statement A Codeforces Round 124 (Div. 1) {196} PROGRAMMING Разбор задач 1200
599 The Next Good String data structures greedy hashing strings Statement D Codeforces Round 124 (Div. 1) {196} PROGRAMMING Codeforces Round #124 — editorial 2600
19686 LLPS binary search bitmasks brute force greedy implementation strings Statement A Codeforces Round 127 (Div. 2) {202} PROGRAMMING 900
1601 Anagram greedy strings Statement C Codeforces Round 155 (Div. 2) {254} PROGRAMMING Codeforces Round #155 (Div. 2) — tutorial 1800
776 Have You Ever Heard About the Word? greedy hashing string suffix structures strings Statement D Codeforces Round 189 (Div. 1) {319} PROGRAMMING Codeforces Round #189 — Editorial 2700
1027 Students' Revenge data structures greedy sortings Statement C Codeforces Round 193 (Div. 2) {332} PROGRAMMING 8447 2200
334 Binary Key dp greedy implementation Statement E Codeforces Round 193 (Div. 2) {332} PROGRAMMING 8447 2600
273166 Helpful Maths greedy implementation sortings strings Statement A Codeforces Round 197 (Div. 2) {339} PROGRAMMING Codeforces Round #197 — Tutorial 900
10812 Bear and Strings brute force greedy implementation math strings Statement B Codeforces Round 226 (Div. 2) {385} PROGRAMMING Codeforces Round #226 (Div. 2) — Editorial 1300
21012 DZY Loves Strings greedy implementation Statement B Codeforces Round #FF (Div. 2) {447} PROGRAMMING Codeforces Round #FF(255) Editorial 1000
6230 No to Palindromes! greedy strings Statement A Codeforces Round 265 (Div. 1) {464} PROGRAMMING Codeforces Round #265 Editorial 1700
23968 Anton and currency you all know greedy math strings Statement B Codeforces Round 288 (Div. 2) {508} PROGRAMMING 16048 1300
8380 Tanya and Postcard greedy implementation strings Statement B Codeforces Round 293 (Div. 2) {518} PROGRAMMING Codeforces Round #293 (Div.2) Editorial 1500
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
16351 Vitaliy and Pie greedy hashing strings Statement A Codeforces Round 297 (Div. 2) {525} PROGRAMMING Codeforces Round #297 (Div.2) Editorial 1200
10212 Pasha and String constructive algorithms greedy math strings Statement B Codeforces Round 297 (Div. 2) {525} PROGRAMMING Codeforces Round #297 (Div.2) Editorial 1500
2428 Correcting Mistakes constructive algorithms dp greedy hashing strings two pointers Statement E VK Cup 2015 - Round 2 (unofficial online mirror, Div. 1 only) {533} PROGRAMMING Разбор VK Cup Round 2 1800
4593 Tavas and Malekas greedy hashing string suffix structures strings Statement D Codeforces Round 299 (Div. 2) {535} PROGRAMMING Codeforces Round #299 Editorial 2100
43520 Two Substrings brute force dp greedy implementation strings Statement A Codeforces Round 306 (Div. 2) {550} PROGRAMMING Разбор задач Codeforces Round #306 (Div. 2) 1500
1733 Vanya and Brackets brute force dp expression parsing greedy implementation strings Statement E Codeforces Round 308 (Div. 2) {552} PROGRAMMING Codeforces #308 (Div. 2) Editorial 2300
10820 Ohana Cleans Up brute force greedy strings Statement B Codeforces Round 309 (Div. 2) {554} PROGRAMMING Codeforces Round #309 Editorial 1200
6528 Marina and Vasya constructive algorithms greedy strings Statement C Codeforces Round 324 (Div. 2) {584} PROGRAMMING Tutorial 1700
7050 Make Palindrome constructive algorithms greedy strings Statement C Educational Codeforces Round 2 {600} PROGRAMMING Editorial 1800
2459 Running Track dp greedy strings trees Statement C Codeforces Round 338 (Div. 2) {615} PROGRAMMING Codeforces Round #338 (Div. 2) editorial 1900
8381 Making a String greedy sortings Statement B AIM Tech Round (Div. 2) {624} PROGRAMMING AIM Tech Round Tutorial 1200
11437 War of the Corporations constructive algorithms greedy strings Statement B Codeforces Round 342 (Div. 2) {625} PROGRAMMING Codeforces Round #342 (Div. 2) : editorial 1300
6494 Bear and String Distance greedy strings Statement C Educational Codeforces Round 8 {628} PROGRAMMING 43203 1400
1405 Intellectual Inquiry dp greedy strings Statement E CROC 2016 - Elimination Round {645} PROGRAMMING Editorial for CROC 2016 Elimination Round 2100
17074 Simple Strings dp greedy strings Statement C Educational Codeforces Round 12 {665} PROGRAMMING Editorial 1200
9794 Letters Cyclic Shift constructive algorithms greedy implementation strings Statement A AIM Tech Round 3 (Div. 1) {708} PROGRAMMING Editorial 1200
3344 Generating Sets binary search data structures dfs and similar greedy strings trees Statement D Intel Code Challenge Elimination Round (Div. 1 + Div. 2, combined) {722} PROGRAMMING Tutorial 1900
2446 Dense Subsequence data structures greedy strings Statement D Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined) {724} PROGRAMMING Tutorial 1900
12865 PolandBall and Game binary search data structures games greedy sortings strings Statement B 8VC Venture Cup 2017 - Elimination Round {755} PROGRAMMING 8VC Venture Cup 2017 — Elimination Round [Editorial] 1200
2934 Ability To Convert constructive algorithms dp greedy math strings Statement D Codeforces Round 392 (Div. 2) {758} PROGRAMMING Codeforces Round #392 (Div. 2) Editorial 1900
7545 Code obfuscation greedy implementation strings Statement B Codeforces Round 397 by Kaspersky Lab and Barcelona Bootcamp (Div. 1 + Div. 2 combined) {765} PROGRAMMING Codeforces Round #397 Editorial 1100
4938 Mahmoud and a Message brute force dp greedy strings Statement C Codeforces Round 396 (Div. 2) {766} PROGRAMMING Codeforces round #396 editorial 1700
5249 Cloud of Hashtags binary search greedy implementation strings Statement D Codeforces Round 401 (Div. 2) {777} PROGRAMMING Problem analysis of Codeforces Round #401 (Div. 2) 1800
12787 String Game binary search greedy strings Statement A Codeforces Round 402 (Div. 1) {778} PROGRAMMING Codeforces Round #402, Editorial 1600
3040 Innokenty and a Football League 2-sat graphs greedy implementation shortest paths strings Statement D Технокубок 2017 - Финал (только для онсайт-финалистов) {780} PROGRAMMING Technocup 2017 Finals and Codeforces Round #403 Editorial 2000
9804 Minimal string data structures greedy strings Statement C Educational Codeforces Round 19 {797} PROGRAMMING 51588 1700
11179 Valued Keys constructive algorithms greedy strings Statement B Codeforces Round 409 (rated, Div. 2, based on VK Cup 2017 Round 2) {801} PROGRAMMING 1000
10151 Minimum number of steps combinatorics greedy implementation math Statement B Codeforces Round 411 (Div. 1) {804} PROGRAMMING Codeforces Round #411 Editorial 1400
3717 Suitable Replacement binary search greedy implementation Statement D Educational Codeforces Round 25 {825} PROGRAMMING Educational Codeforces Round 25 - Editorial 1600
4320 String Reconstruction data structures greedy sortings strings Statement A Codeforces Round 423 (Div. 1, rated, based on VK Cup Finals) {827} PROGRAMMING Codeforces Round #423 Analysis 1700
11906 Diversity greedy implementation strings Statement A AIM Tech Round 4 (Div. 2) {844} PROGRAMMING AIM Tech Round 4 -- Editorial 1000
10343 Generate Login brute force greedy sortings Statement A Codeforces Round 455 (Div. 2) {909} PROGRAMMING Codeforces Round #455 (Div. 2) Editorial 1100
3670 The Monster dp greedy implementation math Statement A Codeforces Round 459 (Div. 1) {917} PROGRAMMING Codeforces Round #459 Editorial 1900
4797 Robot Vacuum Cleaner greedy sortings Statement D Codeforces Round 461 (Div. 2) {922} PROGRAMMING 57605 1800
4709 Perfect Security data structures greedy strings trees Statement C VK Cup 2018 - Round 1 {923} PROGRAMMING VK Cup 2018 Round 1 and CF Round #470 (div. 1 & 2) editorial 1900
8099 Love Rescue dfs and similar dsu graphs greedy strings Statement D Codeforces Round 464 (Div. 2) {939} PROGRAMMING Analysis of Codeforces Round #464 1600
9372 String Transformation greedy strings Statement C Educational Codeforces Round 39 (Rated for Div. 2) {946} PROGRAMMING 58210 1300
10526 Mahmoud and Ehab and the message dsu greedy implementation Statement B Codeforces Round 473 (Div. 2) {959} PROGRAMMING Codeforces round #473 editorial 1300
1872 Short Code data structures dp greedy strings trees Statement E Codeforces Round 476 (Div. 2) [Thanks, Telegram!] {965} PROGRAMMING Analysis of Codeforces Round #476 (Div. 2) [Thanks, Telegram!] 2500
40812 File Name greedy strings Statement B Codeforces Round 481 (Div. 3) {978} PROGRAMMING T 700
2171 Kuro and GCD and XOR and SUM binary search bitmasks brute force data structures dp dsu greedy math number theory strings trees Statement D Codeforces Round 482 (Div. 2) {979} PROGRAMMING 1750.0 Codeforces Round #482 (Div. 2) Editorial 2200
10694 Minimum Ternary String greedy implementation Statement B Educational Codeforces Round 47 (Rated for Div. 2) {1009} PROGRAMMING 60630 1500
20086 Equalize dp greedy strings Statement C Manthan, Codefest 18 (rated, Div. 1 + Div. 2) {1037} PROGRAMMING Tutorial 1300
8871 Vasya And Password greedy implementation strings Statement A Educational Codeforces Round 51 (Rated for Div. 2) {1051} PROGRAMMING Educational Codeforces Round 51 Editorial 1200
648 Refactoring greedy implementation strings Statement D Mail.Ru Cup 2018 Round 2 {1055} PROGRAMMING Mail.Ru Cup 2018 Round 2 — analysis 2300
14082 Minimizing the String greedy strings Statement A Educational Codeforces Round 54 (Rated for Div. 2) {1076} PROGRAMMING E 1200
2140 The Fair Nut and Strings greedy strings Statement B Codeforces Round 526 (Div. 1) {1083} PROGRAMMING 63753 2100
1122 Vasya and Templates greedy implementation strings Statement E Technocup 2019 - Elimination Round 4 {1085} PROGRAMMING Technocup 2019 — Elimination Round 4 + Codeforces Round 528: editorial 2500
147 JS Minification greedy implementation Statement J 2018-2019 ICPC, NEERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1089} PROGRAMMING T 3300
17672 Letters Rearranging constructive algorithms greedy sortings strings Statement B Educational Codeforces Round 56 (Rated for Div. 2) {1093} PROGRAMMING 63877 900
8746 Yuhao and a Parenthesis greedy implementation Statement C Hello 2019 {1097} PROGRAMMING 64310 1400
8552 Balanced Ternary String greedy strings Statement D Codeforces Round 531 (Div. 3) {1102} PROGRAMMING 64439 1600
12759 Digits Sequence Dividing greedy strings Statement A Educational Codeforces Round 59 (Rated for Div. 2) {1107} PROGRAMMING Educational Codeforces Round 59 Editorial 1000
1256 String Multiplication dp greedy strings Statement E Codeforces Round 541 (Div. 2) {1131} PROGRAMMING Codeforces Round #541 Editorial 2200
10169 Regular Bracket Sequence greedy implementation Statement A Educational Codeforces Round 61 (Rated for Div. 2) {1132} PROGRAMMING T 1100
6993 Camp Schedule greedy hashing strings Statement B Codeforces Round 545 (Div. 1) {1137} PROGRAMMING Codeforces Round #545 – Editorial 1700
4199 Circus brute force greedy math strings Statement B Codeforces Round 545 (Div. 2) {1138} PROGRAMMING Codeforces Round #545 – Editorial 1700
8951 Colored Boots greedy implementation Statement D Codeforces Round 547 (Div. 3) {1141} PROGRAMMING 66062 1500
2577 Neko and Aki's Prank dp greedy trees Statement D Codeforces Round 554 (Div. 2) {1152} PROGRAMMING T 2000
7789 Serval and Parenthesis Sequence greedy strings Statement C Codeforces Round 551 (Div. 2) {1153} PROGRAMMING Editorial 1600
6569 Ugly Pairs dfs and similar greedy implementation sortings strings Statement B Educational Codeforces Round 64 (Rated for Div. 2) {1156} PROGRAMMING 66827 1800
20263 Telephone Number brute force greedy strings Statement A Educational Codeforces Round 65 (Rated for Div. 2) {1167} PROGRAMMING 67058 700
4502 Archaeology brute force constructive algorithms greedy strings Statement E Codeforces Global Round 4 {1178} PROGRAMMING E 1900
6606 Split a Number greedy implementation strings Statement B Codeforces Round 567 (Div. 2) {1181} PROGRAMMING Editorial of Codeforces Round #567 (based on All-Russian olympiad in the name of Keldysh) 1500
4588 Beautiful Lyrics data structures greedy strings Statement C Codeforces Round 566 (Div. 2) {1182} PROGRAMMING 67614 1700
2763 You Are Given a WASD-string... brute force data structures dp greedy implementation math strings Statement C Educational Codeforces Round 70 (Rated for Div. 2) {1202} PROGRAMMING 68972 2100
9470 Remove the Substring (easy version) greedy implementation Statement D1 Codeforces Round 579 (Div. 3) {1203} PROGRAMMING Codeforces Round #579 (Div. 3) Editorial 1600
8099 Remove the Substring (hard version) binary search greedy implementation two pointers Statement D2 Codeforces Round 579 (Div. 3) {1203} PROGRAMMING Codeforces Round #579 (Div. 3) Editorial 1800
3218 Kirk and a Binary String (easy version) brute force greedy strings Statement D1 Codeforces Round 581 (Div. 2) {1204} PROGRAMMING 69244 2000
3390 Kirk and a Binary String (hard version) data structures greedy math strings Statement D2 Codeforces Round 581 (Div. 2) {1204} PROGRAMMING 69244 2100
3013 Unstable String Sort data structures dfs and similar dsu graphs greedy implementation strings Statement F Codeforces Round 582 (Div. 3) {1213} PROGRAMMING Codeforces Round #582 (Div. 3) Editorial 2400
10801 Substring Game in the Lesson games greedy strings Statement C Codeforces Round 586 (Div. 1 + Div. 2) {1220} PROGRAMMING Codeforces Round #586 Editorial 1300
18139 2048 Game brute force greedy math Statement A Educational Codeforces Round 73 (Rated for Div. 2) {1221} PROGRAMMING Разбор Educational Codeforces Round 73 1000
932 Middle-Out constructive algorithms greedy strings Statement E Dasha Code Championship - Novosibirsk Finals Round (only for onsite-finalists) {1231} PROGRAMMING Dasha Code Championship Finals and Mirror Round 588 Editorial 2000
11610 Binary Palindromes greedy strings Statement B Educational Codeforces Round 75 (Rated for Div. 2) {1251} PROGRAMMING 70860 1400
17123 Dominated Subarray greedy implementation sortings strings two pointers Statement C Educational Codeforces Round 76 (Rated for Div. 2) {1257} PROGRAMMING Educational Codeforces Round 76 Editorial 1200
9060 Long Beautiful Integer constructive algorithms greedy implementation strings Statement A Codeforces Round 609 (Div. 1) {1268} PROGRAMMING Codeforces Round #609 — Editorial 1700
8588 Dr. Evil Underscores bitmasks brute force dfs and similar divide and conquer dp greedy strings trees Statement D Codeforces Round 613 (Div. 2) {1285} PROGRAMMING Codeforces Round #613 (Div. 2) Editorial 1800
20659 Even But Not Even greedy math strings Statement A Codeforces Round 616 (Div. 2) {1291} PROGRAMMING 500.0 Codeforces Round #616 Editorial 1000
13826 Obtain The String dp greedy strings Statement C Educational Codeforces Round 81 (Rated for Div. 2) {1295} PROGRAMMING Educational Codeforces Round 81 Editorial 1600
9860 Ayoub's function binary search combinatorics greedy math strings Statement C Codeforces Round 619 (Div. 2) {1301} PROGRAMMING 1250.0 Codeforces Round #619 (Div. 2) Editorial 1700
3157 Erase Subsequences brute force dp greedy strings Statement E Educational Codeforces Round 82 (Rated for Div. 2) {1303} PROGRAMMING Educational Codeforces Round 82 2200
18743 Longest Palindrome brute force constructive algorithms greedy implementation strings Statement B Codeforces Round 620 (Div. 2) {1304} PROGRAMMING 1000.0 Codeforces Round #620 (Div. 2) Editorial 1100
12348 Kuroni and Simple Strings constructive algorithms greedy strings two pointers Statement B Ozon Tech Challenge 2020 (Div.1 + Div.2, Rated, T-shirts + prizes!) {1305} PROGRAMMING 1000.0 Ozon Tech Challenge 2020 Editorial 1300
9599 Homecoming binary search dp greedy strings Statement B Codeforces Round 623 (Div. 2, based on VK Cup 2019-2020 - Elimination Round, Engine) {1315} PROGRAMMING 1000.0 VK Cup 2019-2020 - Elimination Round (Engine) and Codeforces Round #623 1300
30424 Frog Jumps binary search data structures greedy implementation Statement C Codeforces Round 627 (Div. 3) {1324} PROGRAMMING Codeforces Round #627 (Div. 3) Editorial
11700 Prefix-Suffix Palindrome (Hard version) greedy hashing string suffix structures strings Statement D2 Codeforces Global Round 7 {1326} PROGRAMMING 1000.0 74961 1800
20761 K-Complete Word dfs and similar dsu greedy implementation strings Statement C Codeforces Round 630 (Div. 2) {1332} PROGRAMMING 1250.0 Codeforces Round #630 Editorial 1500
15469 Phoenix and Distribution constructive algorithms greedy strings Statement C Codeforces Round 638 (Div. 2) {1348} PROGRAMMING 1500.0 Codeforces Round #638 (Div. 2) Editorial 1600
8768 Task On The Board constructive algorithms greedy implementation sortings Statement D Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
21315 Codeforces Subsequences brute force constructive algorithms greedy math strings Statement B Codeforces Global Round 8 {1368} PROGRAMMING 1000.0 Codeforces Global Round 8: editorial
25545 AccurateLee greedy implementation strings Statement B Codeforces Round 652 (Div. 2) {1369} PROGRAMMING 1000.0 Codeforces Round #652 (Div. 2) Editorial 1200
5216 Binary Subsequence Rotation binary search data structures dp greedy implementation Statement E Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 2500.0 Editorial — Codeforces Round #651
63524 Move Brackets greedy strings Statement C Codeforces Round 653 (Div. 3) {1374} PROGRAMMING 79517
11243 String Transformation 1 dsu graphs greedy sortings strings trees Statement A Codeforces Round 659 (Div. 1) {1383} PROGRAMMING 1000.0 Codeforces Round #659 Editorial
19598 Common Prefixes constructive algorithms greedy strings Statement A Codeforces Round 659 (Div. 2) {1384} PROGRAMMING 500.0 Codeforces Round #659 Editorial
20523 Good String brute force dp greedy implementation two pointers Statement C Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
9747 Omkar and Bed Wars constructive algorithms dp greedy math strings Statement D Codeforces Global Round 10 {1392} PROGRAMMING 1500.0 Codeforces Global Round 10 — Editorial
29796 Juggling Letters greedy strings Statement A Codeforces Round 666 (Div. 2) {1397} PROGRAMMING 500.0 Codeforces Round #666 — Editorial
25854 Substring Removal Game games greedy sortings strings Statement B Educational Codeforces Round 93 (Rated for Div. 2) {1398} PROGRAMMING Educational Codeforces Round 93 Editorial
18475 Binary String Reconstruction 2-sat constructive algorithms greedy strings Statement C Educational Codeforces Round 94 (Rated for Div. 2) {1400} PROGRAMMING 81942
1159 x-prime Substrings bitmasks dp greedy number theory string suffix structures strings Statement F Educational Codeforces Round 94 (Rated for Div. 2) {1400} PROGRAMMING 81942
5029 XOR Inverse bitmasks data structures divide and conquer greedy strings trees Statement C Codeforces Round 673 (Div. 1) {1416} PROGRAMMING 1250.0 Codeforces Round #673 Editorial 2000
851 Minlexes dp greedy implementation strings Statement E Codeforces Round 675 (Div. 2) {1422} PROGRAMMING 2000.0 Codeforces Round #675 (Div. 2) Editorial
22625 ABBB greedy strings Statement C Codeforces Raif Round 1 (Div. 1 + Div. 2) {1428} PROGRAMMING 1000.0 Codeforces Raif Round 1 Editorial
7301 String Reversal data structures greedy strings Statement E Educational Codeforces Round 96 (Rated for Div. 2) {1430} PROGRAMMING Educational Codeforces Round 96 — Editorial
17267 String Equality dp greedy hashing implementation strings Statement C Codeforces Round 685 (Div. 2) {1451} PROGRAMMING 1250.0 Editorial — Codeforces Round #685
20176 Non-Substring Subsequence greedy implementation strings Statement B Codeforces Round 685 (Div. 2) {1451} PROGRAMMING 750.0 Editorial — Codeforces Round #685
18641 Canine poetry dp greedy strings Statement C Good Bye 2020 {1466} PROGRAMMING 1000.0 Good Bye 2020 Editorial
3284 New Year's Puzzle brute force dp graph matchings greedy sortings Statement F Codeforces Round 693 (Div. 3) {1472} PROGRAMMING Codeforces Round #693 (Div. 3) Editorial
45430 Cards for Friends greedy math Statement A Codeforces Round 693 (Div. 3) {1472} PROGRAMMING Codeforces Round #693 (Div. 3) Editorial
27123 Yet Another String Game games greedy strings Statement A Codeforces Round 700 (Div. 2) {1480} PROGRAMMING 500.0 Editorial of Codeforces Round #700
12390 Fence Painting brute force constructive algorithms greedy implementation Statement C Codeforces Round 699 (Div. 2) {1481} PROGRAMMING 1500.0 Codeforces Round #699 (Div. 2) Editorial
4847 AB Graph constructive algorithms graphs greedy implementation strings Statement D Codeforces Round 699 (Div. 2) {1481} PROGRAMMING 2000.0 Codeforces Round #699 (Div. 2) Editorial
725 AB Tree dp greedy trees Statement F Codeforces Round 699 (Div. 2) {1481} PROGRAMMING 3000.0 Codeforces Round #699 (Div. 2) Editorial
25725 Space Navigation greedy implementation strings Statement A Codeforces Round 699 (Div. 2) {1481} PROGRAMMING 500.0 Codeforces Round #699 (Div. 2) Editorial
17470 Maximum width data structures dp greedy two pointers Statement C Codeforces Round 704 (Div. 2) {1492} PROGRAMMING 1500.0 Codeforces Round #704 Editorial
4941 K-beautiful Strings binary search brute force greedy implementation strings Statement C Codeforces Round 705 (Div. 2) {1493} PROGRAMMING 1750.0 Codeforces Round #705 (Div.2) Editorial
1082 Enormous XOR bitmasks greedy strings two pointers Statement E Codeforces Round 705 (Div. 2) {1493} PROGRAMMING 2750.0 Codeforces Round #705 (Div.2) Editorial
15296 Berland Crossword binary search bitmasks brute force greedy implementation Statement B Educational Codeforces Round 105 (Rated for Div. 2) {1494} PROGRAMMING Educational Codeforces Round 105 Editorial
22231 Split it! brute force constructive algorithms greedy strings Statement A Codeforces Round 706 (Div. 2) {1496} PROGRAMMING 500.0 Codeforces Round #706 Editorial
21983 Binary Removals brute force dp greedy implementation Statement B Educational Codeforces Round 106 (Rated for Div. 2) {1499} PROGRAMMING Educational Codeforces Round 106 Editorial
25540 Flip the Bits constructive algorithms greedy implementation math Statement B Codeforces Round 712 (Div. 2) {1504} PROGRAMMING 1000.0 Codeforces Round #712 Editorial 1200
4828 Maximize the Remaining String brute force data structures dp greedy strings two pointers Statement G Codeforces Round 710 (Div. 3) {1506} PROGRAMMING Editorial
21111 Partial Replacement greedy implementation Statement B Codeforces Round 710 (Div. 3) {1506} PROGRAMMING Editorial
6662 Binary Literature constructive algorithms greedy implementation math strings two pointers Statement A Codeforces Round 715 (Div. 1) {1508} PROGRAMMING 750.0 Codeforces Round #715 Editorial
3250 Minimax constructive algorithms greedy implementation strings Statement E Codeforces Round 733 (Div. 1 + Div. 2, based on VK Cup 2021 - Elimination (Engine)) {1530} PROGRAMMING 2000.0 Codeforces Round #733 Editorial (all problems)
17702 Unstable String dp greedy implementation strings two pointers Statement C Educational Codeforces Round 110 (Rated for Div. 2) {1535} PROGRAMMING 91481
16236 Erase and Extend (Easy Version) binary search brute force dp greedy hashing string suffix structures strings Statement E1 Codeforces Round 726 (Div. 2) {1537} PROGRAMMING 1250.0 Codeforces Round #726 (Div.2) Editorial
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
27858 Alphabetical Strings greedy implementation strings Statement B Codeforces Round 731 (Div. 3) {1547} PROGRAMMING Codeforces Round #731 (Div. 3) 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
14481 Interesting Story greedy sortings strings Statement C Codeforces Round 734 (Div. 3) {1551} PROGRAMMING Editorial for Codeforces Round #734 (Div.3)
15071 Backspace greedy strings two pointers Statement D Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 1250.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
10544 Diane constructive algorithms greedy strings Statement D Codeforces Round 735 (Div. 2) {1554} PROGRAMMING 2000.0 Editorial of Codeforces Round #735 (Div. 2) 1800
19438 Make a Power of Two greedy math strings Statement D Codeforces Round 739 (Div. 3) {1560} PROGRAMMING 94009 1300
18208 Combinatorics Homework combinatorics greedy math Statement B Educational Codeforces Round 114 (Rated for Div. 2) {1574} PROGRAMMING 95188
11639 Ticks brute force dp greedy implementation Statement C Codeforces Round 744 (Div. 3) {1579} PROGRAMMING Codeforces Round #744 (Div. 3) Editorial
23473 Grandma Capa Knits a Scarf data structures greedy strings two pointers Statement C Codeforces Round 750 (Div. 2) {1582} PROGRAMMING 1500.0 Codeforces Round #750 (Div.2) Editorial
1112 Strange LCS bitmasks dp graphs greedy strings Statement F Technocup 2022 - Elimination Round 2 {1584} PROGRAMMING 2500.0 Editorial for Technocup 2022 — Elimination Round 2 and Codeforces Round #755 (Div. 1, Div. 2) 2600
28057 Make Them Equal brute force greedy math strings Statement C Codeforces Round 747 (Div. 2) {1594} PROGRAMMING 1500.0 95525 1200
18108 Blue-Red Permutation greedy math sortings Statement D Codeforces Round 753 (Div. 3) {1607} PROGRAMMING Codeforces Round #753 (Div. 3) Editorial
9178 Menorah brute force graphs greedy math Statement C Codeforces Global Round 18 {1615} PROGRAMMING 1750.0 Global Round 18 Editorial
20675 Mirror in the String greedy strings Statement B Good Bye 2021: 2022 is NEAR {1616} PROGRAMMING 1000.0 Good Bye 2021 -- Editorial 1100
2707 Lexicographically Small Enough data structures greedy strings Statement E Good Bye 2021: 2022 is NEAR {1616} PROGRAMMING 2500.0 Good Bye 2021 -- Editorial 2200
7262 BA-String bitmasks brute force dp greedy implementation math shortest paths Statement C Educational Codeforces Round 119 (Rated for Div. 2) {1620} PROGRAMMING 98061
1254 Middle Duplication data structures dfs and similar greedy strings trees Statement E Codeforces Round 763 (Div. 2) {1623} PROGRAMMING 2750.0 Codeforces Round #763 (Div. 2) Editorial
19038 Palindromes Coloring binary search greedy sortings strings Statement D Codeforces Round 764 (Div. 3) {1624} PROGRAMMING Codeforces Round #764 (Div. 3) Editorial
26796 Division by Two and Permutation constructive algorithms flows graph matchings greedy math Statement C Codeforces Round 764 (Div. 3) {1624} PROGRAMMING Codeforces Round #764 (Div. 3) Editorial
23916 Minor Reduction greedy greedy strings strings Statement B Educational Codeforces Round 121 (Rated for Div. 2) {1626} PROGRAMMING 99136
12680 Peculiar Movie Preferences greedy strings Statement B Codeforces Round 767 (Div. 1) {1628} PROGRAMMING 750.0 99276
22654 Quality vs Quantity brute force constructive algorithms greedy sortings two pointers Statement B Codeforces Round 774 (Div. 2) {1646} PROGRAMMING 1000.0 Codeforces Round #774 (Div. 2) Editorial 800
12015 Bit Flipping bitmasks constructive algorithms greedy strings Statement B Codeforces Round 782 (Div. 2) {1659} PROGRAMMING 750.0 Codeforces Round #782 (Div. 2) Editorial
21967 Get an Even String dp greedy strings Statement C Codeforces Round 780 (Div. 3) {1660} PROGRAMMING Codeforces Round #780 (Div. 3) Editorial
152 Toys greedy greedy strings strings Statement B SWERC 2021-2022 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1662} PROGRAMMING 102042
17911 Social Distance greedy math sortings Statement B Codeforces Round 783 (Div. 2) {1668} PROGRAMMING 500.0 Codeforces Round #783 Editorial 900
41324 Odd/Even Increments greedy greedy implementation math Statement C Codeforces Round 784 (Div. 4) {1669} PROGRAMMING 102101 800
6934 Cyclic Rotation constructive algorithms greedy implementation two pointers Statement D Codeforces Global Round 20 {1672} PROGRAMMING 1000.0 Global Round 20 Editorial 1700
21623 A Perfectly Balanced String? brute force greedy strings Statement B Codeforces Round 785 (Div. 2) {1673} PROGRAMMING 750.0 Codeforces Round #785 (Div. 2) Editorial
19132 Subtle Substring Subtraction games greedy strings Statement A Codeforces Round 785 (Div. 2) {1673} PROGRAMMING 500.0 Codeforces Round #785 (Div. 2) Editorial
12057 Replace With the Previous, Minimize dsu greedy strings Statement E Codeforces Round 787 (Div. 3) {1675} PROGRAMMING 102550
34519 Most Similar Words brute force greedy implementation implementation math strings Statement C Codeforces Round 790 (Div. 4) {1676} PROGRAMMING Codeforces Round #790 (Div. 4) Editorial
11087 Binary String binary search greedy two pointers Statement C Educational Codeforces Round 128 (Rated for Div. 2) {1680} PROGRAMMING 102852
19957 Palindromic Indices greedy strings Statement A Codeforces Round 793 (Div. 2) {1682} PROGRAMMING 750.0 Codeforces Round #793 (Div. 2) Editorial
3661 Linguistics greedy implementation strings Statement B Codeforces Round 794 (Div. 1) {1685} PROGRAMMING 1000.0 103198 2000
17718 Lex String brute force greedy implementation sortings two pointers Statement A Codeforces Round 798 (Div. 2) {1689} PROGRAMMING 500.0 Editorial for Codeforces Round #798 (Div. 2)
26910 Array Decrements greedy implementation Statement B Codeforces Round 797 (Div. 3) {1690} PROGRAMMING Codeforces Round #797 (Div. 3) Editorial 800
17193 Sum of Substrings brute force constructive algorithms greedy math strings Statement C CodeCraft-22 and Codeforces Round 795 (Div. 2) {1691} PROGRAMMING 1250.0 Editorial for CodeCraft-22 and Codeforces Round #795 (Div. 2)
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
1344 Text Editor brute force dp greedy strings two pointers Statement E Educational Codeforces Round 131 (Rated for Div. 2) {1701} PROGRAMMING Educational Codeforces Round 131 Editorial
9433 Equate Multisets constructive algorithms data structures graph matchings greedy math number theory Statement F Codeforces Round 805 (Div. 3) {1702} PROGRAMMING 104763
24236 Another String Minimization Problem greedy strings Statement A Codeforces Round 809 (Div. 2) {1706} PROGRAMMING 500.0 Codeforces Round #809 Editorial
678 Multiset of Strings dp fft flows graphs greedy math Statement F Educational Codeforces Round 132 (Rated for Div. 2) {1709} PROGRAMMING 105164
10243 Recover an RBS greedy implementation strings Statement C Educational Codeforces Round 132 (Rated for Div. 2) {1709} PROGRAMMING 105164
10298 Color with Occurrences dp greedy strings Statement D Codeforces Round 811 (Div. 3) {1714} PROGRAMMING Codeforces Round #811 (Div. 3) Editorial
3449 Fibonacci Strings brute force data structures greedy implementation math number theory Statement B Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 1250.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
32434 Decode String greedy strings Statement B Codeforces Round 820 (Div. 3) {1729} PROGRAMMING Codeforces Round #820 (Div. 3) Editorial
15004 Zero-One (Easy Version) dp greedy math Statement D1 Codeforces Round 821 (Div. 2) {1733} PROGRAMMING 1500.0 Codeforces Round #821 (Div. 2) Editorial
10906 Phase Shift dfs and similar dsu graphs greedy strings Statement C Codeforces Round 824 (Div. 2) {1735} PROGRAMMING 1250.0 Codeforces Round #824 — editorial
2763 Equal Binary Subsequences constructive algorithms greedy strings Statement D Codeforces Round 825 (Div. 2) {1736} PROGRAMMING 2000.0 Codeforces Round #825 (Div. 2) Editorial
10830 Ela Sorting Books greedy implementation strings Statement A Dytechlab Cup 2022 {1737} PROGRAMMING 500.0 Editorial of Dytechlab Cup 2022
13978 Smaller constructive algorithms greedy strings Statement F Codeforces Round 827 (Div. 4) {1742} PROGRAMMING 107962
60729 Increasing greedy implementation sortings Statement B Codeforces Round 827 (Div. 4) {1742} PROGRAMMING 107962
1655 Bracket Cost binary search data structures divide and conquer dp greedy strings Statement E CodeTON Round 3 (Div. 1 + Div. 2, Rated, Prizes!) {1750} PROGRAMMING 2250.0 CodeTON Round 3 (Div. 1 + Div. 2) Editorial
53181 Atilla's Favorite Problem greedy implementation strings Statement B Codeforces Round 835 (Div. 4) {1760} PROGRAMMING 109348
1424 Doremy's Number Line binary search dp greedy sortings Statement E Codeforces Global Round 24 {1764} PROGRAMMING 2250.0 Codeforces Global Round 24 Editorial
15681 Elemental Decompress constructive algorithms greedy implementation sortings Statement C Codeforces Round 842 (Div. 2) {1768} PROGRAMMING 1500.0 Codeforces Round #842 (Div. 2) Editorial
19923 Gardener and the Capybaras (hard version) constructive algorithms greedy strings Statement A2 Codeforces Round 843 (Div. 2) {1775} PROGRAMMING 500.0 Codeforces Round #843 (Div. 2) Editorial
24037 Hall of Fame constructive algorithms greedy math strings Statement A Hello 2023 {1779} PROGRAMMING 500.0
10383 Equal Frequencies greedy implementation Statement C VK Cup 2022 - Отборочный раунд (Engine) {1781} PROGRAMMING 1500.0 Tutorial
19425 Matching Numbers constructive algorithms greedy math Statement C Codeforces Round 851 (Div. 2) {1788} PROGRAMMING 1500.0 Codeforces Round #851 (Div. 2) Editorial
48902 Distinct Split brute force greedy strings Statement D Codeforces Round 849 (Div. 4) {1791} PROGRAMMING 112282
21040 Showstopper greedy implementation sortings Statement A Codeforces Round 860 (Div. 2) {1798} PROGRAMMING 500.0 Editorial of Codeforces Round 860 (Div. 2) 800
6910 Double Lexicographically Minimum constructive algorithms greedy implementation strings Statement C Codeforces Round 854 by cybercats (Div. 1 + Div. 2) {1799} PROGRAMMING 1500.0 Codeforces Round #854 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
28340 Count the Number of Pairs greedy strings Statement B Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
19849 The String Has a Target greedy strings Statement B Codeforces Round 862 (Div. 2) {1805} PROGRAMMING 750.0 Editorial of Codeforces Round #862 (Div. 2)
22192 Subsequence Addition (Easy Version) brute force dp greedy implementation sortings Statement G1 Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
27659 Subsequence Addition (Hard Version) dp greedy implementation math sortings Statement G2 Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
34253 Find and Replace greedy implementation strings Statement C Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
34572 Insert Digit greedy math strings Statement A Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
14562 Constructive Problem brute force greedy implementation Statement A Codeforces Round 866 (Div. 1) {1819} PROGRAMMING 750.0 Codeforces Round #866 (Div.1, Div.2, based on Lipetsk Team Olympiad) Editorial
12314 Making Anti-Palindromes greedy math strings Statement E Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
4300 Unique Palindromes binary search constructive algorithms greedy math strings Statement D Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 2000.0 115465
20731 LuoTianyi and the Palindrome String greedy strings Statement A Codeforces Round 872 (Div. 2) {1825} PROGRAMMING 500.0 CodeForces Round 872(Div. 1&2) Editorial 800
556 Bus Routes binary search constructive algorithms dfs and similar greedy trees Statement E Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 2500.0 Codeforces Round #873 (Div. 1 & 2) Editorial 3400
9032 Ranom Numbers brute force dp greedy math strings Statement C Educational Codeforces Round 150 (Rated for Div. 2) {1841} PROGRAMMING 117262
6329 Omsk Metro (simple version) data structures dfs and similar dp greedy math trees Statement F1 Codeforces Round 881 (Div. 3) {1843} PROGRAMMING Codeforces Round #881 (Div. 3) Editorial
16741 Strong Password binary search dp greedy strings Statement C Educational Codeforces Round 151 (Rated for Div. 2) {1845} PROGRAMMING 117791
5617 Rudolf and CodeVid-23 bitmasks dp graphs greedy shortest paths Statement G Codeforces Round 883 (Div. 3) {1846} PROGRAMMING
4254 Professor Higashikata brute force data structures dsu greedy implementation sortings Statement D Codeforces Round 882 (Div. 2) {1847} PROGRAMMING 2000.0 Tutorial
7373 Lisa and the Martians bitmasks data structures greedy math sortings strings trees Statement F Codeforces Round 888 (Div. 3) {1851} PROGRAMMING 118667
78162 Array Coloring greedy math Statement A Codeforces Round 891 (Div. 3) {1857} PROGRAMMING 119134
36201 Gift Carpet greedy implementation strings Statement A Codeforces Round 894 (Div. 3) {1862} PROGRAMMING Tutorial
16586 Swap and Reverse greedy sortings strings Statement B Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) {1864} PROGRAMMING 1000.0 Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) Editorial
6863 Cyclic Operations constructive algorithms dfs and similar graphs greedy implementation Statement D Codeforces Round 897 (Div. 2) {1867} PROGRAMMING 2000.0
2739 Candy Party (Hard Version) bitmasks constructive algorithms dp graphs greedy implementation math Statement B2 Codeforces Round 896 (Div. 1) {1868} PROGRAMMING 750.0 Codeforces Round 896 (Div. 1, Div. 2) Editorial
8299 Candy Party (Easy Version) bitmasks constructive algorithms graphs greedy implementation math Statement B1 Codeforces Round 896 (Div. 1) {1868} PROGRAMMING 500.0 Codeforces Round 896 (Div. 1, Div. 2) Editorial
11571 Matching Arrays binary search constructive algorithms greedy sortings Statement C CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) {1896} PROGRAMMING 1500.0 CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
18359 AB Flipping greedy strings Statement B CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) {1896} PROGRAMMING 1000.0 CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
2710 Sofia and Strings data structures greedy strings Statement E Codeforces Round 910 (Div. 2) {1898} PROGRAMMING 2000.0 Editorial for Codeforces Round #910 (Div. 2)