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
29330 Before an Exam constructive algorithms greedy Statement B Codeforces Beta Round 4 (Div. 2 Only) {4} PROGRAMMING 1500
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
3045 Unordered Subsequence constructive algorithms greedy Statement C Codeforces Beta Round 27 (Codeforces format, Div. 2) {27} PROGRAMMING Solution of ABC @ Round#27 2000
916 Tricky and Clever Password binary search constructive algorithms data structures greedy hashing strings Statement E Codeforces Beta Round 30 (Codeforces format) {30} PROGRAMMING Codeforces Beta Round #30. Tutorial for problem A 2700
2222 3-cycles constructive algorithms graphs greedy Statement E Codeforces Beta Round 40 (Div. 2) {41} PROGRAMMING Codeforces Beta Round #40 Mini-Tutorial 1900
614 Triminoes constructive algorithms greedy Statement J School Team Contest 2 (Winter Computer School 2010/11) {44} PROGRAMMING School Team Contest #2 (Winter Computer School 2010/2011): tutorial of A-E, H, J. 2000
641 Director constructive algorithms greedy Statement E School Team Contest 3 (Winter Computer School 2010/11) {45} PROGRAMMING 2100
744 Team Arrangement constructive algorithms greedy implementation Statement D Codeforces Beta Round 55 (Div. 2) {59} PROGRAMMING 2200
804 Polycarp's Picture Gallery constructive algorithms greedy Statement D Yandex.Algorithm Open 2011: Qualification 1 {81} PROGRAMMING 2000
451 Tetris revisited constructive algorithms graph matchings greedy math Statement B Yandex.Algorithm 2011: Round 2 {86} PROGRAMMING Problemset analysis (Yandex, Round 2) 2100
297 Grocer's Problem constructive algorithms graphs greedy Statement D Codeforces Beta Round 75 (Div. 1 Only) {91} PROGRAMMING Analysis Codeforces Beta Round #75 2500
1047 Russian Roulette constructive algorithms greedy Statement C Codeforces Beta Round 80 (Div. 1 Only) {103} PROGRAMMING Tutorial 1900
1084 Hobbits' Party constructive algorithms greedy Statement C Codeforces Testing Round 2 {125} PROGRAMMING 1700
438 Two progressions constructive algorithms greedy Statement D Codeforces Testing Round 2 {125} PROGRAMMING 2000
816 E-reader Display constructive algorithms greedy Statement C Codeforces Beta Round 93 (Div. 1 Only) {126} PROGRAMMING Tutorial 2200
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
572 Swaps constructive algorithms graphs greedy Statement C Codeforces Testing Round 3 {134} PROGRAMMING 2200
1447 Zero-One constructive algorithms games greedy Statement C Codeforces Beta Round 97 (Div. 1) {135} PROGRAMMING Codeforces Beta Round #97: editorial 2000
2719 Queue constructive algorithms greedy sortings Statement C Codeforces Round 101 (Div. 2) {141} PROGRAMMING Codeforces Round #101 (Div. 2) Разбор Задач. 1800
2392 Help General constructive algorithms greedy implementation Statement B Codeforces Round 102 (Div. 1) {142} PROGRAMMING Codeforces Round #102 — Editorial 1900
3374 Terse princess constructive algorithms greedy Statement C Codeforces Round 105 (Div. 2) {148} PROGRAMMING Codeforces Round #105 (Div. 2): editorial 1700
2084 Discounts constructive algorithms greedy sortings Statement B VK Cup 2012 Round 1 {161} PROGRAMMING VK Cup 2012 Round 1: editorial 1700
288 Deputies constructive algorithms graphs greedy implementation Statement D Croc Champ 2012 - Round 1 {173} PROGRAMMING Croc Champ 2012 — Round 1 — Editorial 2400
603 Hamming Distance constructive algorithms greedy math matrices Statement C Codeforces Round 122 (Div. 1) {193} PROGRAMMING Editoral Codeforces Round #122 2400
874 Trails and Glades constructive algorithms dsu graphs greedy Statement C VK Cup 2012 Finals, Practice Session {209} PROGRAMMING 2400
5343 Hometask brute force constructive algorithms greedy math Statement B Codeforces Round 131 (Div. 2) {214} PROGRAMMING Codeforces Round #131 Tutorial 1600
14116 Dice Tower constructive algorithms greedy Statement A Codeforces Round 139 (Div. 2) {225} PROGRAMMING Tutorial 1200
1124 The table constructive algorithms greedy Statement D Codeforces Round 140 (Div. 1) {226} PROGRAMMING Codeforces Round #140 Editorial 2100
3908 Magic, Wizardry and Wonders constructive algorithms greedy Statement B Codeforces Round 143 (Div. 2) {231} PROGRAMMING Tutorial Codeforces Round #143 1600
2824 Cycles binary search constructive algorithms graphs greedy Statement A Codeforces Round 144 (Div. 1) {232} PROGRAMMING Editorial for Codeforces Round #144 1800
619 Merging Two Decks constructive algorithms greedy Statement H Codeforces Round 145 (Div. 2, ACM-ICPC Rules) {234} PROGRAMMING 2100
2857 Restoring Table constructive algorithms greedy Statement D CROC-MBTU 2012, Elimination Round (ACM-ICPC) {245} PROGRAMMING CROC-MBTU 2012, Elimination Round — Editorial 1500
10216 Buggy Sorting constructive algorithms greedy sortings Statement A Codeforces Round 151 (Div. 2) {246} PROGRAMMING Codeforces Round #151 (Div. 2) Tutorial 1000
2823 Beauty Pageant brute force constructive algorithms greedy Statement C Codeforces Round 151 (Div. 2) {246} PROGRAMMING Codeforces Round #151 (Div. 2) Tutorial 1600
3224 Balls and Boxes constructive algorithms greedy implementation Statement C Codeforces Round 158 (Div. 2) {260} PROGRAMMING Codeforces Round #158 (Div. 2) Tutorial 1700
1662 Black and White Tree constructive algorithms dsu graphs greedy trees Statement D Codeforces Round 158 (Div. 2) {260} PROGRAMMING Codeforces Round #158 (Div. 2) Tutorial 2200
1427 Below the Diagonal constructive algorithms greedy math Statement C Codeforces Round 163 (Div. 2) {266} PROGRAMMING Codeforces Round #163 (Div. 2) Tutorial 2000
1812 Flawed Flow constructive algorithms flows graphs greedy Statement C Codeforces Round 165 (Div. 1) {269} PROGRAMMING Разбор Codeforces Round #165 2500
3758 Fish Weight constructive algorithms greedy Statement B Codeforces Round 180 (Div. 1) {297} PROGRAMMING Tutorial 1700
5933 Ilya and Matrix constructive algorithms greedy implementation sortings Statement C Codeforces Round 186 (Div. 2) {313} PROGRAMMING Tutorial 1400
599 Ilya and Two Numbers constructive algorithms data structures dsu greedy Statement E Codeforces Round 186 (Div. 2) {313} PROGRAMMING Tutorial 2300
9337 Ciel the Commander constructive algorithms dfs and similar divide and conquer greedy trees Statement C Codeforces Round 190 (Div. 1) {321} PROGRAMMING Codeforces Round #190 — Editorial 2500
4797 Purification constructive algorithms greedy Statement A Codeforces Round 192 (Div. 1) {329} PROGRAMMING Codeforces Round #192 Editorial 1500
2842 Banana binary search constructive algorithms greedy Statement A MemSQL start[c]up Round 2 - online version {335} PROGRAMMING MemSQL start[c]up Round 2 -- Editorial 1500
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
583 Three Swaps constructive algorithms dfs and similar greedy Statement E Codeforces Round 197 (Div. 2) {339} PROGRAMMING Codeforces Round #197 — Tutorial 2200
575 Candies Game constructive algorithms greedy Statement E Codeforces Round 198 (Div. 1) {341} PROGRAMMING Tutorial 2900
2430 Two Heaps combinatorics constructive algorithms greedy implementation math sortings Statement B Codeforces Round 205 (Div. 2) {353} PROGRAMMING 9145 1800
1395 Compartments combinatorics constructive algorithms greedy implementation Statement C Codeforces Round 207 (Div. 1) {356} PROGRAMMING Codeforces Round #207: разбор задач 2200
1088 Bags and Coins bitmasks constructive algorithms dp greedy Statement D Codeforces Round 207 (Div. 1) {356} PROGRAMMING 9210 2500
2276 Dima and Containers constructive algorithms greedy implementation Statement C Codeforces Round 208 (Div. 2) {358} PROGRAMMING Codeforces Round #208 (Div. 2) Разбор 2000
9125 Table constructive algorithms greedy implementation Statement A Codeforces Round 209 (Div. 2) {359} PROGRAMMING Editorial Codeforces Round #209 (Div. 2) 1100
1714 Mittens constructive algorithms greedy sortings Statement C Codeforces Round 217 (Div. 2) {370} PROGRAMMING Codeforces Round #217 (Div. 2): tutorial 1800
703 Broken Monitor brute force constructive algorithms greedy implementation Statement D Codeforces Round 217 (Div. 2) {370} PROGRAMMING Codeforces Round #217 (Div. 2): tutorial 2100
558 Dominoes constructive algorithms greedy Statement C Codeforces Round 231 (Div. 2) {394} PROGRAMMING 1500.0
21662 Team constructive algorithms greedy implementation Statement C Codeforces Round 235 (Div. 2) {401} PROGRAMMING Codeforces Round #235 (Div. 2) — Tutorial 1400
1029 Guess the Tree bitmasks constructive algorithms dp greedy trees Statement C Codeforces Round 245 (Div. 1) {429} PROGRAMMING Codeforces Round #245 — Editorial 2400
791 Square Tiling constructive algorithms greedy Statement E Codeforces Round 246 (Div. 2) {432} PROGRAMMING Codeforces Round #246 (Div. 2) Editorial 2700
8393 24 Game constructive algorithms greedy math Statement A Codeforces Round 268 (Div. 1) {468} PROGRAMMING 13896 1600
827 Kamal-ol-molk's Painting brute force constructive algorithms greedy Statement C Bayan 2015 Contest Warm Up {475} PROGRAMMING Bayan 2015 Contest Warm Up Editorial 2100
5023 Dreamoon and Sets constructive algorithms greedy math Statement D Codeforces Round 272 (Div. 2) {476} PROGRAMMING Editorial 2000
41118 Random Teams combinatorics constructive algorithms greedy math Statement B Codeforces Round 273 (Div. 2) {478} PROGRAMMING Editorial 1300
8420 Towers brute force constructive algorithms greedy implementation sortings Statement B Codeforces Round 274 (Div. 2) {479} PROGRAMMING Codeforces Round #274: editorial 1400
10248 Diverse Permutation constructive algorithms greedy Statement A Codeforces Round 275 (Div. 1) {482} PROGRAMMING Codeforces Round #275 Editorial 1300
6031 New Year Book Reading constructive algorithms greedy implementation math Statement C Good Bye 2014 {500} PROGRAMMING Tutorial 2 1600
6054 Misha and Forest constructive algorithms data structures greedy sortings trees Statement C Codeforces Round 285 (Div. 2) {501} PROGRAMMING Tutorial 1700
4659 Anya and Ghosts constructive algorithms greedy Statement C Codeforces Round 288 (Div. 2) {508} PROGRAMMING 1600
9985 Painting Pebbles constructive algorithms greedy implementation Statement B Codeforces Round 289 (Div. 2, ACM ICPC Rules) {509} PROGRAMMING Tutorial CodeForces Round 289 (Div.2) (Second Winter Computer Camp Selection 2015) 1300
3001 Drazil and Tiles constructive algorithms greedy Statement D Codeforces Round 292 (Div. 2) {515} PROGRAMMING Codeforces Round #292 Editorial 2100
10212 Pasha and String constructive algorithms greedy math strings Statement B Codeforces Round 297 (Div. 2) {525} PROGRAMMING Codeforces Round #297 (Div.2) Editorial 1500
1995 Arthur and Walls constructive algorithms data structures graphs greedy shortest paths Statement D Codeforces Round 297 (Div. 2) {525} PROGRAMMING Codeforces Round #297 (Div.2) Editorial 2300
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
2572 Handshakes binary search constructive algorithms data structures greedy Statement D Codeforces Round 298 (Div. 2) {534} PROGRAMMING 2000
393 Berland Local Positioning System constructive algorithms greedy hashing implementation Statement E Codeforces Round 298 (Div. 2) {534} PROGRAMMING 2600
19317 Quasi Binary constructive algorithms dp greedy implementation Statement B Codeforces Round 300 {538} PROGRAMMING Codeforces Round #300 Editorial (+challenges) 1400
2652 Happy Line constructive algorithms greedy sortings Statement G Looksery Cup 2015 {549} PROGRAMMING Looksery Cup 2015 Editorial 2200
1580 Looksery Party constructive algorithms dfs and similar graphs greedy Statement B Looksery Cup 2015 {549} PROGRAMMING Looksery Cup 2015 Editorial 2300
1498 Brackets in Implications constructive algorithms greedy implementation math Statement E Codeforces Round 306 (Div. 2) {550} PROGRAMMING Codeforces Round #306 (Div. 2) Editorial 2300
2263 Kyoya and Permutation binary search combinatorics constructive algorithms greedy implementation math Statement B Codeforces Round 309 (Div. 1) {553} PROGRAMMING Codeforces Round #309 Editorial 2200
369 Replicating Processes constructive algorithms greedy Statement B VK Cup 2015 - Finals, online mirror {566} PROGRAMMING Editorial for VK Cup 2015 — Finals 2600
16850 Simple Game constructive algorithms games greedy implementation math Statement B Codeforces Round 316 (Div. 2) {570} PROGRAMMING Codeforces Round #316 Editorial 1300
718 CNF 2 constructive algorithms dfs and similar graphs greedy Statement C Codeforces Round 317 [AimFund Thanks-Round] (Div. 1) {571} PROGRAMMING Codeforces Round #317 [AimFund Thanks-Round] Editorial 2600
1915 Invariance of Tree constructive algorithms dfs and similar greedy trees Statement B Codeforces Round 319 (Div. 1) {576} PROGRAMMING Editorial Codeforces Round #319 2300
4152 Points on Plane constructive algorithms divide and conquer geometry greedy sortings Statement C Codeforces Round 319 (Div. 1) {576} PROGRAMMING Editorial Codeforces Round #319 2300
674 Walking! constructive algorithms greedy Statement E Codeforces Round 320 (Div. 1) [Bayan Thanks-Round] {578} PROGRAMMING Codeforces Round #320 [Bayan Thanks-Round] Editorial 2500
8332 GCD Table constructive algorithms greedy number theory Statement A Codeforces Round 323 (Div. 1) {582} PROGRAMMING Codeforces Round #323 Editorial 1700
6528 Marina and Vasya constructive algorithms greedy strings Statement C Codeforces Round 324 (Div. 2) {584} PROGRAMMING Tutorial 1700
1489 Anton and Ira constructive algorithms greedy math Statement E Codeforces Round 324 (Div. 2) {584} PROGRAMMING Tutorial 2400
7050 Make Palindrome constructive algorithms greedy strings Statement C Educational Codeforces Round 2 {600} PROGRAMMING Editorial 1800
7573 Sorting Railway Cars constructive algorithms greedy Statement A Codeforces Round 335 (Div. 1) {605} PROGRAMMING Codeforces Round #335 Problem Analysis 1600
11437 War of the Corporations constructive algorithms greedy strings Statement B Codeforces Round 342 (Div. 2) {625} PROGRAMMING Codeforces Round #342 (Div. 2) : editorial 1300
433 Дефрагментация памяти constructive algorithms greedy implementation Statement D Технокубок 2016 - Отборочный Раунд 2 {649} PROGRAMMING 2000.0 1600
1713 International Olympiad constructive algorithms greedy implementation math Statement D CROC 2016 - Final Round [Private, For Onsite Finalists Only] {662} PROGRAMMING Editorial for CROC 2016 Finals and Codeforces Round #347 2000
3781 Rebus constructive algorithms expression parsing greedy math Statement A Codeforces Round 347 (Div. 1) {663} PROGRAMMING Editorial for CROC 2016 Finals and Codeforces Round #347 1800
4164 Simple Subset constructive algorithms greedy number theory Statement D Educational Codeforces Round 12 {665} PROGRAMMING Editorial 2000
18604 Holidays brute force constructive algorithms greedy math Statement A Codeforces Round 350 (Div. 2) {670} PROGRAMMING Codeforces Round #350 (Div.2) Editorial 1000
3855 Money Transfers constructive algorithms data structures greedy sortings Statement C Codeforces Round 353 (Div. 2) {675} PROGRAMMING Tutorial 2000
9581 Heap Operations constructive algorithms data structures greedy Statement C Codeforces Round 357 (Div. 2) {681} PROGRAMMING 45425 1600
9794 Letters Cyclic Shift constructive algorithms greedy implementation strings Statement A AIM Tech Round 3 (Div. 1) {708} PROGRAMMING Editorial 1200
3437 Recover the String constructive algorithms greedy implementation math Statement B AIM Tech Round 3 (Div. 1) {708} PROGRAMMING Editorial 1900
2483 Maxim and Array constructive algorithms data structures greedy math Statement D Codeforces Round 374 (Div. 2) {721} PROGRAMMING Codeforces Round #374 (Div. 2) Editorial 2000
2248 One-Way Reform constructive algorithms dfs and similar flows graphs greedy Statement E Codeforces Round 375 (Div. 2) {723} PROGRAMMING Codeforces Round #375 (Div.2) Editorial 2300
2070 T-shirts Distribution constructive algorithms flows greedy Statement D Technocup 2017 - Elimination Round 1 (Unofficially Open for Everyone, Rated for Div. 2) {727} PROGRAMMING Tutorial 1800
4074 Sea Battle constructive algorithms greedy math Statement D Technocup 2017 - Elimination Round 2 {729} PROGRAMMING 1700
2386 Subordinates constructive algorithms data structures graphs greedy sortings Statement E Technocup 2017 - Elimination Round 2 {729} PROGRAMMING Technocup 2017 — Elimination Round 2 (and Codeforces Round 380) Editorial 2000
8334 Coupons and Discounts constructive algorithms greedy Statement B Codeforces Round 376 (Div. 2) {731} PROGRAMMING 47840 1200
10157 Sanatorium binary search constructive algorithms greedy implementation math Statement C Codeforces Round 377 (Div. 2) {732} PROGRAMMING Codeforces Round #377 (Div. 2) Editorial 1300
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
7958 Tennis Championship combinatorics constructive algorithms greedy math Statement C Codeforces Round 382 (Div. 2) {735} PROGRAMMING Codeforces Round #382 Editorial 1700
204 Chess Championship constructive algorithms flows greedy math Statement E Codeforces Round 382 (Div. 1) {736} PROGRAMMING 48659 2800
8435 Alyona and mex constructive algorithms greedy Statement A Codeforces Round 381 (Div. 1) {739} PROGRAMMING 48582 1600
11720 Vladik and flights constructive algorithms greedy implementation Statement A Codeforces Round 384 (Div. 2) {743} PROGRAMMING Codeforces Round #384 Editorial 1200
5361 Green and Black Tea constructive algorithms greedy math Statement D Codeforces Round 386 (Div. 2) {746} PROGRAMMING Codeforces Round #386 (Div.2) Editorial 1500
2044 Santa Claus and a Palindrome constructive algorithms data structures greedy Statement D Technocup 2017 - Elimination Round 3 {748} PROGRAMMING Codeforces Round 389 (Div.2) Editorial 2000
9362 Lesha and array splitting constructive algorithms greedy implementation Statement A Codeforces Round 390 (Div. 2) {754} PROGRAMMING Editorial 1300
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
4196 Dasha and Very Difficult Problem binary search brute force constructive algorithms greedy sortings Statement D Codeforces Round 394 (Div. 2) {761} PROGRAMMING Codeforces Round #394 (Div. 2) [Editorial] 1700
2367 Dasha and Puzzle constructive algorithms dfs and similar graphs greedy trees Statement E Codeforces Round 394 (Div. 2) {761} PROGRAMMING Codeforces Round #394 (Div. 2) [Editorial] 2000
38252 Mahmoud and a Triangle constructive algorithms geometry greedy math number theory sortings Statement B Codeforces Round 396 (Div. 2) {766} PROGRAMMING Codeforces round #396 editorial 1100
7180 Bear and Different Names constructive algorithms greedy Statement B VK Cup 2017 - Round 1 {771} PROGRAMMING VK Cup 2017 Round 1 and CF Round 405 — Editorial 1500
994 Prairie Partition binary search constructive algorithms greedy math Statement C VK Cup 2017 - Round 3 {773} PROGRAMMING VK Cup 2017 Round 3 + Codeforces Round #412 -- Tutorial 2300
4369 Maximum Number *special constructive algorithms greedy Statement C VK Cup 2017 - Wild Card Round 1 {774} PROGRAMMING VK Cup 2017 — Уайлд-кард раунд 1 — Разбор 1200
12749 Dishonest Sellers constructive algorithms greedy sortings Statement C Codeforces Round 402 (Div. 2) {779} PROGRAMMING Codeforces Round #402, Editorial 1200
11179 Valued Keys constructive algorithms greedy strings Statement B Codeforces Round 409 (rated, Div. 2, based on VK Cup 2017 Round 2) {801} PROGRAMMING 1000
5797 Maximal GCD constructive algorithms greedy math Statement C Educational Codeforces Round 20 {803} PROGRAMMING 51768 2000
16475 Find Amir constructive algorithms greedy math Statement A Codeforces Round 411 (Div. 1) {804} PROGRAMMING Codeforces Round #411 Editorial 1100
1926 Ice cream coloring constructive algorithms dfs and similar greedy Statement C Codeforces Round 411 (Div. 1) {804} PROGRAMMING Codeforces Round #411 Editorial 2200
6968 Tea Party constructive algorithms greedy sortings Statement C Educational Codeforces Round 21 {808} PROGRAMMING 52010 1500
11034 An abandoned sentiment from past constructive algorithms greedy implementation sortings Statement A Codeforces Round 418 (Div. 2) {814} PROGRAMMING Codeforces Round #418 (Div. 2) Editorial 1000
3686 High Load constructive algorithms greedy implementation trees Statement B Codeforces Round 423 (Div. 1, rated, based on VK Cup Finals) {827} PROGRAMMING Codeforces Round #423 Analysis 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
7951 Buy Low Sell High constructive algorithms data structures greedy Statement D MemSQL Start[c]UP 3.0 - Round 2 (onsite finalists) {865} PROGRAMMING MemSQL Start[c]UP 3.0 Round 2 Editorial 2300
1212 Road Widening constructive algorithms greedy implementation Statement K 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) {883} PROGRAMMING 2100
421 Berland Army constructive algorithms graphs greedy Statement B 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) {883} PROGRAMMING 2800
3237 Gluttony constructive algorithms greedy Statement B Codeforces Round 446 (Div. 1) {891} PROGRAMMING Codeforces Round #446 Editorial 2000
2294 Ithea Plays With Chtholly binary search constructive algorithms games greedy interactive Statement B Codeforces Round 449 (Div. 1) {896} PROGRAMMING Codeforces Round #449 Editorial 2000
4860 Squares and not squares constructive algorithms greedy Statement E Codeforces Round 451 (Div. 2) {898} PROGRAMMING Codeforces Round #451 (Div.2) Editorial 1600
11091 Splitting in Teams constructive algorithms greedy math Statement A Codeforces Round 452 (Div. 2) {899} PROGRAMMING Codeforces Round #452 (Div.2) Editorial 900
2158 Minimum Sum constructive algorithms greedy math Statement C Testing Round 14 (Unrated) {910} PROGRAMMING 1700
2847 Stack Sorting constructive algorithms data structures greedy implementation Statement E Educational Codeforces Round 35 (Rated for Div. 2) {911} PROGRAMMING 2000
2261 Tree Destruction constructive algorithms dfs and similar graphs greedy trees Statement F Educational Codeforces Round 35 (Rated for Div. 2) {911} PROGRAMMING T 2500
742 Divisibility constructive algorithms dp greedy number theory Statement F Codeforces Round 461 (Div. 2) {922} PROGRAMMING 57605 2500
3262 Mahmoud and Ehab and another array construction task constructive algorithms greedy math number theory Statement D Codeforces Round 473 (Div. 2) {959} PROGRAMMING Codeforces round #473 editorial 2000
4098 Subsequence Counting bitmasks constructive algorithms greedy implementation Statement C Divide by Zero 2018 and Codeforces Round 474 (Div. 1 + Div. 2, combined) {960} PROGRAMMING Divide by Zero 2018 and Codeforces Round #474 (Div. 1 + Div. 2, combined) Editorial 1700
8026 Students in Railway Carriage constructive algorithms greedy implementation Statement B Educational Codeforces Round 42 (Rated for Div. 2) {962} PROGRAMMING Educational Codeforces Round 42 Editorial 1300
1140 Byteland, Berland and Disputed Cities constructive algorithms greedy Statement E Educational Codeforces Round 42 (Rated for Div. 2) {962} PROGRAMMING Educational Codeforces Round 42 Editorial 2200
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
9929 Sonya and Exhibition constructive algorithms greedy implementation math Statement B Codeforces Round 495 (Div. 2) {1004} PROGRAMMING 60443 1400
6625 Relatively Prime Graph brute force constructive algorithms graphs greedy math Statement D Educational Codeforces Round 47 (Rated for Div. 2) {1009} PROGRAMMING 60630 1700
8929 Walking Between Houses constructive algorithms greedy Statement D Codeforces Round 501 (Div. 3) {1015} PROGRAMMING 60949 1600
6452 The Phone Number constructive algorithms greedy Statement C Codeforces Round 502 (in memory of Leopoldo Taravilse, Div. 1 + Div. 2) {1017} PROGRAMMING Разбор (англ.) 1600
11815 Packets constructive algorithms greedy math Statement A Manthan, Codefest 18 (rated, Div. 1 + Div. 2) {1037} PROGRAMMING Tutorial 1300
851 Timetable constructive algorithms data structures greedy math Statement A Codeforces Round 507 (Div. 1, based on Olympiad of Metropolises) {1039} PROGRAMMING 61668 2400
3850 Tree Reconstruction constructive algorithms data structures graphs greedy Statement E Codeforces Round 509 (Div. 2) {1041} PROGRAMMING Codeforces Round #509 (Div. 2) Editorial 1900
4966 Array Product constructive algorithms greedy math Statement C Codeforces Round 510 (Div. 2) {1042} PROGRAMMING Tutorial 1700
7216 Smallest Word constructive algorithms greedy implementation Statement C Codeforces Round 519 by Botan Investments {1043} PROGRAMMING Codeforces Round #519 Editorial 1500
3458 Train Hard, Win Easy constructive algorithms greedy math sortings Statement E Codeforces Round 519 by Botan Investments {1043} PROGRAMMING Codeforces Round #519 Editorial 1900
449 New Road Network constructive algorithms greedy math Statement G Mail.Ru Cup 2018 Round 1 {1054} PROGRAMMING Editorial 2900
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
2814 Missing Numbers binary search constructive algorithms greedy math number theory Statement E Avito Cool Challenge 2018 {1081} PROGRAMMING 63888 1900
8512 Ehab and a 2-operation task constructive algorithms greedy math Statement C Codeforces Round 525 (Div. 2) {1088} PROGRAMMING Codeforces round #525 editorial 1400
11005 New Year and the Treasure Geolocation brute force constructive algorithms greedy implementation Statement B Good Bye 2018 {1091} PROGRAMMING Editorial 1200
890 New Year and the Mallard Expedition constructive algorithms greedy Statement F Good Bye 2018 {1091} PROGRAMMING Editorial 2600
1978 Minimal Diameter Forest constructive algorithms dfs and similar greedy trees Statement E Codeforces Round 527 (Div. 3) {1092} PROGRAMMING Codeforces Round #527 (Div. 3) Editorial 2500
17672 Letters Rearranging constructive algorithms greedy sortings strings Statement B Educational Codeforces Round 56 (Rated for Div. 2) {1093} PROGRAMMING 63877 900
533 Egor and an RPG game constructive algorithms greedy Statement E Hello 2019 {1097} PROGRAMMING 64310 3100
9534 Sum in the tree constructive algorithms dfs and similar greedy trees Statement A Codeforces Round 530 (Div. 1) {1098} PROGRAMMING 64331 1600
1161 Construct a tree binary search constructive algorithms dfs and similar graphs greedy trees Statement C Codeforces Round 530 (Div. 1) {1098} PROGRAMMING 64331 2300
1796 Nice table brute force constructive algorithms greedy math Statement B Codeforces Round 530 (Div. 1) {1098} PROGRAMMING 64331 2300
16443 Diverse Garland constructive algorithms dp greedy Statement D Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1400
9389 Yet Another Array Partitioning Task constructive algorithms greedy sortings Statement B Codeforces Round 538 (Div. 2) {1114} PROGRAMMING Codeforces Round #538 (Div. 2) Editorial 1500
7174 Ramesses and Corner Inversion constructive algorithms greedy implementation math Statement C Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 1500
480 Once in a casino constructive algorithms greedy implementation math Statement B Codeforces Round 543 (Div. 1, based on Technocup 2019 Final Round) {1120} PROGRAMMING Разбор задач финала Технокубка 2019 и Codeforces Round #543 2700
3797 Spanning Tree with One Fixed Degree constructive algorithms dfs and similar dsu graphs greedy Statement F2 Codeforces Round 544 (Div. 3) {1133} PROGRAMMING Codeforces Round #544 (Div. 3) Editorial 2200
2542 Privatization of Roads in Treeland binary search constructive algorithms dfs and similar graphs greedy trees Statement G Codeforces Round 547 (Div. 3) {1141} PROGRAMMING 66062 2500
10825 Equalize Them All constructive algorithms greedy Statement D Codeforces Round 550 (Div. 3) {1144} PROGRAMMING 66307 1400
1819 Earth Wind and Fire constructive algorithms greedy math sortings two pointers Statement E Codeforces Global Round 3 {1148} PROGRAMMING Codeforces Global Round 3 Editorial 2300
17778 Prefix Sum Primes constructive algorithms greedy math number theory Statement A Codeforces Round 556 (Div. 1) {1149} PROGRAMMING 66783 1300
9399 Serval and Toy Bricks constructive algorithms greedy Statement B Codeforces Round 551 (Div. 2) {1153} PROGRAMMING Editorial 1200
3991 N Problems During K Days constructive algorithms greedy math Statement D Codeforces Round 555 (Div. 3) {1157} PROGRAMMING 66737 2100
2877 Maximum Balanced Circle constructive algorithms dp greedy two pointers Statement F Codeforces Round 555 (Div. 3) {1157} PROGRAMMING 66737 2300
8308 The Party and Sweets binary search constructive algorithms greedy implementation math sortings two pointers Statement A Codeforces Round 559 (Div. 1) {1158} PROGRAMMING 66993 1500
2114 Permutation recovery constructive algorithms data structures dfs and similar graphs greedy math sortings Statement C Codeforces Round 559 (Div. 1) {1158} PROGRAMMING 66993 2300
927 Winding polygonal line constructive algorithms geometry greedy math Statement D Codeforces Round 559 (Div. 1) {1158} PROGRAMMING 66993 2800
7366 Bicolored RBS constructive algorithms greedy Statement D Educational Codeforces Round 65 (Rated for Div. 2) {1167} PROGRAMMING 67058 1500
9438 Nauuo and Chess constructive algorithms greedy Statement B Codeforces Round 564 (Div. 2) {1173} PROGRAMMING Codeforces Round #564 Editorial 1100
19186 Ehab Fails to Be Thanos constructive algorithms greedy sortings Statement A Codeforces Round 563 (Div. 2) {1174} PROGRAMMING Codeforces round #563 editorial 1000
7903 Prime Graph constructive algorithms greedy math number theory Statement D Codeforces Global Round 4 {1178} PROGRAMMING E 1600
4502 Archaeology brute force constructive algorithms greedy strings Statement E Codeforces Global Round 4 {1178} PROGRAMMING E 1900
9303 Vus the Cossack and Numbers constructive algorithms greedy math Statement D Codeforces Round 571 (Div. 2) {1186} PROGRAMMING E 1600
6753 Vasya And Array constructive algorithms greedy implementation Statement C Educational Codeforces Round 67 (Rated for Div. 2) {1187} PROGRAMMING Разбор Educational Codeforces Round 67 1800
4045 Matching vs Independent Set constructive algorithms graphs greedy sortings Statement C Codeforces Round 576 (Div. 1) {1198} PROGRAMMING E 2200
14695 Almost Equal constructive algorithms greedy math Statement A Codeforces Round 580 (Div. 1) {1205} PROGRAMMING 69158 1300
13749 Square Filling constructive algorithms greedy implementation Statement B Educational Codeforces Round 71 (Rated for Div. 2) {1207} PROGRAMMING Educational Codeforces Round 71 Editorial 1200
7852 Paint the Digits constructive algorithms greedy implementation Statement C Codeforces Round 584 - Dasha Code Championship - Elimination Round (rated, open for everyone, Div. 1 + Div. 2) {1209} PROGRAMMING 69791 1600
11923 Swap Letters constructive algorithms greedy Statement C Codeforces Round 585 (Div. 2) {1215} PROGRAMMING Codeforces Round #585 Editorial 1500
12514 Knights constructive algorithms greedy Statement B Educational Codeforces Round 73 (Rated for Div. 2) {1221} PROGRAMMING Разбор Educational Codeforces Round 73 1100
990 Tree Factory constructive algorithms greedy trees Statement F Technocup 2020 - Elimination Round 2 {1225} PROGRAMMING 70898 2500
658 To Make 1 bitmasks constructive algorithms dp greedy number theory Statement G Technocup 2020 - Elimination Round 2 {1225} PROGRAMMING 70898 3000
932 Middle-Out constructive algorithms greedy strings Statement E Dasha Code Championship - Novosibirsk Finals Round (only for onsite-finalists) {1231} PROGRAMMING Dasha Code Championship Finals and Mirror Round 588 Editorial 2000
10542 Labs constructive algorithms greedy implementation Statement C Codeforces Round 593 (Div. 2) {1236} PROGRAMMING 70654 1300
6297 Balanced Removals (Easier) constructive algorithms geometry greedy Statement C1 Codeforces Global Round 5 {1237} PROGRAMMING T 1600
4532 Balanced Removals (Harder) binary search constructive algorithms divide and conquer greedy implementation sortings Statement C2 Codeforces Global Round 5 {1237} PROGRAMMING T 1900
6385 Minimizing Difference binary search constructive algorithms greedy sortings ternary search two pointers Statement E Codeforces Round 592 (Div. 2) {1244} PROGRAMMING Codeforces Round #592 (Div. 2) Tutorial 2000
1519 Running in Pairs constructive algorithms greedy math Statement G Codeforces Round 592 (Div. 2) {1244} PROGRAMMING Codeforces Round #592 (Div. 2) Tutorial 2500
14515 Restricted RPS constructive algorithms dp greedy Statement B Codeforces Round 597 (Div. 2) {1245} PROGRAMMING Codeforces Round #597 (Div. 2) Editorial 1200
2798 The Feast and the Bus brute force constructive algorithms greedy math Statement B 2019-2020 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Teams Preferred) {1250} PROGRAMMING 1900
10229 Harmonious Graph constructive algorithms dfs and similar dsu graphs greedy sortings Statement D Codeforces Round 600 (Div. 2) {1253} PROGRAMMING Editorial 1700
5512 Feeding Chicken constructive algorithms greedy implementation Statement A Codeforces Round 601 (Div. 1) {1254} PROGRAMMING Codeforces Round #601 Editorial 1900
5004 Send Boxes to Alice (Easy Version) constructive algorithms greedy math number theory ternary search two pointers Statement B1 Codeforces Round 601 (Div. 1) {1254} PROGRAMMING Codeforces Round #601 Editorial 2000
3416 Send Boxes to Alice (Hard Version) constructive algorithms greedy math number theory ternary search two pointers Statement B2 Codeforces Round 601 (Div. 1) {1254} PROGRAMMING Codeforces Round #601 Editorial 2100
6044 Beautiful Sequence brute force constructive algorithms greedy Statement B Codeforces Round 604 (Div. 1) {1264} PROGRAMMING 71995 1900
15923 Beautiful String constructive algorithms greedy Statement A Codeforces Round 604 (Div. 2) {1265} PROGRAMMING Codeforces Round #604 Editorial 1000
10053 Diverse Matrix constructive algorithms greedy math number theory Statement C Codeforces Global Round 6 {1266} PROGRAMMING Codeforces Global Round 6 Editorial 1400
3868 Decreasing Debts constructive algorithms data structures graphs greedy implementation math two pointers Statement D Codeforces Global Round 6 {1266} PROGRAMMING Codeforces Global Round 6 Editorial 2000
9060 Long Beautiful Integer constructive algorithms greedy implementation strings Statement A Codeforces Round 609 (Div. 1) {1268} PROGRAMMING Codeforces Round #609 — Editorial 1700
17341 Interesting Subarray constructive algorithms greedy math Statement B Good Bye 2019 {1270} PROGRAMMING Разбор Goodbye 2019 1300
14667 Snow Walking Robot constructive algorithms greedy implementation Statement B Codeforces Round 605 (Div. 3) {1272} PROGRAMMING Codeforces Round #605 (Div. 3) Editorial 1200
1776 Beautiful Rectangle brute force combinatorics constructive algorithms data structures greedy math Statement C Codeforces Round 606 (Div. 1, based on Technocup 2020 Elimination Round 4) {1276} PROGRAMMING Technocup 2020 — Elimination Round 4 + Codeforces Round 606: Editorial 2300
2034 DIY Garland constructive algorithms greedy trees Statement F Codeforces Round 611 (Div. 3) {1283} PROGRAMMING Codeforces Round #611 (Div. 3) Editorial 2400
5454 Numbers on Tree constructive algorithms data structures dfs and similar graphs greedy trees Statement B Codeforces Round 612 (Div. 1) {1286} PROGRAMMING Codeforces Round #612 - Editorial 2000
6759 Aroma's Search brute force constructive algorithms geometry greedy implementation Statement B Codeforces Round 614 (Div. 1) {1292} PROGRAMMING 750.0 Codeforces Round #614 Editorial 1800
462 Rin and The Unknown Flower constructive algorithms greedy interactive math Statement E Codeforces Round 614 (Div. 1) {1292} PROGRAMMING 2250.0 Codeforces Round #614 Editorial 3500
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
3086 Berland Beauty constructive algorithms dfs and similar greedy sortings trees Statement F Codeforces Round 617 (Div. 3) {1296} PROGRAMMING Codeforces Round #617 (Div. 3) Editorial 2400
18743 Longest Palindrome brute force constructive algorithms greedy implementation strings Statement B Codeforces Round 620 (Div. 2) {1304} PROGRAMMING 1000.0 Codeforces Round #620 (Div. 2) Editorial 1100
6678 Shortest and Longest LIS constructive algorithms graphs greedy two pointers Statement D Codeforces Round 620 (Div. 2) {1304} PROGRAMMING 1750.0 Codeforces Round #620 (Div. 2) Editorial 1800
12348 Kuroni and Simple Strings constructive algorithms greedy strings two pointers Statement B Ozon Tech Challenge 2020 (Div.1 + Div.2, Rated, T-shirts + prizes!) {1305} PROGRAMMING 1000.0 Ozon Tech Challenge 2020 Editorial 1300
3265 Kuroni and the Score Distribution constructive algorithms greedy implementation math Statement E Ozon Tech Challenge 2020 (Div.1 + Div.2, Rated, T-shirts + prizes!) {1305} PROGRAMMING 2000.0 Ozon Tech Challenge 2020 Editorial 2100
14639 Kuroni and the Gifts brute force constructive algorithms greedy sortings Statement A Ozon Tech Challenge 2020 (Div.1 + Div.2, Rated, T-shirts + prizes!) {1305} PROGRAMMING 500.0 Ozon Tech Challenge 2020 Editorial 800
7006 Different Rules binary search constructive algorithms greedy implementation math Statement B Codeforces Round 622 (Div. 2) {1313} PROGRAMMING 1000.0 Editorial 1700
17032 Ehab and Path-etic MEXs constructive algorithms dfs and similar greedy trees Statement C Codeforces Round 628 (Div. 2) {1325} PROGRAMMING 1250.0 74235 1500
13553 Ehab the Xorcist bitmasks constructive algorithms greedy number theory Statement D Codeforces Round 628 (Div. 2) {1325} PROGRAMMING 1750.0 74235 1700
2319 Ehab's Last Theorem constructive algorithms dfs and similar graphs greedy Statement F Codeforces Round 628 (Div. 2) {1325} PROGRAMMING 2750.0 74235 2600
46052 EhAb AnD gCd constructive algorithms greedy number theory Statement A Codeforces Round 628 (Div. 2) {1325} PROGRAMMING 500.0 74235 800
9656 Dreamoon Likes Coloring constructive algorithms greedy implementation math Statement A Codeforces Round 631 (Div. 1) - Thanks, Denis aramis Shitov! {1329} PROGRAMMING 500.0 Codeforces Round #631 Editorial 1800
1802 Drazil Likes Heap constructive algorithms data structures greedy implementation sortings Statement C Codeforces Round 631 (Div. 1) - Thanks, Denis aramis Shitov! {1329} PROGRAMMING 1500.0 Codeforces Round #631 Editorial 2400
18917 Composite Coloring brute force constructive algorithms greedy math number theory Statement B Codeforces Round 630 (Div. 2) {1332} PROGRAMMING 1000.0 Codeforces Round #630 Editorial 1500
4128 Challenges in school №41 brute force constructive algorithms games graphs greedy implementation sortings Statement D Codeforces Round 632 (Div. 2) {1333} PROGRAMMING 1750.0 Codeforces Round #632 (Div. 2) editorial
17883 Circle of Monsters brute force constructive algorithms greedy math Statement C Educational Codeforces Round 85 (Rated for Div. 2) {1334} PROGRAMMING Educational Codeforces Round 85 Editorial
7718 Minimum Euler Cycle constructive algorithms graphs greedy implementation Statement D Educational Codeforces Round 85 (Rated for Div. 2) {1334} PROGRAMMING Educational Codeforces Round 85 Editorial
3436 Perfect Triples bitmasks brute force constructive algorithms divide and conquer greedy implementation math Statement C Codeforces Round 633 (Div. 1) {1338} PROGRAMMING 1500.0 Editorial
9502 Edge Weight Assignment bitmasks constructive algorithms greedy math trees Statement B Codeforces Round 633 (Div. 1) {1338} PROGRAMMING 1000.0 Editorial
6362 Multiple Testcases binary search constructive algorithms data structures greedy sortings two pointers Statement D Educational Codeforces Round 86 (Rated for Div. 2) {1342} PROGRAMMING 76633 1900
1392 Restore the Permutation by Sorted Segments brute force constructive algorithms data structures greedy implementation Statement F Codeforces Round 636 (Div. 3) {1343} PROGRAMMING 76352 2800
27432 Phoenix and Beauty constructive algorithms data structures greedy Statement B Codeforces Round 638 (Div. 2) {1348} PROGRAMMING 1000.0 Codeforces Round #638 (Div. 2) Editorial 1400
15469 Phoenix and Distribution constructive algorithms greedy strings Statement C Codeforces Round 638 (Div. 2) {1348} PROGRAMMING 1500.0 Codeforces Round #638 (Div. 2) Editorial 1600
9335 Phoenix and Science binary search bitmasks constructive algorithms greedy math Statement D Codeforces Round 638 (Div. 2) {1348} PROGRAMMING 2000.0 Codeforces Round #638 (Div. 2) Editorial 1900
8929 Orac and Medians constructive algorithms greedy math Statement B Codeforces Round 641 (Div. 1) {1349} PROGRAMMING 1250.0 Codeforces Round #641 Editorial 2000
120 Slime and Hats constructive algorithms dp greedy Statement E Codeforces Round 641 (Div. 1) {1349} PROGRAMMING 2500.0 Codeforces Round #641 Editorial 3500