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 3 >

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
439 Forward, march! binary search dp greedy Statement E Codeforces Beta Round 11 {11} PROGRAMMING 2800
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
3848 Animals dp greedy Statement D Codeforces Beta Round 35 (Div. 2) {35} PROGRAMMING 1700
2469 Partial Teacher dp graphs greedy implementation Statement A Manthan 2011 {67} PROGRAMMING 1800
1730 Train dp games greedy Statement B Codeforces Beta Round 68 {74} PROGRAMMING Solutions for Codeforces Beta Round #68 1600
2047 Big Maximum Sum data structures dp greedy implementation math trees Statement D Codeforces Beta Round 67 (Div. 2) {75} PROGRAMMING Codeforces Beta Round #67 (Div. 2) Editorial 2100
2399 Plus and xor dp greedy math Statement D All-Ukrainian School Olympiad in Informatics {76} PROGRAMMING All-Ukrainian School Olympiad in Informatics: editorial (A,B,C,D,E,F) 1800
1169 Beavermuncher-0xFF dfs and similar dp dsu greedy trees Statement C Codeforces Beta Round 69 (Div. 1 Only) {77} PROGRAMMING Codeforces Beta Round #69 tutorial 2300
2087 Beaver data structures dp greedy hashing strings two pointers Statement C Codeforces Beta Round 71 {79} PROGRAMMING Codeforces Beta Round #71 Editorial 1800
1397 Lucky Numbers dp greedy Statement B Codeforces Beta Round 77 (Div. 1 Only) {95} PROGRAMMING Codeforces Beta Round #77 - Analysis 1800
790 Castle dp greedy probabilities sortings trees Statement D Codeforces Beta Round 79 (Div. 1 Only) {101} PROGRAMMING Codeforces Beta Round 79, editoral 2300
4107 Spiders dp greedy trees Statement F School Regional Team Contest, Saratov, 2011 {120} PROGRAMMING Tutorial for school regional team contest of Saratov 1500
720 Brackets combinatorics dp greedy Statement C Codeforces Beta Round 92 (Div. 1 Only) {123} PROGRAMMING Codeforces Beta Round #92 - Analysis 2300
719 Constants in the language of Shakespeare constructive algorithms dp greedy Statement D Codeforces Beta Round 96 (Div. 1) {132} PROGRAMMING Codeforces Beta Round #96: editorial 2100
388 Shoe Store dp graph matchings greedy sortings two pointers Statement D Codeforces Round 113 (Div. 2) {166} PROGRAMMING Codeforces Round #113 (Div. 2) Tutorial 2400
2511 File List dp greedy implementation Statement B VK Cup 2012 Round 3 (Unofficial Div. 2 Edition) {174} PROGRAMMING VK Cup 2012 Round 3 — Разбор 1500
288 Power Defence brute force dp geometry greedy Statement E Codeforces Round 115 {175} PROGRAMMING Codeforces Round #115 — editorial A-E 2500
480 T-shirt dp greedy probabilities Statement D Croc Champ 2012 - Final {183} PROGRAMMING CROC Champ 2012 — Round 3 (Editorial) 2800
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
2612 Towers dp greedy two pointers Statement D Codeforces Round 142 (Div. 1) {229} PROGRAMMING Codeforces Round #142 Problem Analysis 2000
524 Gifts combinatorics dp math probabilities Statement E Codeforces Round 142 (Div. 1) {229} PROGRAMMING Codeforces Round #142 Problem Analysis 2500
1362 World Eater Brothers dfs and similar dp greedy trees Statement C Codeforces Round 148 (Div. 1) {238} PROGRAMMING Editorial for Codeforces Round #148 2200
1124 Number Transformation dp greedy number theory Statement C Codeforces Round 153 (Div. 1) {251} PROGRAMMING Editorial of Codeforces Round #153 2500
5559 Zero Tree dfs and similar dp greedy trees Statement B Codeforces Round 168 (Div. 1) {274} PROGRAMMING Codeforces Round #168 Editorial 2000
16293 Little Girl and Maximum XOR bitmasks dp greedy implementation math Statement D Codeforces Round 169 (Div. 2) {276} PROGRAMMING Codeforces Round #169 — Unofficial Editorial 1800
1590 Beautiful Decomposition dp games greedy number theory Statement E Codeforces Round 171 (Div. 2) {279} PROGRAMMING Codeforces Round #171 (Div. 2) Разбор Задач 2100
5032 Shaass and Bookshelf dp greedy Statement B Codeforces Round 178 (Div. 2) {294} PROGRAMMING Codeforces Round #178 Editorial 1700
3815 Ciel and Duel dp flows greedy Statement B Codeforces Round 190 (Div. 1) {321} PROGRAMMING Codeforces Round #190 — Editorial 2000
594 Ciel and Flipboard dp greedy math Statement D Codeforces Round 190 (Div. 1) {321} PROGRAMMING Codeforces Round #190 — Editorial 2900
334 Binary Key dp greedy implementation Statement E Codeforces Round 193 (Div. 2) {332} PROGRAMMING 8447 2600
735 Buy One, Get One Free dp greedy Statement F MemSQL start[c]up Round 2 - online version {335} PROGRAMMING MemSQL start[c]up Round 2 -- Editorial 2900
8750 Xenia and Weights constructive algorithms dfs and similar dp graphs greedy shortest paths Statement C Codeforces Round 197 (Div. 2) {339} PROGRAMMING Codeforces Round #197 — Tutorial 1700
15097 Color the Fence data structures dp greedy implementation Statement B Codeforces Round 202 (Div. 2) {349} PROGRAMMING Editorial for Codeforces Round #202 1700
3093 Jeff and Rounding dp greedy implementation math Statement A Codeforces Round 204 (Div. 1) {351} PROGRAMMING Codeforces Round #204 — tutorial 1900
672 Antichain dp graph matchings greedy Statement E Codeforces Round 205 (Div. 2) {353} PROGRAMMING 9145 2600
1088 Bags and Coins bitmasks constructive algorithms dp greedy Statement D Codeforces Round 207 (Div. 1) {356} PROGRAMMING 9210 2500
4497 Dima and Hares dp greedy Statement D Codeforces Round 208 (Div. 2) {358} PROGRAMMING Codeforces Round #208 (Div. 2) Разбор 2000
1250 Free Market dp greedy Statement B Codeforces Round 213 (Div. 1) {364} PROGRAMMING Codeforces Round #213 Editorial 2300
318 Summer Reading dp greedy Statement E Codeforces Round 217 (Div. 2) {370} PROGRAMMING Codeforces Round #217 (Div. 2): tutorial 2500
2782 Upgrading Array dp greedy math number theory Statement D Codeforces Round 236 (Div. 2) {402} PROGRAMMING Editorial Codeforces Round #236 2000
8690 Booking System binary search dp greedy implementation Statement C Codeforces Round 241 (Div. 2) {416} PROGRAMMING Codeforces Round #241 — editorial 1600
2905 Cunning Gena bitmasks dp greedy sortings Statement D RCC 2014 Warmup (Div. 2) {417} PROGRAMMING 2000
1029 Guess the Tree bitmasks constructive algorithms dp greedy trees Statement C Codeforces Round 245 (Div. 1) {429} PROGRAMMING Codeforces Round #245 — Editorial 2400
786 Special Grid brute force dp greedy Statement D Codeforces Round 249 (Div. 2) {435} PROGRAMMING Codeforces Round #249 (Div. 2) Editorial 2200
10750 Painting Fence divide and conquer dp greedy Statement C Codeforces Round 256 (Div. 2) {448} PROGRAMMING Codeforces Round #256 — Разбор 1900
126 An easy problem about trees dp games greedy trees Statement F MemSQL Start[c]UP 2.0 - Round 2 {457} PROGRAMMING MemSQL Start[c]UP 2.0 Round 1 and 2 Editorials 3000
852 Alex and Complicated Task data structures dp greedy Statement E Codeforces Round 267 (Div. 2) {467} PROGRAMMING Разбор задач 2900
3034 Kindergarten data structures dp greedy Statement D Codeforces Round 276 (Div. 1) {484} PROGRAMMING Codeforces Round #276 — Editorial 2400
2621 LIS of Sequence data structures dp greedy hashing math Statement E Codeforces Round 277 (Div. 2) {486} PROGRAMMING Codeforces Round #277(Div. 2) Editorial 2400
56516 BerSU Ball dfs and similar dp graph matchings greedy sortings two pointers Statement B Codeforces Round 277.5 (Div. 2) {489} PROGRAMMING Codeforces Round #277.5 (Div. 2) Editorial [A-D for now] 1300
51545 Given Length and Sum of Digits... dp greedy implementation Statement C Codeforces Round 277.5 (Div. 2) {489} PROGRAMMING Codeforces Round #277.5 (Div. 2) Editorial [A-D for now] 1400
1952 Arthur and Brackets dp greedy Statement E Codeforces Round 288 (Div. 2) {508} PROGRAMMING 16048 2400
2385 Sums of Digits dp greedy implementation Statement C Codeforces Round 289 (Div. 2, ACM ICPC Rules) {509} PROGRAMMING Tutorial CodeForces Round 289 (Div.2) (Second Winter Computer Camp Selection 2015) 2000
1545 Фото на память - 2 (round version) dp greedy Statement B VK Cup 2015 - Round 1 {524} PROGRAMMING 1700
5078 Clique Problem data structures dp greedy implementation sortings Statement D Codeforces Round 296 (Div. 2) {527} PROGRAMMING Codeforces Round #296 Editorial 2100
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
11323 Covered Path dp greedy math Statement B Codeforces Round 298 (Div. 2) {534} PROGRAMMING 1400
19317 Quasi Binary constructive algorithms dp greedy implementation Statement B Codeforces Round 300 {538} PROGRAMMING Codeforces Round #300 Editorial (+challenges) 1400
995 Quest dp greedy Statement F VK Cup 2015 - Round 3 (unofficial online mirror, Div. 1 only) {542} PROGRAMMING 17697 2100
32719 Woodcutters dp greedy Statement C Codeforces Round 303 (Div. 2) {545} PROGRAMMING Codeforces Round #303 (Div.2) editorial 1500
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
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
2820 Minimization dp greedy sortings Statement B Codeforces Round 317 [AimFund Thanks-Round] (Div. 1) {571} PROGRAMMING Codeforces Round #317 [AimFund Thanks-Round] Editorial 2300
1104 Bulbo dp greedy Statement F Bubble Cup 8 - Finals [Online Mirror] {575} PROGRAMMING Bubble Cup finals 2015 Results and Editorial 2200
957 LCS Again dp greedy Statement D Codeforces Round 320 (Div. 1) [Bayan Thanks-Round] {578} PROGRAMMING Codeforces Round #320 [Bayan Thanks-Round] Editorial 2800
219 Kojiro and Furrari dp greedy Statement E Codeforces Round 322 (Div. 2) {581} PROGRAMMING Codeforces Round #322 (Div.2) Editorial 2600
5647 Restaurant dp greedy sortings Statement B Testing Round 12 {597} PROGRAMMING 1600
8237 Alternative Thinking dp greedy math Statement A Codeforces Round 334 (Div. 1) {603} PROGRAMMING Codeforces Round #334 Bonus Editorial: More Ideas on Div. 1 E 1600
2472 Skills binary search brute force dp greedy sortings two pointers Statement B Codeforces Round 339 (Div. 1) {613} PROGRAMMING Tutorial 2200
2459 Running Track dp greedy strings trees Statement C Codeforces Round 338 (Div. 2) {615} PROGRAMMING Codeforces Round #338 (Div. 2) editorial 1900
1876 Hamiltonian Spanning Tree dfs and similar dp graph matchings greedy trees Statement D Wunder Fund Round 2016 (Div. 1 + Div. 2 combined) {618} PROGRAMMING Wunder Fund Round 2016 Editorials 2200
2355 Array GCD dp greedy number theory Statement B AIM Tech Round (Div. 1) {623} PROGRAMMING AIM Tech Round Tutorial 2400
606 Raffles data structures dp greedy math Statement G 8VC Venture Cup 2016 - Elimination Round {626} PROGRAMMING 23522 3000
979 Preorder Test binary search dfs and similar dp graphs greedy trees Statement D 8VC Venture Cup 2016 - Final Round {627} PROGRAMMING 8VC Venture Cup 2016 — Final Round Editorial 2600
3516 Thief in a Shop divide and conquer dp fft math Statement E Educational Codeforces Round 9 {632} PROGRAMMING 43493 2500
2124 Running with Obstacles *special data structures dp greedy Statement D VK Cup 2016 - Qualification Round 1 {637} PROGRAMMING 2000
1405 Intellectual Inquiry dp greedy strings Statement E CROC 2016 - Elimination Round {645} PROGRAMMING Editorial for CROC 2016 Elimination Round 2100
2172 Table Compression dfs and similar dp dsu graphs greedy Statement C Codeforces Round 345 (Div. 1) {650} PROGRAMMING Codeforces Round #345: editorial 2300
24106 Joysticks dp greedy implementation math Statement A Codeforces Round 345 (Div. 2) {651} PROGRAMMING 1100
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
17074 Simple Strings dp greedy strings Statement C Educational Codeforces Round 12 {665} PROGRAMMING Editorial 1200
4369 Recycling Bottles dp geometry greedy implementation Statement A Codeforces Round 352 (Div. 1) {671} PROGRAMMING Codeforces Round #352 Editorial 1800
1310 Roads in Yusland data structures dp greedy Statement D Codeforces Round 352 (Div. 1) {671} PROGRAMMING Codeforces Round #352 Editorial 2800
3319 Trains and Statistic data structures dp greedy Statement E Codeforces Round 353 (Div. 2) {675} PROGRAMMING Tutorial 2500
2223 Bear and Tower of Cubes binary search dp greedy Statement B Codeforces Round 356 (Div. 1) {679} PROGRAMMING Codeforces Round #356 — Editorial 2300
54672 Maximum Increase dp greedy implementation Statement A Educational Codeforces Round 15 {702} PROGRAMMING 46324 900
2166 Ant Man dp graphs greedy Statement B Codeforces Round 366 (Div. 1) {704} PROGRAMMING Tutorial 2700
4334 Centroids data structures dfs and similar dp graphs greedy trees Statement C AIM Tech Round 3 (Div. 1) {708} PROGRAMMING Editorial 2500
181 R3D3’s Summer Adventure dp greedy Statement B Bubble Cup 9 - Finals [Online Mirror] {717} PROGRAMMING Tutorial 3200
1631 Goods transportation dp flows greedy Statement E Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined) {724} PROGRAMMING Tutorial 2900
954 Polycarp's problems binary search dp greedy Statement F Technocup 2017 - Elimination Round 1 (Unofficially Open for Everyone, Rated for Div. 2) {727} PROGRAMMING Tutorial 2300
2727 Olympiad in Programming and Sports dp flows greedy Statement I 2016-2017 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) {730} PROGRAMMING Разбор задач (видео, по-русски) 2200
25747 Cormen --- The Best Friend Of a Man dp greedy Statement B Codeforces Round 377 (Div. 2) {732} PROGRAMMING Codeforces Round #377 (Div. 2) Editorial 1100
3538 Epidemic in Monstropolis constructive algorithms dp greedy two pointers Statement C Codeforces Round 378 (Div. 2) {733} PROGRAMMING Codeforces Round #378 (Div. 2) editorial 1800
5681 Anton and Making Potions binary search dp greedy two pointers Statement C Codeforces Round 379 (Div. 2) {734} PROGRAMMING Tutorial of Codeforces Round #379 (Div. 2) 1600
5895 Arpa's weak amphitheater and Mehrdad's valuable Hoses dfs and similar dp dsu Statement B Codeforces Round 383 (Div. 1) {741} PROGRAMMING Codeforces Round #383 editorial 1700
3457 Winter Is Coming dp greedy sortings Statement D Codeforces Round 387 (Div. 2) {747} PROGRAMMING 49171 1800
9909 Santa Claus and Candies dp greedy math Statement A Testing Round 13 {753} PROGRAMMING 1100
1850 PolandBall and Gifts bitmasks dp greedy Statement F 8VC Venture Cup 2017 - Elimination Round {755} PROGRAMMING 8VC Venture Cup 2017 — Elimination Round [Editorial] 2600
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
552 Broken Tree dfs and similar dp graphs greedy trees Statement E Codeforces Round 392 (Div. 2) {758} PROGRAMMING Codeforces Round #392 (Div. 2) Editorial 2900
1806 Maximum path dp greedy implementation Statement D Educational Codeforces Round 17 {762} PROGRAMMING Tutorial 2400
1336 Tree Folding dfs and similar dp greedy implementation trees Statement E Codeforces Round 397 by Kaspersky Lab and Barcelona Bootcamp (Div. 1 + Div. 2 combined) {765} PROGRAMMING Codeforces Round #397 Editorial 2200
4938 Mahmoud and a Message brute force dp greedy strings Statement C Codeforces Round 396 (Div. 2) {766} PROGRAMMING Codeforces round #396 editorial 1700
617 Bear and Rectangle Strips dp greedy Statement E VK Cup 2017 - Round 1 {771} PROGRAMMING VK Cup 2017 Round 1 and CF Round 405 — Editorial 3000
9960 Game of Credit Cards data structures dp greedy sortings Statement B Codeforces Round 401 (Div. 2) {777} PROGRAMMING Problem analysis of Codeforces Round #401 (Div. 2) 1300
6815 Alyona and Spreadsheet binary search data structures dp greedy implementation two pointers Statement C Codeforces Round 401 (Div. 2) {777} PROGRAMMING Problem analysis of Codeforces Round #401 (Div. 2) 1600
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
4982 Divide by Three dp greedy math number theory Statement C Educational Codeforces Round 18 {792} PROGRAMMING Educational Codeforces Round 18 - Editorial 2000
11493 Odd sum dp greedy implementation Statement B Educational Codeforces Round 19 {797} PROGRAMMING 51588 1400
1462 Mice and Holes data structures dp greedy sortings Statement F Educational Codeforces Round 19 {797} PROGRAMMING 51588 2600
6363 Mike and gcd problem dp greedy number theory Statement C Codeforces Round 410 (Div. 2) {798} PROGRAMMING Codeforces Round #410 (Div. 2) Editorial 1700
2176 Selling Souvenirs binary search dp greedy ternary search Statement E Educational Codeforces Round 21 {808} PROGRAMMING 52010 2300
2576 An overnight dance in discotheque dfs and similar dp geometry greedy trees Statement D Codeforces Round 418 (Div. 2) {814} PROGRAMMING Codeforces Round #418 (Div. 2) Editorial 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
2574 Driving Test data structures dp greedy Statement D Educational Codeforces Round 27 {845} PROGRAMMING 53986 1800
461 Tournament Construction constructive algorithms dp graphs greedy math Statement D Codeforces Round 432 (Div. 1, based on IndiaHacks Final Round 2017) {850} PROGRAMMING Codeforces Round #432 editorial 2700
712 Michael and Charging Stations binary search dp greedy Statement D Codeforces Round 433 (Div. 1, based on Olympiad of Metropolises) {853} PROGRAMMING Codeforces Round #433 Editorial 2400
5850 Did you mean... dp greedy implementation Statement C Технокубок 2018 - Отборочный Раунд 1 {858} PROGRAMMING Codeforces Round 434 Div.1+Div.2 (and Technocup 2018 — Elimination Round 1) Editorial 1500
9758 Maximum splitting dp greedy math number theory Statement C Technocup 2018 - Elimination Round 2 {870} PROGRAMMING Editorial Codeforces Round 440 Div.1+Div.2 (and Technocup 2018 — Elimination Round 2) 1300
14178 Pride brute force dp greedy math number theory Statement A Codeforces Round 446 (Div. 1) {891} PROGRAMMING Codeforces Round #446 Editorial 1600
3326 Credit Card data structures dp greedy implementation Statement D Educational Codeforces Round 33 (Rated for Div. 2) {893} PROGRAMMING 55989 1800
2446 Coprocessor dfs and similar dp graphs greedy Statement E Codeforces Round 455 (Div. 2) {909} PROGRAMMING Codeforces Round #455 (Div. 2) Editorial 2100
13949 The Way to Home dfs and similar dp greedy implementation Statement A Testing Round 14 (Unrated) {910} PROGRAMMING 1100
8454 Party Lemonade bitmasks dp greedy Statement C Hello 2018 {913} PROGRAMMING Tutorial 1600
7545 Permute Digits dp greedy Statement C Educational Codeforces Round 36 (Rated for Div. 2) {915} PROGRAMMING 57123 1700
3670 The Monster dp greedy implementation math Statement A Codeforces Round 459 (Div. 1) {917} PROGRAMMING Codeforces Round #459 Editorial 1900
808 Tanks dp greedy implementation Statement D Educational Codeforces Round 37 (Rated for Div. 2) {920} PROGRAMMING 2600
742 Divisibility constructive algorithms dp greedy number theory Statement F Codeforces Round 461 (Div. 2) {922} PROGRAMMING 57605 2500
4215 Riverside Curio data structures dp greedy Statement C VK Cup 2018 - Round 2 {924} PROGRAMMING VK Cup 2018 Round 2 and Codeforces Round #472 Editorial 1800
396 World of Tank dp greedy Statement D Codeforces Round 467 (Div. 1) {936} PROGRAMMING Codeforces Round #467, Editorial 3000
612 Erasing Substrings bitmasks dp greedy Statement F Educational Codeforces Round 38 (Rated for Div. 2) {938} PROGRAMMING Educational Codeforces Round 38 — Editorial 2600
9500 Our Tanya is Crying Out Loud dp greedy Statement B Codeforces Round 466 (Div. 2) {940} PROGRAMMING [Editorial] Codeforces Round #466 (Div. 2) 1400
4380 Cashback data structures dp greedy math Statement E Codeforces Round 466 (Div. 2) {940} PROGRAMMING [Editorial] Codeforces Round #466 (Div. 2) 2000
1149 Guard Duty (medium) binary search dp greedy sortings Statement E2 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING helvetic-coding-contest-2018-editorial.pdf 2300
2994 Destruction of a Tree constructive algorithms dfs and similar dp greedy trees Statement B Tinkoff Internship Warmup Round 2018 and Codeforces Round 475 (Div. 1) {963} PROGRAMMING Editorial Tinkoff Internship Warmup Round 2018 and Codeforces Round #475 (Div. 1 + Div. 2) 2100
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
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
3544 Bookshelves bitmasks dp greedy Statement D Avito Code Challenge 2018 {981} PROGRAMMING Avito Code Challenge 2018 — разбор 1800
15741 Cut 'em all! dfs and similar dp graphs greedy trees Statement C Codeforces Round 484 (Div. 2) {982} PROGRAMMING Editorial 1500
4142 Pencils and Boxes binary search data structures dp greedy two pointers Statement E Educational Codeforces Round 44 (Rated for Div. 2) {985} PROGRAMMING Educational Codeforces Round 44 Editorial 2000
1055 Flow Control dfs and similar dp greedy trees Statement F Educational Codeforces Round 45 (Rated for Div. 2) {990} PROGRAMMING Educational Codeforces Round 45 Editorial 2500
7720 Bishwock dp greedy Statement D Codeforces Round 491 (Div. 2) {991} PROGRAMMING 60181 1500
832 Compute Power binary search dp greedy Statement D Codeforces Round 488 by NEAR (Div. 1) {993} PROGRAMMING Codeforces Round #488 editorial 2400
117668 Hit the Lottery dp greedy Statement A Codeforces Round 492 (Div. 2) [Thanks, uDebug!] {996} PROGRAMMING Editorial for Codeforces Round #492 [Thanks u-Debug!] 600
3135 Roman Digits brute force combinatorics dp greedy math Statement B Codeforces Round 493 (Div. 1) {997} PROGRAMMING 60357 2000
14382 Cutting dp greedy sortings Statement B Codeforces Round 493 (Div. 2) {998} PROGRAMMING Codeforces Round #493 — Editorial 1200
1232 Sonya and Ice Cream binary search data structures dp greedy shortest paths trees Statement E Codeforces Round 495 (Div. 2) {1004} PROGRAMMING 60443 2400
11259 Polycarp and Div 3 dp greedy number theory Statement D Codeforces Round 496 (Div. 3) {1005} PROGRAMMING Codeforces Round 496 (Div. 3): Problem Tutorials 1500
6780 Stars Drawing (Easy Edition) brute force dp greedy Statement E1 Codeforces Round 501 (Div. 3) {1015} PROGRAMMING 60949 1700
4029 Stars Drawing (Hard Edition) binary search dp greedy Statement E2 Codeforces Round 501 (Div. 3) {1015} PROGRAMMING 60949 2000
18407 Creating the Contest dp greedy math Statement B Codeforces Round 506 (Div. 3) {1029} PROGRAMMING Codeforces Round #506 (Div. 3) Editorial 1200
3397 Tree with Small Distances dp graphs greedy Statement E Codeforces Round 506 (Div. 3) {1029} PROGRAMMING Codeforces Round #506 (Div. 3) Editorial 2200
20086 Equalize dp greedy strings Statement C Manthan, Codefest 18 (rated, Div. 1 + Div. 2) {1037} PROGRAMMING Tutorial 1300
8852 Slime dp greedy implementation Statement D Codeforces Round 508 (Div. 2) {1038} PROGRAMMING Tutorial 1700
7473 Shashlik Cooking dp greedy math Statement B Codeforces Round 507 (Div. 2, based on Olympiad of Metropolises) {1040} PROGRAMMING Codeforces Round #507 (based on Olympiad of Metropolises) — Editorial 1300
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
6713 Decorate Apple Tree constructive algorithms dfs and similar dp graphs greedy sortings trees Statement D Mail.Ru Cup 2018 Round 3 {1056} PROGRAMMING Mail.Ru Cup 2018 Round 3 Editorial 1600
1619 Split the Tree binary search data structures dp greedy trees Statement E Codeforces Round 514 (Div. 2) {1059} PROGRAMMING Codeforces Round #514 (Div. 2) Editorial 2400
490 Computer Game dp greedy math probabilities Statement D Codeforces Round 518 (Div. 1) [Thanks, Mail.Ru!] {1067} PROGRAMMING Tutorial 2800
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
592 Choosing Two Paths dfs and similar dp greedy trees Statement F Educational Codeforces Round 53 (Rated for Div. 2) {1073} PROGRAMMING 62742 2800
726 Summer Practice Report dp greedy Statement F Educational Codeforces Round 54 (Rated for Div. 2) {1076} PROGRAMMING E 2500
6293 Increasing Frequency binary search dp greedy Statement E Educational Codeforces Round 55 (Rated for Div. 2) {1082} PROGRAMMING 63544 2000
1614 Ehab and a component choosing problem dp greedy math trees Statement E Codeforces Round 525 (Div. 2) {1088} PROGRAMMING Codeforces round #525 editorial 2400
16443 Diverse Garland constructive algorithms dp greedy Statement D Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1400
18297 Sasha and His Trip dp greedy math Statement A Codeforces Round 539 (Div. 2) {1113} PROGRAMMING Codeforces Round #539 Editorial 900
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
1767 Power Tree dfs and similar dp dsu graphs greedy trees Statement D Codeforces Round 543 (Div. 1, based on Technocup 2019 Final Round) {1120} PROGRAMMING Разбор задач финала Технокубка 2019 и Codeforces Round #543 2400
328 Secret Letters data structures dp greedy Statement F Codeforces Round 543 (Div. 1, based on Technocup 2019 Final Round) {1120} PROGRAMMING Разбор задач финала Технокубка 2019 и Codeforces Round #543 2900
3617 Gourmet choice dfs and similar dp dsu graphs greedy Statement D Codeforces Round 541 (Div. 2) {1131} PROGRAMMING Codeforces Round #541 Editorial 2000
1256 String Multiplication dp greedy strings Statement E Codeforces Round 541 (Div. 2) {1131} PROGRAMMING Codeforces Round #541 Editorial 2200
1957 Knapsack dfs and similar dp greedy Statement E Educational Codeforces Round 61 (Rated for Div. 2) {1132} PROGRAMMING T 2400
1226 Greedy Subsequences data structures dp trees Statement G Educational Codeforces Round 61 (Rated for Div. 2) {1132} PROGRAMMING T 2600
13145 Minimum Triangulation dp greedy math Statement D Educational Codeforces Round 62 (Rated for Div. 2) {1140} PROGRAMMING Educational Codeforces Round 62 Editorial 1200
2336 Two Merged Sequences dp greedy Statement G Codeforces Round 550 (Div. 3) {1144} PROGRAMMING 66307 2600
962 Abandoning Roads brute force dp graphs greedy Statement D Codeforces Round 556 (Div. 1) {1149} PROGRAMMING 66783 2900
2577 Neko and Aki's Prank dp greedy trees Statement D Codeforces Round 554 (Div. 2) {1152} PROGRAMMING T 2000
5521 Serval and Rooted Tree binary search dfs and similar dp greedy trees Statement D Codeforces Round 551 (Div. 2) {1153} PROGRAMMING Editorial 1800
3246 Shovels Shop dp greedy sortings Statement F Codeforces Round 552 (Div. 3) {1154} PROGRAMMING Codeforces Round #552 (Div. 3) Editorial 2300
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
2877 Maximum Balanced Circle constructive algorithms dp greedy two pointers Statement F Codeforces Round 555 (Div. 3) {1157} PROGRAMMING 66737 2300
4517 Minimal Segment Cover data structures dfs and similar divide and conquer dp greedy implementation trees Statement E Educational Codeforces Round 66 (Rated for Div. 2) {1175} PROGRAMMING Editorial 2200
15082 Lose it! dp greedy implementation Statement C Codeforces Round 565 (Div. 3) {1176} PROGRAMMING 67598 1300
5774 Yet Another Subarray Problem dp greedy math Statement D Educational Codeforces Round 69 (Rated for Div. 2) {1197} PROGRAMMING E 1900
14648 Block Adventure dp greedy Statement B Codeforces Round 578 (Div. 2) {1200} PROGRAMMING Codeforces Round #578 (Div. 2) Editorial 1300
2531 Treasure Hunting binary search dp greedy implementation Statement D Codeforces Round 577 (Div. 2) {1201} PROGRAMMING Codeforces Round #577 (Div 2) Editorial 2000
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
3294 Complete the Projects (hard version) dp greedy Statement F2 Codeforces Round 579 (Div. 3) {1203} PROGRAMMING Codeforces Round #579 (Div. 3) Editorial 2400
7197 Anna, Svyatoslav and Maps dp graphs greedy shortest paths Statement C Codeforces Round 581 (Div. 2) {1204} PROGRAMMING 69244 1700
10418 Gas Pipeline dp greedy Statement C Educational Codeforces Round 71 (Rated for Div. 2) {1207} PROGRAMMING Educational Codeforces Round 71 Editorial 1500
3289 Bits And Pieces bitmasks dfs and similar dp greedy Statement F Manthan, Codefest 19 (open for everyone, rated, Div. 1 + Div. 2) {1208} PROGRAMMING 69357 2600
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
2296 Rotate Columns (hard version) bitmasks dp greedy sortings Statement E2 Codeforces Round 584 - Dasha Code Championship - Elimination Round (rated, open for everyone, Div. 1 + Div. 2) {1209} PROGRAMMING 69791 2400
3092 Wi-Fi data structures dp greedy Statement F Codeforces Round 587 (Div. 3) {1216} PROGRAMMING Codeforces Round #587 (Div. 3) Editorial 2300
2999 Tourism dfs and similar dp dsu graphs greedy trees Statement E Codeforces Round 586 (Div. 1 + Div. 2) {1220} PROGRAMMING Codeforces Round #586 Editorial 2200
4426 Sequence Sorting dp greedy two pointers Statement D Technocup 2020 - Elimination Round 1 {1223} PROGRAMMING Сodeforces Round 591 (and Technocup 2020 — Elimination Round 1) Editorial 2000
658 To Make 1 bitmasks constructive algorithms dp greedy number theory Statement G Technocup 2020 - Elimination Round 2 {1225} PROGRAMMING 70898 3000
165 Balanced Distribution data structures dp greedy Statement G Codeforces Global Round 5 {1237} PROGRAMMING T 3600
7840 Standard Free2play dp greedy math Statement C Educational Codeforces Round 74 (Rated for Div. 2) {1238} PROGRAMMING Educational Codeforces Round 74 Editorial 1600
14515 Restricted RPS constructive algorithms dp greedy Statement B Codeforces Round 597 (Div. 2) {1245} PROGRAMMING Codeforces Round #597 (Div. 2) Editorial 1200
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
774 Discarding Game dp greedy two pointers Statement G 2019-2020 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Teams Preferred) {1250} PROGRAMMING 2400
2585 Voting (Easy Version) data structures dp greedy Statement E1 Educational Codeforces Round 75 (Rated for Div. 2) {1251} PROGRAMMING 70860 2200
15284 Sweets Eating dp greedy math sortings Statement C Codeforces Round 600 (Div. 2) {1253} PROGRAMMING Editorial 1500
3057 Antenna Coverage data structures dp greedy sortings Statement E Codeforces Round 600 (Div. 2) {1253} PROGRAMMING Editorial 2200
4595 Yet Another Division Into Teams dp greedy sortings Statement E Codeforces Round 598 (Div. 3) {1256} PROGRAMMING Codeforces Round #598 (Div. 3) Editorial 2200
8144 Yet Another Monster Killing Problem binary search data structures dp greedy sortings two pointers Statement D Educational Codeforces Round 76 (Rated for Div. 2) {1257} PROGRAMMING Educational Codeforces Round 76 Editorial 1700
4525 The Contest data structures dp greedy Statement E Educational Codeforces Round 76 (Rated for Div. 2) {1257} PROGRAMMING Educational Codeforces Round 76 Editorial 2000
4180 A Game with Traps binary search dp greedy sortings Statement D Educational Codeforces Round 77 (Rated for Div. 2) {1260} PROGRAMMING Educational Codeforces Round 77 Editorial 1900
1883 Tournament brute force dp greedy Statement E Educational Codeforces Round 77 (Rated for Div. 2) {1260} PROGRAMMING Educational Codeforces Round 77 Editorial 2400
6423 Domino for Young dp greedy math Statement B Codeforces Round 609 (Div. 1) {1268} PROGRAMMING Codeforces Round #609 — Editorial 2000
3395 Portals data structures dp greedy implementation sortings Statement D Codeforces Round 608 (Div. 2) {1271} PROGRAMMING 72247 2100
12938 As Simple as One and Two dp greedy Statement A Codeforces Round 606 (Div. 1, based on Technocup 2020 Elimination Round 4) {1276} PROGRAMMING Technocup 2020 — Elimination Round 4 + Codeforces Round 606: Editorial 1300
8575 Berry Jam data structures dp greedy implementation Statement C Educational Codeforces Round 78 (Rated for Div. 2) {1278} PROGRAMMING Educational Codeforces Round 78 Editorial 1600
1228 Miss Punyverse dp greedy trees Statement D Codeforces Round 607 (Div. 1) {1280} PROGRAMMING Codeforces Round #607 Editorial 2700
12141 K for the Price of One (Easy Version) dp greedy sortings Statement B1 Codeforces Round 610 (Div. 2) {1282} PROGRAMMING 72461 1400
11000 K for the Price of One (Hard Version) dp greedy sortings Statement B2 Codeforces Round 610 (Div. 2) {1282} PROGRAMMING 72461 1600
7285 New Year Parties dp greedy Statement E Codeforces Round 611 (Div. 3) {1283} PROGRAMMING Codeforces Round #611 (Div. 3) Editorial 1800
30624 Just Eat It! dp greedy implementation Statement B Codeforces Round 613 (Div. 2) {1285} PROGRAMMING Codeforces Round #613 (Div. 2) Editorial 1300
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
9624 Garland dp greedy sortings Statement A Codeforces Round 612 (Div. 1) {1286} PROGRAMMING Codeforces Round #612 - Editorial 1700
2250 Xenon's Attack on the Gangs combinatorics dfs and similar dp greedy trees Statement C Codeforces Round 614 (Div. 1) {1292} PROGRAMMING 1250.0 Codeforces Round #614 Editorial 2300
966 Chaotic V. dp graphs greedy math number theory trees Statement D Codeforces Round 614 (Div. 1) {1292} PROGRAMMING 1750.0 Codeforces Round #614 Editorial 2700
6810 Three Paths on a Tree dfs and similar dp greedy trees Statement F Codeforces Round 615 (Div. 3) {1294} PROGRAMMING Codeforces Round #615 (Div. 3) Editorial 2100
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
8192 String Coloring (easy version) constructive algorithms dp graphs greedy sortings Statement E1 Codeforces Round 617 (Div. 3) {1296} PROGRAMMING Codeforces Round #617 (Div. 3) Editorial 1800
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
17719 Air Conditioner dp greedy implementation sortings two pointers Statement C Codeforces Round 620 (Div. 2) {1304} PROGRAMMING 1500.0 Codeforces Round #620 (Div. 2) Editorial 1500
1807 Animal Observation (hard version) data structures dp greedy Statement F2 Codeforces Round 620 (Div. 2) {1304} PROGRAMMING 1000.0 Codeforces Round #620 (Div. 2) Editorial 2600
1362 Cow and Treats binary search combinatorics dp greedy implementation math Statement E Codeforces Round 621 (Div. 1 + Div. 2) {1307} PROGRAMMING 2500.0 Codeforces Round #621 (Div. 1 + Div. 2) Editorial 2400
11042 Skyscrapers (easy version) brute force data structures dp greedy Statement C1 Codeforces Round 622 (Div. 2) {1313} PROGRAMMING 1000.0 Editorial 1500
7246 Skyscrapers (hard version) data structures dp greedy Statement C2 Codeforces Round 622 (Div. 2) {1313} PROGRAMMING 1000.0 Editorial 1900
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
5331 Team Building bitmasks dp greedy sortings Statement E CodeCraft-20 (Div. 2) {1316} PROGRAMMING 2250.0 Codecraft-20 (Div.2) Editorial 2300
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
3517 Make k Equal dp greedy Statement F Codeforces Round 629 (Div. 3) {1328} PROGRAMMING 75246 2400
24558 Linova and Kingdom dfs and similar dp greedy sortings trees Statement A Codeforces Round 635 (Div. 1) {1336} PROGRAMMING 500.0 Codeforces Round #635 Editorial 1700
8305 Nastya and Scoreboard bitmasks dp greedy Statement B Codeforces Round 637 (Div. 1) - Thanks, Ivan Belonogov! {1340} PROGRAMMING 750.0 Codeforces Round #637 Editorial
43940 Alternating Subsequence dp greedy two pointers Statement C Codeforces Round 636 (Div. 3) {1343} PROGRAMMING 76352 1100
2427 Phoenix and Berries dp greedy Statement E Codeforces Round 638 (Div. 2) {1348} PROGRAMMING 2500.0 Codeforces Round #638 (Div. 2) Editorial 2400
120 Slime and Hats constructive algorithms dp greedy Statement E Codeforces Round 641 (Div. 1) {1349} PROGRAMMING 2500.0 Codeforces Round #641 Editorial 3500
7784 K-periodic Garland brute force dp greedy Statement E Codeforces Round 642 (Div. 3) {1353} PROGRAMMING Codeforces Round #642 (Div. 3) Editorial 1900
1474 Summoning Minions constructive algorithms dp flows graph matchings greedy sortings Statement F Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 2500
27337 Young Explorers dp greedy sortings Statement B Codeforces Round 643 (Div. 2) {1355} PROGRAMMING 750.0 Codeforces Round #643 (Div. 2) Editorial 1200