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
2265 Lizards and Basements 2 brute force dp Statement D Codeforces Beta Round 6 (Div. 2 Only) {6} PROGRAMMING Beta Round #6 - Разбор задач 2100
1288 Seller Bob brute force dp greedy Statement D Codeforces Beta Round 18 (Div. 2 Only) {18} PROGRAMMING Codeforces Beta Round #18(Div. 2) Tutorial 2100
4767 Bargaining Table brute force dp Statement B Codeforces Beta Round 22 (Div. 2 Only) {22} PROGRAMMING Codeforces Beta Round #22 Tutorial 1600
4894 Number With The Given Amount Of Divisors brute force dp number theory Statement E Codeforces Beta Round 27 (Codeforces format, Div. 2) {27} PROGRAMMING Solution of ABC @ Round#27 2100
2131 Game brute force dp implementation Statement D Codeforces Beta Round 46 (Div. 2) {49} PROGRAMMING 1700
707 Writing a Song brute force dp strings Statement D Codeforces Beta Round 50 {54} PROGRAMMING Codeforces Beta Round #50: Editorial for problem E 2100
187 Hellish Constraints brute force dp two pointers Statement E Codeforces Beta Round 99 (Div. 1) {138} PROGRAMMING Codeforces Beta Round #99: editorial 2900
991 Help Caretaker brute force dp Statement C Codeforces Round 102 (Div. 1) {142} PROGRAMMING Codeforces Round #102 — Editorial 2300
175 Mrs. Hudson's Pancakes brute force dp Statement E Codeforces Round 110 (Div. 1) {156} PROGRAMMING Codeforces Round 110 — Разбор задач 2900
4682 Palindrome pairs *special brute force dp strings Statement D VK Cup 2012 Qualification Round 2 {159} PROGRAMMING Simple solution to vk cup Qualification Round 1 and 2 2000
505 Polycarpus the Safecracker brute force dp Statement E VK Cup 2012 Round 1 {161} PROGRAMMING VK Cup 2012 Round 1: editorial 2400
13783 Another Problem on Strings binary search brute force dp math strings two pointers Statement C Codeforces Round 112 (Div. 2) {165} PROGRAMMING Codeforces Round #112 (Div. 2) Tutorial 1600
9316 Compatible Numbers bitmasks brute force dfs and similar dp Statement E Codeforces Round 112 (Div. 2) {165} PROGRAMMING Codeforces Round #112 (Div. 2) Tutorial 2100
1109 Spiral Maximum brute force dp Statement C Croc Champ 2012 - Round 1 {173} PROGRAMMING Croc Champ 2012 — Round 1 — Editorial 1800
317 Plane of Tanks: Duel brute force dp math probabilities Statement D Codeforces Round 115 {175} PROGRAMMING Codeforces Round #115 — editorial A-E 2400
288 Power Defence brute force dp geometry greedy Statement E Codeforces Round 115 {175} PROGRAMMING Codeforces Round #115 — editorial A-E 2500
80418 Cut Ribbon brute force dp Statement A Codeforces Round 119 (Div. 2) {189} PROGRAMMING Codeforces Round #119 — Editorial 1300
452 Brand New Problem bitmasks brute force dp Statement D Codeforces Round 127 (Div. 1) {201} PROGRAMMING 2500
7145 Color Stripe brute force dp greedy Statement C Codeforces Round 135 (Div. 2) {219} PROGRAMMING User editorial for Codeforces Round #135 (Div. 2) 1600
1471 Easy Tape Programming brute force implementation Statement B Codeforces Round 148 (Div. 2) {239} PROGRAMMING Editorial for Codeforces Round #148 1500
5033 Almost Arithmetical Progression brute force dp Statement C Codeforces Round 156 (Div. 2) {255} PROGRAMMING Codeforces Round #156 tutorial 1700
1599 Little Elephant and Elections brute force combinatorics dp Statement B Codeforces Round 157 (Div. 1) {258} PROGRAMMING Codeforces Round #157 — Editorial 2100
438 Maxim and Calculator brute force dp two pointers Statement E Codeforces Round 160 (Div. 1) {261} PROGRAMMING Codeforces Round #160 tutorial 2800
442 Rhombus brute force data structures dp Statement E Codeforces Round 161 (Div. 2) {263} PROGRAMMING Codeforces Round #161 Tutorial 2600
18931 Polo the Penguin and Matrix brute force dp implementation sortings ternary search Statement B Codeforces Round 177 (Div. 2) {289} PROGRAMMING Codeforces Round #177, editorial 1400
604 PE Lesson brute force dp Statement D1 ABBYY Cup 3.0 {316} PROGRAMMING ABBYY Cup 3.0. Solutions 2300
49638 Flipping Game brute force dp implementation Statement A Codeforces Round 191 (Div. 2) {327} PROGRAMMING Codeforces Round #191 — Tutorial 1200
349 Rectangles and Square brute force dp Statement D MemSQL start[c]up Round 2 - online version {335} PROGRAMMING MemSQL start[c]up Round 2 -- Editorial 2400
3327 Vasya and Beautiful Arrays brute force dp number theory Statement C Codeforces Round 206 (Div. 1) {354} PROGRAMMING Codeforces Round #206 — Editorial 2000
66596 Fence brute force dp Statement B Codeforces Round 211 (Div. 2) {363} PROGRAMMING 9537 1200
2834 Counting Rectangles is Fun brute force divide and conquer dp Statement B Codeforces Round 219 (Div. 1) {372} PROGRAMMING 9944 2100
1662 New Year Letter bitmasks brute force dp Statement D Good Bye 2013 {379} PROGRAMMING Tutorial Good Bye 2013 2000
10545 Bear and Prime Numbers binary search brute force data structures dp implementation math number theory Statement C Codeforces Round 226 (Div. 2) {385} PROGRAMMING Codeforces Round #226 (Div. 2) — Editorial 1800
4555 Roman and Numbers bitmasks brute force combinatorics dp number theory Statement D Codeforces Round 235 (Div. 2) {401} PROGRAMMING Codeforces Round #235 (Div. 2) — Tutorial 2000
9325 Art Union brute force dp implementation Statement B Codeforces Round 241 (Div. 2) {416} PROGRAMMING Codeforces Round #241 — editorial 1300
607 Biathlon Track binary search brute force constructive algorithms data structures dp Statement D Codeforces Round 242 (Div. 2) {424} PROGRAMMING Codeforces Round #242 (Div. 2) Editorial 2200
786 Special Grid brute force dp greedy Statement D Codeforces Round 249 (Div. 2) {435} PROGRAMMING Codeforces Round #249 (Div. 2) Editorial 2200
456 Banners brute force data structures dp Statement F Zepto Code Rush 2014 {436} PROGRAMMING Zepto Code Rush 2014 — solutions A-D 2900
5367 Little Pony and Harmony Chest bitmasks brute force dp Statement B Codeforces Round 259 (Div. 1) {453} PROGRAMMING Codeforces Round #259 Editorial 2200
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
36817 Dreamoon and WiFi bitmasks brute force combinatorics dp math probabilities Statement B Codeforces Round 272 (Div. 2) {476} PROGRAMMING 1300
6394 Fox And Jumping bitmasks brute force dp math Statement D Codeforces Round 290 (Div. 2) {510} PROGRAMMING Codeforces Round #290 Editorial 2100
1845 Inversions problem brute force dfs and similar dp meet-in-the-middle Statement G1 Rockethon 2015 {513} PROGRAMMING 16260 1800
417 Pasha and Pipe binary search brute force combinatorics dp implementation Statement F Codeforces Round 293 (Div. 2) {518} PROGRAMMING Codeforces Round #293 (Div.2) Editorial 2800
4157 Anya and Cubes binary search bitmasks brute force dp math meet-in-the-middle Statement E Codeforces Round 297 (Div. 2) {525} PROGRAMMING Codeforces Round #297 (Div.2) Editorial 2200
25713 Tavas and SaDDas bitmasks brute force combinatorics implementation Statement B Codeforces Round 299 (Div. 2) {535} PROGRAMMING Codeforces Round #299 Editorial 1100
8980 Mike and Fun brute force dp greedy implementation Statement B Codeforces Round 305 (Div. 2) {548} PROGRAMMING Codeforces Round #305 Editorial 1400
43520 Two Substrings brute force dp greedy implementation strings Statement A Codeforces Round 306 (Div. 2) {550} PROGRAMMING Разбор задач Codeforces Round #306 (Div. 2) 1500
32057 Divisibility by Eight brute force dp math Statement C Codeforces Round 306 (Div. 2) {550} PROGRAMMING Разбор задач Codeforces Round #306 (Div. 2) 1500
5861 Vanya and Scales brute force dp greedy math meet-in-the-middle number theory Statement C Codeforces Round 308 (Div. 2) {552} PROGRAMMING Codeforces #308 (Div. 2) Editorial 1800
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
4209 Arthur and Table brute force data structures dp greedy math sortings Statement C Codeforces Round 311 (Div. 2) {557} PROGRAMMING Codeforces Round #311 (Div.2) Editorial 1900
104125 Kefa and First Steps brute force dp implementation Statement A Codeforces Round 321 (Div. 2) {580} PROGRAMMING Codeforces Round #321 Editorial 1000
6061 Chocolate Bar brute force dp Statement E Educational Codeforces Round 1 {598} PROGRAMMING 2000
2472 Skills binary search brute force dp greedy sortings two pointers Statement B Codeforces Round 339 (Div. 1) {613} PROGRAMMING Tutorial 2200
3146 Jerry's Protest brute force combinatorics dp probabilities Statement D 8VC Venture Cup 2016 - Elimination Round {626} PROGRAMMING 23522 1800
3044 Fibonacci-ish brute force dp hashing implementation math Statement D Manthan, Codefest 16 {633} PROGRAMMING Manthan, Codefest 16: Editorials 2000
3487 Image Preview binary search brute force dp two pointers Statement B Codeforces Round 345 (Div. 1) {650} PROGRAMMING Codeforces Round #345: editorial 1900
5320 Bear and Compressing brute force dfs and similar dp strings Statement B IndiaHacks 2016 - Online Edition (Div. 1 + Div. 2) {653} PROGRAMMING IndiaHacks Finals 2016 — Editorial 1300
2422 Binary Table bitmasks brute force divide and conquer dp fft math Statement C CROC 2016 - Final Round [Private, For Onsite Finalists Only] {662} PROGRAMMING Editorial for CROC 2016 Finals and Codeforces Round #347 2800
162 To Hack or not to Hack brute force dp greedy Statement E CROC 2016 - Final Round [Private, For Onsite Finalists Only] {662} PROGRAMMING Editorial for CROC 2016 Finals and Codeforces Round #347 2800
752 Vanya and Balloons binary search brute force dp implementation Statement E Codeforces Round 355 (Div. 2) {677} PROGRAMMING Codeforces Round #355 (Div. 2) Editorial 2600
4493 Robbers' watch brute force combinatorics dp math Statement A Codeforces Round 359 (Div. 1) {685} PROGRAMMING Codeforces Round #359 Editorial 1700
1046 Dividing Kingdom II brute force data structures dsu graphs sortings Statement D Codeforces Round 360 (Div. 1) {687} PROGRAMMING Codeforces Round #360 Editorial [+ Challenges!] 2500
1433 Couple Cover brute force dp number theory Statement F Educational Codeforces Round 14 {691} PROGRAMMING Editorial of Educational Codeforces Round 14 2300
2617 Gosha is hunting brute force data structures dp flows math probabilities sortings Statement E Codeforces Round 381 (Div. 1) {739} PROGRAMMING 48582 2900
1626 Vladik and cards binary search bitmasks brute force dp Statement E Codeforces Round 384 (Div. 2) {743} PROGRAMMING Codeforces Round #384 Editorial 2300
1300 Hongcow Buys a Deck of Cards bitmasks brute force dp Statement C Codeforces Round 385 (Div. 1) {744} PROGRAMMING Codeforces Round #385 Editorial 2500
481 Igor and Interesting Numbers brute force combinatorics dp math Statement F Codeforces Round 387 (Div. 2) {747} PROGRAMMING 49171 2600
3165 New Year and Fireworks brute force data structures dfs and similar dp implementation Statement D Good Bye 2016 {750} PROGRAMMING Good Bye 2016 — hints and codes 1900
525 New Year and Binary Tree Paths bitmasks brute force combinatorics dp Statement G Good Bye 2016 {750} PROGRAMMING Good Bye 2016 — hints and codes 3100
1094 Vladik and chat brute force constructive algorithms dp implementation strings Statement C Codeforces Round 390 (Div. 2) {754} PROGRAMMING 2200
1081 Bacterial Melee brute force combinatorics dp string suffix structures Statement D 8VC Venture Cup 2017 - Final Round {756} PROGRAMMING 8VC Venture Cup 2017 — Final Round and Codeforces Round #393 Editorial 2500
1543 Bash Plays with Functions brute force combinatorics dp number theory Statement E 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 2400
6034 Dasha and Password brute force dp implementation Statement C Codeforces Round 394 (Div. 2) {761} PROGRAMMING Codeforces Round #394 (Div. 2) [Editorial] 1600
522 Dasha and Photos brute force data structures dp implementation Statement F Codeforces Round 394 (Div. 2) {761} PROGRAMMING Codeforces Round #394 (Div. 2) [Editorial] 2900
115 Math, math everywhere brute force dp math meet-in-the-middle number theory Statement G Codeforces Round 397 by Kaspersky Lab and Barcelona Bootcamp (Div. 1 + Div. 2 combined) {765} PROGRAMMING Codeforces Round #397 Editorial 2800
4938 Mahmoud and a Message brute force dp greedy strings Statement C Codeforces Round 396 (Div. 2) {766} PROGRAMMING Codeforces round #396 editorial 1700
3973 Jon Snow and his Favourite Number brute force dp implementation sortings Statement C Divide by Zero 2017 and Codeforces Round 399 (Div. 1 + Div. 2, combined) {768} PROGRAMMING Editorial Divide by Zero and Codeforces Round #399 (Div. 1+2, combined) 1800
4737 Hanoi Factory brute force data structures dp greedy sortings Statement E Codeforces Round 401 (Div. 2) {777} PROGRAMMING Problem analysis of Codeforces Round #401 (Div. 2) 2000
5576 Array Queries brute force data structures dp Statement E Educational Codeforces Round 19 {797} PROGRAMMING 51588 2000
9172 Mike and strings brute force dp strings Statement B Codeforces Round 410 (Div. 2) {798} PROGRAMMING Codeforces Round #410 (Div. 2) Editorial 1300
2175 Field expansion brute force dp meet-in-the-middle Statement D Playrix Codescapes Cup (Codeforces Round 413, rated, Div. 1 + Div. 2) {799} PROGRAMMING Playrix Codescapes Cup Problems Analysis 2000
1552 Expected diameter of a tree binary search brute force dfs and similar dp sortings trees Statement D Codeforces Round 411 (Div. 1) {804} PROGRAMMING Codeforces Round #411 Editorial 2600
5511 Sagheer, the Hausmeister bitmasks brute force dp Statement B Codeforces Round 417 (Div. 2) {812} PROGRAMMING [Editorial] Codeforces Round #417 (Div. 2) 1600
7706 An impassioned circulation of affection brute force dp strings two pointers Statement C Codeforces Round 418 (Div. 2) {814} PROGRAMMING Codeforces Round #418 (Div. 2) Editorial 1600
3282 Karen and Supermarket brute force dp trees Statement C Codeforces Round 419 (Div. 1) {815} PROGRAMMING Codeforces Round #419 Editorial 2500
8446 Really Big Numbers binary search brute force dp math Statement C Educational Codeforces Round 23 {817} PROGRAMMING 52638 1600
1370 Sofa Thief brute force implementation Statement C Educational Codeforces Round 24 {818} PROGRAMMING 52991 2000
3282 My pretty girl Noora brute force dp greedy math number theory Statement D Codeforces Round 422 (Div. 2) {822} PROGRAMMING Codeforces Round #422 (Div. 2) Editorial 1800
8206 Office Keys binary search brute force dp greedy sortings Statement A Codeforces Round 424 (Div. 1, rated, based on VK Cup Finals) {830} PROGRAMMING Codeforces Round #424 Editorial 1900
4648 Palindromic characteristics brute force dp hashing strings Statement D Codeforces Round 427 (Div. 2) {835} PROGRAMMING Editorial 1900
2966 Four Segments brute force data structures dp Statement C Educational Codeforces Round 28 {846} PROGRAMMING 54357 1900
9929 Marvolo Gaunt's Ring brute force data structures dp Statement B Manthan, Codefest 17 {855} PROGRAMMING 54750 1500
157 Hex Dyslexia bitmasks brute force dp graphs Statement E MemSQL Start[c]UP 3.0 - Round 2 (onsite finalists) {865} PROGRAMMING MemSQL Start[c]UP 3.0 Round 2 Editorial 2700
5016 Qualification Rounds bitmasks brute force constructive algorithms dp Statement C Codeforces Round 438 by Sberbank and Barcelona Bootcamp (Div. 1 + Div. 2 combined) {868} PROGRAMMING 55046 1500
1004 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
278 The Overdosing Ubiquity brute force dfs and similar graphs Statement D Codeforces Round 439 (Div. 2) {869} PROGRAMMING Tutorial 2800
788 Awards For Contestants brute force data structures dp Statement E Educational Codeforces Round 30 {873} PROGRAMMING 55171 2500
11879 Nikita and string brute force dp Statement B Codeforces Round 442 (Div. 2) {877} PROGRAMMING 55362 1500
14178 Pride brute force dp greedy math number theory Statement A Codeforces Round 446 (Div. 1) {891} PROGRAMMING Codeforces Round #446 Editorial 1600
39294 QAQ brute force dp Statement A Codeforces Round 447 (Div. 2) {894} PROGRAMMING Codeforces Round #447 (Div.2 Only) Editorial 800
1505 Party bitmasks brute force dp graphs Statement C Codeforces Round 454 (Div. 1, based on Technocup 2018 Elimination Round 4) {906} PROGRAMMING Editorial Codeforces Round 454 (and Technocup 2018 — Elimination Round 4) 2300
4201 Travelling Salesman and Special Numbers brute force combinatorics dp Statement C Codecraft-18 and Codeforces Round 458 (Div. 1 + Div. 2, combined) {914} PROGRAMMING Tutorial 1800
31548 Perfect Number binary search brute force dp implementation number theory Statement B Codeforces Round 460 (Div. 2) {919} PROGRAMMING Codeforces Round #460 (Div. 2) Editorial 1100
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
15035 Three displays brute force dp implementation Statement C Codeforces Round 485 (Div. 2) {987} PROGRAMMING Codeforces Round #485 Editorial 1400
3135 Roman Digits brute force combinatorics dp greedy math Statement B Codeforces Round 493 (Div. 1) {997} PROGRAMMING 60357 2000
6834 Xor-Paths bitmasks brute force dp meet-in-the-middle Statement F Codeforces Round 498 (Div. 3) {1006} PROGRAMMING 60672 2400
6780 Stars Drawing (Easy Edition) brute force dp greedy Statement E1 Codeforces Round 501 (Div. 3) {1015} PROGRAMMING 60949 1700
4113 Recovering BST brute force dp math number theory trees Statement D Codeforces Round 505 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) {1025} PROGRAMMING Codeforces Round #505 Editorial 2000
6202 Permutation Game brute force dp games Statement C Lyft Level 5 Challenge 2018 - Elimination Round {1033} PROGRAMMING The Lyft Level 5 Challenge 2018 Elimination Round (Div. 1 + Div. 2) Editorial 1600
1094 Maximum Matching bitmasks brute force dfs and similar dp graphs Statement E Codeforces Round 508 (Div. 2) {1038} PROGRAMMING Tutorial 2400
19105 Vitamins bitmasks brute force dp implementation Statement B Codeforces Round 510 (Div. 2) {1042} PROGRAMMING Tutorial 1200
9868 Vasya and Multisets brute force dp greedy implementation math Statement C Educational Codeforces Round 51 (Rated for Div. 2) {1051} PROGRAMMING Educational Codeforces Round 51 Editorial 1400
25073 Make a triangle! brute force geometry math Statement A Codeforces Round 516 (Div. 2, by Moscow Team Olympiad) {1064} PROGRAMMING Codeforces Round #516 (by Moscow Team Olympiad) — Editorial 700
930 Monsters and Potions brute force dp greedy implementation Statement G 2018-2019 ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) {1070} PROGRAMMING Solution to problem M. Algoland and Berland of 2018-2019 ICPC, NEERC 2500
35722 Petr and a Combination Lock bitmasks brute force dp Statement B Hello 2019 {1097} PROGRAMMING 64310 1200
139 Mateusz and an Infinite Sequence bitmasks brute force dp strings Statement H Hello 2019 {1097} PROGRAMMING 64310 3000
2348 Elongated Matrix binary search bitmasks brute force dp graphs Statement F Codeforces Round 531 (Div. 3) {1102} PROGRAMMING 64439 2400
1906 Helping Hiasat bitmasks brute force dp meet-in-the-middle Statement E Codeforces Round 533 (Div. 2) {1105} PROGRAMMING Tutorial 2200
1499 Sasha and Interesting Fact from Graph Theory brute force combinatorics dp math trees Statement D Codeforces Round 539 (Div. 1) {1109} PROGRAMMING Codeforces Round #539 Editorial 2600
5549 Pavel and Triangles brute force dp fft greedy ternary search Statement E Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 1900
9395 Connect brute force dfs and similar dsu Statement C Codeforces Round 542 [Alex Lopashev Thanks-Round] (Div. 2) {1130} PROGRAMMING 65520 1400
3110 Chladni Figure brute force strings Statement B Forethought Future Cup - Final Round (Onsite Finalists Only) {1147} PROGRAMMING Forethought Future Cup Final Round Tutorial 1900
962 Abandoning Roads brute force dp graphs greedy Statement D Codeforces Round 556 (Div. 1) {1149} PROGRAMMING 66783 2900
12803 Dima and a Bad XOR bitmasks brute force constructive algorithms dp Statement B Codeforces Round 553 (Div. 2) {1151} PROGRAMMING Codeforces Round #553 (Div. 2) Editorial 1600
7702 Beautiful Array brute force data structures divide and conquer dp greedy Statement D Educational Codeforces Round 63 (Rated for Div. 2) {1155} PROGRAMMING 66687 1900
517 Delivery Oligopoly brute force dp graphs Statement F Educational Codeforces Round 63 (Rated for Div. 2) {1155} PROGRAMMING 66687 2700
3403 Flag brute force combinatorics dp implementation Statement C Codeforces Round 567 (Div. 2) {1181} PROGRAMMING Editorial of Codeforces Round #567 (based on All-Russian olympiad in the name of Keldysh) 1900
367 Cubeword *special brute force dp meet-in-the-middle Statement C CEOI 2019 day 1 online mirror (unrated, IOI format) {1192} PROGRAMMING E
2041 Count The Rectangles bitmasks brute force data structures geometry sortings Statement E Educational Codeforces Round 68 (Rated for Div. 2) {1194} PROGRAMMING Разбор Educational Codeforces Round 68 2200
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
1162 Graph Traveler brute force data structures dfs and similar dp graphs implementation math number theory Statement F Codeforces Round 578 (Div. 2) {1200} PROGRAMMING Codeforces Round #578 (Div. 2) Editorial 2500
4839 You Are Given a Decimal String... brute force dp shortest paths Statement B Educational Codeforces Round 70 (Rated for Div. 2) {1202} PROGRAMMING 68972 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
3244 Rotate Columns (easy version) bitmasks brute force dp greedy sortings Statement E1 Codeforces Round 584 - Dasha Code Championship - Elimination Round (rated, open for everyone, Div. 1 + Div. 2) {1209} PROGRAMMING 69791 2000
5534 Anadi and Domino brute force graphs Statement A Dasha Code Championship - SPb Finals Round (only for onsite-finalists) {1210} PROGRAMMING Dasha Code Championship Finals and Mirror Round 588 Editorial 1600
875 Graph And Numbers bitmasks brute force combinatorics dp meet-in-the-middle Statement G Educational Codeforces Round 73 (Rated for Div. 2) {1221} PROGRAMMING Разбор Educational Codeforces Round 73 2900
8293 Paint the Tree brute force constructive algorithms dp graphs implementation trees Statement D Codeforces Round 592 (Div. 2) {1244} PROGRAMMING Codeforces Round #592 (Div. 2) Tutorial 1700
2260 Daniel and Spring Cleaning bitmasks brute force combinatorics dp Statement F Codeforces Round 597 (Div. 2) {1245} PROGRAMMING Codeforces Round #597 (Div. 2) Editorial 2300
2519 The World Is Just a Programming Task (Easy Version) brute force dp greedy implementation Statement D1 Codeforces Round 594 (Div. 2) {1248} PROGRAMMING Editorial of Codeforces Round #594 (on the problems of Moscow Team Olympiad) 1900
783 Tiling Terrace brute force dp Statement J 2019-2020 ICPC, Asia Jakarta Regional Contest (Online Mirror, ICPC Rules, Teams Preferred) {1252} PROGRAMMING T 2600
1883 Tournament brute force dp greedy Statement E Educational Codeforces Round 77 (Rated for Div. 2) {1260} PROGRAMMING Educational Codeforces Round 77 Editorial 2400
19223 Remove One Element brute force dp Statement D Codeforces Round 605 (Div. 3) {1272} PROGRAMMING Codeforces Round #605 (Div. 3) Editorial 1500
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
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
294 Harry The Potter brute force constructive algorithms dp fft implementation math Statement F Codeforces Round 612 (Div. 1) {1286} PROGRAMMING Codeforces Round #612 - Editorial 3200
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
12587 Cow and Message brute force dp math strings Statement C Codeforces Round 621 (Div. 1 + Div. 2) {1307} PROGRAMMING 1500.0 Codeforces Round #621 (Div. 1 + Div. 2) Editorial 1500
1964 Tourism brute force dp graphs probabilities Statement D VK Cup 2019-2020 - Elimination Round (Engine) {1310} PROGRAMMING 2250.0 VK Cup 2019-2020 - Elimination Round (Engine) and Codeforces Round #623 2300
11042 Skyscrapers (easy version) brute force data structures dp greedy Statement C1 Codeforces Round 622 (Div. 2) {1313} PROGRAMMING 1000.0 Editorial 1500
20861 Even Subset Sum Problem brute force dp greedy implementation Statement A Codeforces Round 626 (Div. 2, based on Moscow Open Olympiad in Informatics) {1323} PROGRAMMING 500.0 Codeforces Round #626 Editorial
1004 Wise Men (Easy Version) bitmasks brute force dp meet-in-the-middle Statement F1 Codeforces Global Round 7 {1326} PROGRAMMING 2000.0 74961 2600
602 Elementary! brute force dp strings Statement F April Fools Day Contest 2020 {1331} PROGRAMMING April Fools Day Contest 2020: editorial
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
34136 Filling Diamonds brute force dp Statement A Codeforces Round 633 (Div. 2) {1339} PROGRAMMING 500.0 Codeforces Round #633 Editorial
979 Make It Ascending bitmasks brute force dp Statement F Educational Codeforces Round 86 (Rated for Div. 2) {1342} PROGRAMMING 76633 2900
28217 Card Constructions binary search brute force dp math Statement B Codeforces Round 639 (Div. 2) {1345} PROGRAMMING 1000.0 Codeforces Round #639 Editorial 1100
7784 K-periodic Garland brute force dp greedy Statement E Codeforces Round 642 (Div. 3) {1353} PROGRAMMING Codeforces Round #642 (Div. 3) Editorial 1900
3606 Decreasing Heights brute force dp Statement F Codeforces Round 642 (Div. 3) {1353} PROGRAMMING Codeforces Round #642 (Div. 3) Editorial 2200
29358 New Theatre Square brute force dp greedy implementation two pointers Statement B Educational Codeforces Round 88 (Rated for Div. 2) {1359} PROGRAMMING Educational Codeforces Round 88 Editorial 1000
13499 Spy-string bitmasks brute force constructive algorithms dp hashing strings Statement F Codeforces Round 644 (Div. 3) {1360} PROGRAMMING Codeforces Round #644 (Div. 3) Editorial 1700
4616 Two Arrays binary search brute force combinatorics dp greedy implementation two pointers Statement E Educational Codeforces Round 89 (Rated for Div. 2) {1366} PROGRAMMING Educational Codeforces Round 89 Editorial
5803 Necklace Assembly binary search brute force dp greedy number theory Statement E Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
5714 Omkar and Circle brute force constructive algorithms dp games greedy Statement D Codeforces Round 655 (Div. 2) {1372} PROGRAMMING 2000.0 Codeforces Round #655 Editorial 2100
52280 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
2946 Sum of Digits brute force constructive algorithms dp greedy math number theory Statement E Educational Codeforces Round 90 (Rated for Div. 2) {1373} PROGRAMMING Educational Codeforces Round 90 Editorial
21815 a-Good String bitmasks brute force divide and conquer dp implementation Statement D Codeforces Round 656 (Div. 3) {1385} PROGRAMMING Codeforces Round #656 (Div. 3) Editorial 1500
20523 Good String brute force dp greedy implementation two pointers Statement C Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
5751 505 bitmasks brute force dp implementation Statement D Codeforces Round 663 (Div. 2) {1391} PROGRAMMING 2000.0 Codeforces Round #663 (Div. 2) Editorial
7111 Boboniu Chats with Du brute force dp greedy sortings two pointers Statement A Codeforces Round 664 (Div. 1) {1394} PROGRAMMING 500.0 Codeforces Round #664 Editorial 1800
15184 Boboniu and Bit Operations bitmasks brute force dp Statement C Codeforces Round 664 (Div. 2) {1395} PROGRAMMING 1000.0 Codeforces Round #664 Editorial 1600
11360 Zigzags brute force data structures dp math two pointers Statement D Educational Codeforces Round 94 (Rated for Div. 2) {1400} PROGRAMMING 81942
24421 Maximum Product brute force dp greedy implementation sortings Statement B Codeforces Round 670 (Div. 2) {1406} PROGRAMMING 1000.0 Codeforces Round #670 (Div. 2) Editorial
4666 Searchlights binary search brute force data structures dp geometry implementation sortings Statement D Grakn Forces 2020 {1408} PROGRAMMING 2000.0 Grakn Forces -- Editorial
11712 Bouncing Ball brute force dp implementation Statement C Technocup 2021 - Elimination Round 2 {1415} PROGRAMMING 1250.0 Editorial of Codeforces Round 687 (Technocup 2021 — Elimitation Round 2)
1043 Battle Lemmings brute force dp geometry Statement E Codeforces Round 672 (Div. 2) {1420} PROGRAMMING 3000.0 Editorial
961 Swedish Heroes brute force dp implementation Statement E Codeforces Round 676 (Div. 2) {1421} PROGRAMMING 2500.0 Codeforces Round #676 (Div. 2) Editorial
6058 The Hard Work of Paparazzi brute force dp Statement C Codeforces Global Round 11 {1427} PROGRAMMING 1000.0 Editorial of Global Round 11 2000
21737 Number of Apartments brute force dp math Statement A Educational Codeforces Round 96 (Rated for Div. 2) {1430} PROGRAMMING Educational Codeforces Round 96 — Editorial
166 Finding the Vertex brute force dfs and similar dp interactive trees Statement E Codeforces Round 680 (Div. 1, based on Moscow Team Olympiad) {1444} PROGRAMMING 3000.0 Codeforces Round #680 Editorial
13219 Find the Spruce brute force dp Statement B Codeforces Round 689 (Div. 2, based on Zed Code Competition) {1461} PROGRAMMING 1000.0 Codeforces Round #689 (Div. 2). 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
57058 New Year's Number brute force dp math Statement B Codeforces Round 697 (Div. 3) {1475} PROGRAMMING Codeforces Round #697 (Div. 3) Editorial
18990 Nezzar and Lucky Number brute force dp math Statement B Codeforces Round 698 (Div. 2) {1478} PROGRAMMING 1000.0 Tutorial 1100
8386 Pekora and Trampoline brute force data structures dp graphs greedy implementation Statement C Codeforces Global Round 13 {1491} PROGRAMMING 1000.0 Codeforces Global Round 13 Editorial
12064 Planar Reflections brute force combinatorics data structures dp Statement C CodeCraft-21 and Codeforces Round 711 (Div. 2) {1498} PROGRAMMING 1750.0 CodeCraft-21 and Codeforces Round #711 (Div. 2) Editorial
13408 Minimum Grid Path brute force data structures dp greedy Statement C Educational Codeforces Round 106 (Rated for Div. 2) {1499} PROGRAMMING Educational Codeforces Round 106 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
4828 Maximize the Remaining String brute force data structures dp greedy strings two pointers Statement G Codeforces Round 710 (Div. 3) {1506} PROGRAMMING Editorial
35370 Double-ended Strings brute force dp hashing strings Statement C Codeforces Round 710 (Div. 3) {1506} PROGRAMMING Editorial
2113 Digits brute force dp math number theory Statement D 2020-2021 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1510} PROGRAMMING nerc-2020-offline-tutorial.pdf
9246 Short Task brute force dp math number theory Statement G Codeforces Round 713 (Div. 3) {1512} PROGRAMMING Codeforces Round #713 (Div. 3) Editorial
25238 AGAGA XOOORRR bitmasks brute force dp greedy Statement B Codeforces Round 717 (Div. 2) {1516} PROGRAMMING 1000.0 Codeforces round #717 editorial
17530 Maximum Sum of Products brute force dp implementation math ternary search two pointers Statement D Educational Codeforces Round 108 (Rated for Div. 2) {1519} PROGRAMMING Educational Codeforces Round 108 Editorial
2469 Love-Hate bitmasks brute force dp probabilities Statement D Deltix Round, Spring 2021 (open for everyone, rated, Div. 1 + Div. 2) {1523} PROGRAMMING 2250.0 Deltix Round, Spring 2021. Editorial 2400
394 Goblins And Gnomes brute force dp graph matchings Statement F Educational Codeforces Round 109 (Rated for Div. 2) {1525} PROGRAMMING 90793
10825 Armchairs brute force dp greedy Statement D Educational Codeforces Round 109 (Rated for Div. 2) {1525} PROGRAMMING 90793
27034 Potions (Easy Version) brute force data structures dp greedy Statement C1 Codeforces Round 723 (Div. 2) {1526} PROGRAMMING 750.0 Codeforces Round #723 (Div. 2) Editorial
18868 Parsa's Humongous Tree brute force dfs and similar dp greedy trees Statement A Codeforces Round 722 (Div. 1) {1528} PROGRAMMING 750.0 Codeforces Round #722 Editorial
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
2983 Tree Array brute force combinatorics dp math probabilities trees Statement B Codeforces Round 728 (Div. 1) {1540} PROGRAMMING 1250.0 Tutorial
129 AquaMoon and Potatoes brute force data structures dp Statement F Codeforces Round 732 (Div. 1) {1545} PROGRAMMING 4000.0 Codeforces Round #732 Editorial 3500
4528 Fixed Points brute force dp Statement E Codeforces Round 734 (Div. 3) {1551} PROGRAMMING Editorial for Codeforces Round #734 (Div.3)
19752 Penalty brute force dp greedy Statement C Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 750.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
15457 Reverse String brute force dp hashing strings Statement B Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 500.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
24024 Coin Rows brute force constructive algorithms dp implementation Statement C Educational Codeforces Round 112 (Rated for Div. 2) {1555} PROGRAMMING 93389 1300
15290 Say No to Palindromes brute force dp strings Statement D Educational Codeforces Round 112 (Rated for Div. 2) {1555} PROGRAMMING 93389 1600
5260 Up the Strip brute force dp math number theory Statement B Codeforces Round 740 (Div. 1, based on VK Cup 2021 - Final (Engine)) {1558} PROGRAMMING 1250.0 Codeforces Round #740 Editorial 1900
4928 Nearest Beautiful Number (hard version) bitmasks brute force constructive algorithms dfs and similar dp greedy Statement F2 Codeforces Round 739 (Div. 3) {1560} PROGRAMMING 94009 2100
6087 Up the Strip (simplified version) brute force data structures dp math number theory Statement D1 Codeforces Round 740 (Div. 2, based on VK Cup 2021 - Final (Engine)) {1561} PROGRAMMING 1500.0 Codeforces Round #740 Editorial 1700
376 Palindromic Hamiltonian Path brute force dp graphs Statement F Educational Codeforces Round 113 (Rated for Div. 2) {1569} PROGRAMMING 94721
2866 Divisible by Twenty-Five brute force dfs and similar dp Statement D COMPFEST 13 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1575} PROGRAMMING COMPFEST 13 — Editorial
11639 Ticks brute force dp greedy implementation Statement C Codeforces Round 744 (Div. 3) {1579} PROGRAMMING Codeforces Round #744 (Div. 3) Editorial
3917 Portal brute force dp greedy implementation Statement A Codeforces Round 745 (Div. 1) {1580} PROGRAMMING 500.0 Codeforces Round #745 Editorial 1700
2077 Korney Korneevich and XOR (hard version) binary search brute force dp two pointers Statement F2 Codeforces Round 750 (Div. 2) {1582} PROGRAMMING 1500.0 Codeforces Round #750 (Div.2) Editorial
1606 Rubik's Cube Coloring (hard version) brute force dp implementation math trees Statement E2 Codeforces Round 747 (Div. 2) {1594} PROGRAMMING 1500.0 95525 2300
2489 Staircases brute force combinatorics data structures dfs and similar dp Statement E Educational Codeforces Round 115 (Rated for Div. 2) {1598} PROGRAMMING 95890
692 Armor and Weapons brute force dp greedy shortest paths Statement F Educational Codeforces Round 117 (Rated for Div. 2) {1612} PROGRAMMING 97164
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
4585 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
15445 MEX and Array brute force dp greedy math Statement B Codeforces Global Round 19 {1637} PROGRAMMING 1000.0 Tutorial
3689 Connect the Points brute force constructive algorithms geometry Statement C 2021-2022 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1666} PROGRAMMING Tutorial (PDF)
423 Permutation Counting brute force combinatorics dp fft math Statement F Educational Codeforces Round 127 (Rated for Div. 2) {1671} PROGRAMMING 102181
1412 Typical Party in Dorm bitmasks brute force combinatorics dp strings two pointers Statement E Codeforces Round 791 (Div. 2) {1679} PROGRAMMING 2250.0 Codeforces Round #791 (Div. 2) Editorial
10734 Required Length brute force dfs and similar dp hashing shortest paths Statement D Educational Codeforces Round 129 (Rated for Div. 2) {1681} PROGRAMMING 103163 1700
4732 Lena and Matrix brute force data structures dp shortest paths Statement D Codeforces Round 798 (Div. 2) {1689} PROGRAMMING 1750.0 Editorial for Codeforces Round #798 (Div. 2)
1103 Decinc Dividing brute force data structures divide and conquer dp greedy Statement D Codeforces Round 800 (Div. 1) {1693} PROGRAMMING 2250.0 Codeforces Round #800 Editorial 2800
13976 Zero Path brute force data structures dp greedy shortest paths Statement C Codeforces Round 801 (Div. 2) and EPIC Institute of Technology Round {1695} PROGRAMMING 1250.0 Editorial for Codeforces Round #801 (Div. 2) and EPIC Institute of Technology Round
203 Maximum Product? brute force combinatorics dp greedy math two pointers Statement H Codeforces Global Round 21 {1696} PROGRAMMING 4000.0 Editorial of Codeforces Global Round 21
1449 Coloring brute force combinatorics constructive algorithms dfs and similar dp dsu graphs implementation Statement E 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
12698 Good Key, Bad Key bitmasks brute force dp greedy math Statement G Codeforces Round 806 (Div. 4) {1703} PROGRAMMING 104786
2670 Count Seconds brute force constructive algorithms dp graphs Statement E CodeTON Round 2 (Div. 1 + Div. 2, Rated, Prizes!) {1704} PROGRAMMING 2000.0 CodeTON Round 2 Editorial
7706 Chopping Carrots (Easy Version) binary search brute force constructive algorithms dp greedy number theory Statement D1 Codeforces Round 809 (Div. 2) {1706} PROGRAMMING 1000.0 Codeforces Round #809 Editorial
6110 Chip Move brute force dp math Statement D Educational Codeforces Round 133 (Rated for Div. 2) {1716} PROGRAMMING 105653
6695 Xor-Subsequence (easy version) bitmasks brute force dp strings trees Statement D1 Codeforces Round 815 (Div. 2) {1720} PROGRAMMING 1500.0 Codeforces Round #815 (Div. 2) Editorial
13302 Counting Rectangles brute force data structures dp implementation Statement E Codeforces Round 817 (Div. 4) {1722} PROGRAMMING 106478 1600
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
846 Function Sum brute force combinatorics dp fft math Statement F Codeforces Round 841 (Div. 2) and Divide by Zero 2022 {1731} PROGRAMMING 2750.0 Codeforces Round #841 (Div. 2) and Divide By Zero 2022 Editorial
1922 Kirill and Company bitmasks brute force dp graphs shortest paths Statement G Codeforces Round 826 (Div. 3) {1741} PROGRAMMING 107908
12951 Zero-Sum Prefixes brute force data structures dp greedy implementation Statement C Codeforces Round 833 (Div. 2) {1748} PROGRAMMING 1500.0 Codeforces Round #833 (Div. 2) Editorial 1600
12485 The Humanoid brute force dp sortings Statement E Codeforces Round 834 (Div. 3) {1759} PROGRAMMING 109254
2760 Carry Bit bitmasks brute force combinatorics dp math Statement D Pinely Round 1 (Div. 1 + Div. 2) {1761} PROGRAMMING 1750.0 Pinely Round 1 (Div. 1 + Div. 2) Editorial
1472 Decomposition brute force divide and conquer dp matrices Statement E Educational Codeforces Round 139 (Rated for Div. 2) {1766} PROGRAMMING 110066
10500 Lucky Chains brute force dp greedy math number theory Statement D Educational Codeforces Round 139 (Rated for Div. 2) {1766} PROGRAMMING 110066
1249 Algebra Flash bitmasks brute force dp graphs meet-in-the-middle trees Statement E Educational Codeforces Round 140 (Rated for Div. 2) {1767} PROGRAMMING 110225
3205 Hossam and (sub-)palindromic tree brute force dfs and similar dp trees Statement D Codeforces Round 837 (Div. 2) {1771} PROGRAMMING 2250.0 Codeforces Round #837 (Div. 2) Editorial