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
2914 String brute force constructive algorithms hashing implementation string suffix structures strings Statement B Codeforces Beta Round 94 (Div. 1 Only) {128} PROGRAMMING 3219 2200
9349 Common Divisors brute force hashing implementation math strings Statement D Codeforces Round 117 (Div. 2) {182} PROGRAMMING Codeforces Round #117 (Div. 2) Разбор Задач 1400
20000 LLPS binary search bitmasks brute force greedy implementation strings Statement A Codeforces Round 127 (Div. 2) {202} PROGRAMMING 900
288125 Boy or Girl brute force implementation strings Statement A Codeforces Round 146 (Div. 2) {236} PROGRAMMING Codeforces Round #146 Tutorial 800
993 Log Stream Analysis binary search brute force implementation strings Statement F CROC-MBTU 2012, Elimination Round (ACM-ICPC) {245} PROGRAMMING КРОК-МВТУ 2012, Отборочный раунд (Разбор) 2000
4102 Ancient Prophesy brute force implementation strings Statement B Codeforces Round 158 (Div. 2) {260} PROGRAMMING Codeforces Round #158 (Div. 2) Tutorial 1600
401 Shaass and Painter Robot brute force implementation number theory Statement D Codeforces Round 178 (Div. 2) {294} PROGRAMMING Codeforces Round #178 Editorial 2700
864 Dima and Magic Guitar brute force implementation math Statement E Codeforces Round 214 (Div. 2) {366} PROGRAMMING Codeforces Round #214 (Div. 2) — Tutorial 2300
10927 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
4294 Kolya and Tandem Repeat brute force implementation strings Statement B Codeforces Round 253 (Div. 2) {443} PROGRAMMING Codeforces #253 editorial 1500
8568 Eevee brute force implementation strings Statement A MemSQL Start[c]UP 2.0 - Round 1 {452} PROGRAMMING MemSQL Start[c]UP 2.0 Round 1 and 2 Editorials 1200
6957 Mr. Kitayuta's Gift brute force implementation strings Statement A Codeforces Round 286 (Div. 2) {505} PROGRAMMING Tutorial 1200
10359 Mike and Fax brute force implementation strings Statement A Codeforces Round 305 (Div. 2) {548} PROGRAMMING Codeforces Round #305 Editorial 1200
44271 Two Substrings brute force dp greedy implementation strings Statement A Codeforces Round 306 (Div. 2) {550} PROGRAMMING Разбор задач Codeforces Round #306 (Div. 2) 1500
4069 ZgukistringZ brute force constructive algorithms implementation strings Statement B Codeforces Round 307 (Div. 2) {551} PROGRAMMING Tutorial 1800
1762 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
7899 The Text Splitting brute force implementation strings Statement A Educational Codeforces Round 4 {612} PROGRAMMING 22299 1300
6029 Barnicle brute force implementation math strings Statement B Codeforces Round 362 (Div. 2) {697} PROGRAMMING 1400
2952 Hidden Word brute force constructive algorithms implementation strings Statement C Canada Cup 2016 {725} PROGRAMMING Canada Cup Editorial 1600
1118 Vladik and chat brute force constructive algorithms dp implementation strings Statement C Codeforces Round 390 (Div. 2) {754} PROGRAMMING 2200
12948 A Serial Killer brute force implementation strings Statement A ICM Technex 2017 and Codeforces Round 400 (Div. 1 + Div. 2, combined) {776} PROGRAMMING ICM Technex 2017 and Codeforces Round #400 (Div. 1 + Div. 2, combined) Editorial 900
10303 Crossword solving brute force implementation strings Statement B Codeforces Round 422 (Div. 2) {822} PROGRAMMING Codeforces Round #422 (Div. 2) Editorial 1100
28063 Tom Riddle's Diary brute force implementation strings Statement A Manthan, Codefest 17 {855} PROGRAMMING 54750 700
10055 Polycarp and Letters brute force implementation strings Statement B Codeforces Round 436 (Div. 2) {864} PROGRAMMING Codeforces Round #436 (Div.2) Разбор 1100
10103 Bark to Unlock brute force implementation strings Statement A Codeforces Round 438 by Sberbank and Barcelona Bootcamp (Div. 1 + Div. 2 combined) {868} PROGRAMMING 55046 1000
1024 Huge Strings bitmasks brute force dp implementation strings Statement D Codeforces Round 438 by Sberbank and Barcelona Bootcamp (Div. 1 + Div. 2 combined) {868} PROGRAMMING 55046 2100
1800 Palindromic Cut brute force implementation strings Statement H 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) {883} PROGRAMMING 1800
1624 Swapping Characters brute force hashing implementation strings Statement E Educational Codeforces Round 34 (Rated for Div. 2) {903} PROGRAMMING Educational Codeforces Round 34 Editorial 2200
10396 Antipalindrome brute force implementation strings Statement A Avito Code Challenge 2018 {981} PROGRAMMING 59713 1000
27717 Delete from the Left brute force implementation strings Statement B Codeforces Round 496 (Div. 3) {1005} PROGRAMMING Codeforces Round 496 (Div. 3): Problem Tutorials 1000
9353 Single Wildcard Pattern Matching brute force implementation strings Statement A Codeforces Round 504 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) {1023} PROGRAMMING Codeforces Round 504 Editorial 1300
10592 Zuhair and Strings brute force implementation strings Statement B Codeforces Round 533 (Div. 2) {1105} PROGRAMMING Tutorial 1200
9649 Compress Words brute force hashing implementation string suffix structures strings Statement E Codeforces Round 578 (Div. 2) {1200} PROGRAMMING Codeforces Round #578 (Div. 2) Editorial 2000
2793 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
18470 Shuffle Hashing brute force implementation strings Statement A Educational Codeforces Round 78 (Rated for Div. 2) {1278} PROGRAMMING Educational Codeforces Round 78 Editorial 1000
18854 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
11815 String Modification brute force constructive algorithms implementation sortings strings Statement B CodeCraft-20 (Div. 2) {1316} PROGRAMMING 1000.0 Codecraft-20 (Div.2) Editorial 1400
55142 01 Game brute force constructive algorithms dp games implementation strings Statement B Educational Codeforces Round 90 (Rated for Div. 2) {1373} PROGRAMMING Educational Codeforces Round 90 Editorial
12348 Acacius and String brute force implementation strings Statement A Codeforces Round 657 (Div. 2) {1379} PROGRAMMING 500.0 Codeforces Round #657 Editorial 1500
20752 Good String brute force dp greedy implementation two pointers Statement C Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
4989 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
3264 Funny Substrings brute force data structures hashing implementation strings Statement E Codeforces Round 725 (Div. 3) {1538} PROGRAMMING Codeforces Round #725 (Div. 3) Editorial
19050 Dominant Character brute force implementation strings Statement C Codeforces Round 754 (Div. 2) {1605} PROGRAMMING 1500.0 tutorial 1400
7318 BA-String bitmasks brute force dp greedy implementation math shortest paths Statement C Educational Codeforces Round 119 (Rated for Div. 2) {1620} PROGRAMMING 98061
4655 Masha-forgetful brute force constructive algorithms dp hashing implementation strings Statement E Codeforces Round 764 (Div. 3) {1624} PROGRAMMING Codeforces Round #764 (Div. 3) Editorial
3503 Expand the Path brute force combinatorics implementation math Statement E Educational Codeforces Round 123 (Rated for Div. 2) {1644} PROGRAMMING 100227
8010 Promising String (easy version) brute force implementation math strings Statement F1 Codeforces Round 780 (Div. 3) {1660} PROGRAMMING Codeforces Round #780 (Div. 3) Editorial
13497 Dorms War brute force implementation strings Statement B Codeforces Round 788 (Div. 2) {1670} PROGRAMMING 1000.0 Tutorial 1100
35285 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
17804 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)
3527 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
16939 Diverse Substrings brute force implementation strings Statement B Codeforces Round 833 (Div. 2) {1748} PROGRAMMING 1000.0 Codeforces Round #833 (Div. 2) Editorial 1400
20471 Gardener and the Capybaras (easy version) brute force implementation strings Statement A1 Codeforces Round 843 (Div. 2) {1775} PROGRAMMING 500.0 Codeforces Round #843 (Div. 2) Editorial
24745 Two Towers brute force implementation strings Statement A Educational Codeforces Round 143 (Rated for Div. 2) {1795} PROGRAMMING 112963
22685 Subsequence Addition (Easy Version) brute force dp greedy implementation sortings Statement G1 Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
3977 Monsters brute force data structures dfs and similar dsu graphs implementation trees Statement E CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!) {1810} PROGRAMMING 2000.0 Editorial of CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!)
16354 Tear It Apart brute force implementation math strings Statement C Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
29064 Rudolph and Tic-Tac-Toe brute force implementation strings Statement B Codeforces Round 883 (Div. 3) {1846} PROGRAMMING
4303 Professor Higashikata brute force data structures dsu greedy implementation sortings Statement D Codeforces Round 882 (Div. 2) {1847} PROGRAMMING 2000.0 Tutorial
13225 Torn Lucky Ticket brute force dp hashing implementation math Statement C Educational Codeforces Round 157 (Rated for Div. 2) {1895} PROGRAMMING Educational Codeforces Round 157 Editorial
17511 Milica and String brute force implementation strings Statement A Codeforces Round 910 (Div. 2) {1898} PROGRAMMING 500.0 Editorial for Codeforces Round #910 (Div. 2)
9865 Mathematical Problem brute force constructive algorithms implementation math strings Statement D Good Bye 2023 {1916} PROGRAMMING 1500.0
17693 Nearly Shortest Repeating Substring brute force implementation number theory strings Statement E Codeforces Round 937 (Div. 4) {1950} PROGRAMMING Codeforces Round 937 (Div. 4) Editorial
4582 No Palindromes brute force constructive algorithms greedy hashing implementation strings Statement E Codeforces Global Round 25 {1951} PROGRAMMING 2250.0 Codeforces Global Round 25 Editorial
20897 Bazoka and Mocha's Array brute force greedy implementation sortings Statement A Codeforces Round 947 (Div. 1 + Div. 2) {1975} PROGRAMMING 250.0 editorial_zh.pdf 800
10127 Beauty of the mountains brute force data structures implementation math number theory Statement D Codeforces Round 955 (Div. 2, with prizes from NEAR!) {1982} PROGRAMMING 1750.0 130839
20600 Alice's Adventures in ''Chess'' brute force implementation math strings Statement A Codeforces Round 986 (Div. 2) {2028} PROGRAMMING 500.0 Codeforces Round 986 (Div. 2) Editorial
2048 Permutations Harmony brute force combinatorics constructive algorithms greedy hashing implementation math Statement E Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + Div. 2) {2034} PROGRAMMING 2000.0 Rayan 2024 Selection Round Editorial
22970 Kevin and Combination Lock brute force implementation math number theory Statement A Codeforces Global Round 28 {2048} PROGRAMMING 250.0 Tutorial
2297 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
11018 Kevin and Numbers brute force data structures greedy implementation math Statement D IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) {2061} PROGRAMMING 1500.0 IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) Editorial
56704 Skibidus and Amog'u brute force constructive algorithms implementation strings Statement A Codeforces Round 1003 (Div. 4) {2065} PROGRAMMING Video Tutorial
6988 Mishkin Energizer brute force constructive algorithms greedy implementation strings Statement D Codeforces Round 1014 (Div. 2) {2092} PROGRAMMING 1750.0 Codeforces Round #1014 (Div. 2) Editorial
742 Numbers and Strings brute force dfs and similar dp implementation math Statement F Educational Codeforces Round 178 (Rated for Div. 2) {2104} PROGRAMMING Educational Codeforces Round 178 Editorial
44837 Homework brute force implementation strings Statement A Codeforces Round 1043 (Div. 3) {2132} PROGRAMMING Codeforces Round 1043 (Div. 3) Editorial
31810 Redstone? brute force implementation math Statement A Codeforces Round 1044 (Div. 2) {2133} PROGRAMMING 500.0 Codeforces Round 1044 (Div. 2) Editorial
3419 Palindrome Flipping brute force constructive algorithms implementation strings Statement D Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 2000.0 Codeforces Round 1067 (Div. 2) Editorial
13628 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