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
17991 Longest Regular Bracket Sequence constructive algorithms data structures dp greedy sortings strings Statement C Codeforces Beta Round 5 {5} PROGRAMMING C, D и E с CBR5 - разбор 1900
916 Tricky and Clever Password binary search constructive algorithms data structures greedy hashing strings Statement E Codeforces Beta Round 30 (Codeforces format) {30} PROGRAMMING Codeforces Beta Round #30. Tutorial for problem A 2700
745 Team Arrangement constructive algorithms greedy implementation Statement D Codeforces Beta Round 55 (Div. 2) {59} PROGRAMMING 2200
451 Tetris revisited constructive algorithms graph matchings greedy math Statement B Yandex.Algorithm 2011: Round 2 {86} PROGRAMMING Problemset analysis (Yandex, Round 2) 2100
2720 Queue constructive algorithms greedy sortings Statement C Codeforces Round 101 (Div. 2) {141} PROGRAMMING Codeforces Round #101 (Div. 2) Разбор Задач. 1800
2396 Help General constructive algorithms greedy implementation Statement B Codeforces Round 102 (Div. 1) {142} PROGRAMMING Codeforces Round #102 — Editorial 1900
2085 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
605 Hamming Distance constructive algorithms greedy math matrices Statement C Codeforces Round 122 (Div. 1) {193} PROGRAMMING Editoral Codeforces Round #122 2400
5344 Hometask brute force constructive algorithms greedy math Statement B Codeforces Round 131 (Div. 2) {214} PROGRAMMING Codeforces Round #131 Tutorial 1600
10217 Buggy Sorting constructive algorithms greedy sortings Statement A Codeforces Round 151 (Div. 2) {246} PROGRAMMING Codeforces Round #151 (Div. 2) Tutorial 1000
3226 Balls and Boxes constructive algorithms greedy implementation Statement C Codeforces Round 158 (Div. 2) {260} PROGRAMMING Codeforces Round #158 (Div. 2) Tutorial 1700
1663 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
1429 Below the Diagonal constructive algorithms greedy math Statement C Codeforces Round 163 (Div. 2) {266} PROGRAMMING Codeforces Round #163 (Div. 2) Tutorial 2000
5934 Ilya and Matrix constructive algorithms greedy implementation sortings Statement C Codeforces Round 186 (Div. 2) {313} PROGRAMMING Tutorial 1400
9344 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
8751 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
2431 Two Heaps combinatorics constructive algorithms greedy implementation math sortings Statement B Codeforces Round 205 (Div. 2) {353} PROGRAMMING 9145 1800
1396 Compartments combinatorics constructive algorithms greedy implementation Statement C Codeforces Round 207 (Div. 1) {356} PROGRAMMING Codeforces Round #207: разбор задач 2200
2278 Dima and Containers constructive algorithms greedy implementation Statement C Codeforces Round 208 (Div. 2) {358} PROGRAMMING Codeforces Round #208 (Div. 2) Разбор 2000
9126 Table constructive algorithms greedy implementation Statement A Codeforces Round 209 (Div. 2) {359} PROGRAMMING Editorial Codeforces Round #209 (Div. 2) 1100
1715 Mittens constructive algorithms greedy sortings Statement C Codeforces Round 217 (Div. 2) {370} PROGRAMMING Codeforces Round #217 (Div. 2): tutorial 1800
704 Broken Monitor brute force constructive algorithms greedy implementation Statement D Codeforces Round 217 (Div. 2) {370} PROGRAMMING Codeforces Round #217 (Div. 2): tutorial 2100
21665 Team constructive algorithms greedy implementation Statement C Codeforces Round 235 (Div. 2) {401} PROGRAMMING Codeforces Round #235 (Div. 2) — Tutorial 1400
1030 Guess the Tree bitmasks constructive algorithms dp greedy trees Statement C Codeforces Round 245 (Div. 1) {429} PROGRAMMING Codeforces Round #245 — Editorial 2400
8395 24 Game constructive algorithms greedy math Statement A Codeforces Round 268 (Div. 1) {468} PROGRAMMING 13896 1600
5026 Dreamoon and Sets constructive algorithms greedy math Statement D Codeforces Round 272 (Div. 2) {476} PROGRAMMING Editorial 2000
41131 Random Teams combinatorics constructive algorithms greedy math Statement B Codeforces Round 273 (Div. 2) {478} PROGRAMMING Editorial 1300
8421 Towers brute force constructive algorithms greedy implementation sortings Statement B Codeforces Round 274 (Div. 2) {479} PROGRAMMING Codeforces Round #274: editorial 1400
6032 New Year Book Reading constructive algorithms greedy implementation math Statement C Good Bye 2014 {500} PROGRAMMING Tutorial 2 1600
6056 Misha and Forest constructive algorithms data structures greedy sortings trees Statement C Codeforces Round 285 (Div. 2) {501} PROGRAMMING Tutorial 1700
9986 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
10214 Pasha and String constructive algorithms greedy math strings Statement B Codeforces Round 297 (Div. 2) {525} PROGRAMMING Codeforces Round #297 (Div.2) Editorial 1500
1996 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
2429 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
394 Berland Local Positioning System constructive algorithms greedy hashing implementation Statement E Codeforces Round 298 (Div. 2) {534} PROGRAMMING 2600
19318 Quasi Binary constructive algorithms dp greedy implementation Statement B Codeforces Round 300 {538} PROGRAMMING Codeforces Round #300 Editorial (+challenges) 1400
2654 Happy Line constructive algorithms greedy sortings Statement G Looksery Cup 2015 {549} PROGRAMMING Looksery Cup 2015 Editorial 2200
1499 Brackets in Implications constructive algorithms greedy implementation math Statement E Codeforces Round 306 (Div. 2) {550} PROGRAMMING Codeforces Round #306 (Div. 2) Editorial 2300
2265 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
16864 Simple Game constructive algorithms games greedy implementation math Statement B Codeforces Round 316 (Div. 2) {570} PROGRAMMING Codeforces Round #316 Editorial 1300
1917 Invariance of Tree constructive algorithms dfs and similar greedy trees Statement B Codeforces Round 319 (Div. 1) {576} PROGRAMMING Editorial Codeforces Round #319 2300
4155 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
8337 GCD Table constructive algorithms greedy number theory Statement A Codeforces Round 323 (Div. 1) {582} PROGRAMMING Codeforces Round #323 Editorial 1700
6529 Marina and Vasya constructive algorithms greedy strings Statement C Codeforces Round 324 (Div. 2) {584} PROGRAMMING Tutorial 1700
1491 Anton and Ira constructive algorithms greedy math Statement E Codeforces Round 324 (Div. 2) {584} PROGRAMMING Tutorial 2400
7052 Make Palindrome constructive algorithms greedy strings Statement C Educational Codeforces Round 2 {600} PROGRAMMING Editorial 1800
11439 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
1715 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
3783 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
4166 Simple Subset constructive algorithms greedy number theory Statement D Educational Codeforces Round 12 {665} PROGRAMMING Editorial 2000
18608 Holidays brute force constructive algorithms greedy math Statement A Codeforces Round 350 (Div. 2) {670} PROGRAMMING Codeforces Round #350 (Div.2) Editorial 1000
3856 Money Transfers constructive algorithms data structures greedy sortings Statement C Codeforces Round 353 (Div. 2) {675} PROGRAMMING Tutorial 2000
9796 Letters Cyclic Shift constructive algorithms greedy implementation strings Statement A AIM Tech Round 3 (Div. 1) {708} PROGRAMMING Editorial 1200
3439 Recover the String constructive algorithms greedy implementation math Statement B AIM Tech Round 3 (Div. 1) {708} PROGRAMMING Editorial 1900
2485 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
4077 Sea Battle constructive algorithms greedy math Statement D Technocup 2017 - Elimination Round 2 {729} PROGRAMMING 1700
2389 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
10159 Sanatorium binary search constructive algorithms greedy implementation math Statement C Codeforces Round 377 (Div. 2) {732} PROGRAMMING Codeforces Round #377 (Div. 2) Editorial 1300
3540 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
7961 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
11721 Vladik and flights constructive algorithms greedy implementation Statement A Codeforces Round 384 (Div. 2) {743} PROGRAMMING Codeforces Round #384 Editorial 1200
5362 Green and Black Tea constructive algorithms greedy math Statement D Codeforces Round 386 (Div. 2) {746} PROGRAMMING Codeforces Round #386 (Div.2) Editorial 1500
9364 Lesha and array splitting constructive algorithms greedy implementation Statement A Codeforces Round 390 (Div. 2) {754} PROGRAMMING Editorial 1300
2935 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
4197 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
2368 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
38265 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
996 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
12750 Dishonest Sellers constructive algorithms greedy sortings Statement C Codeforces Round 402 (Div. 2) {779} PROGRAMMING Codeforces Round #402, Editorial 1200
11189 Valued Keys constructive algorithms greedy strings Statement B Codeforces Round 409 (rated, Div. 2, based on VK Cup 2017 Round 2) {801} PROGRAMMING 1000
5798 Maximal GCD constructive algorithms greedy math Statement C Educational Codeforces Round 20 {803} PROGRAMMING 51768 2000
16478 Find Amir constructive algorithms greedy math Statement A Codeforces Round 411 (Div. 1) {804} PROGRAMMING Codeforces Round #411 Editorial 1100
6970 Tea Party constructive algorithms greedy sortings Statement C Educational Codeforces Round 21 {808} PROGRAMMING 52010 1500
11036 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
3688 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
462 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
1213 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
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
11092 Splitting in Teams constructive algorithms greedy math Statement A Codeforces Round 452 (Div. 2) {899} PROGRAMMING Codeforces Round #452 (Div.2) Editorial 900
2159 Minimum Sum constructive algorithms greedy math Statement C Testing Round 14 (Unrated) {910} PROGRAMMING 1700
2848 Stack Sorting constructive algorithms data structures greedy implementation Statement E Educational Codeforces Round 35 (Rated for Div. 2) {911} PROGRAMMING 2000
2263 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
3263 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
4100 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
8027 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
2996 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
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
4966 Array Product constructive algorithms greedy math Statement C Codeforces Round 510 (Div. 2) {1042} PROGRAMMING Tutorial 1700
7218 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
2816 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
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
17673 Letters Rearranging constructive algorithms greedy sortings strings Statement B Educational Codeforces Round 56 (Rated for Div. 2) {1093} PROGRAMMING 63877 900
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
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
7175 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
2543 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
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
17792 Prefix Sum Primes constructive algorithms greedy math number theory Statement A Codeforces Round 556 (Div. 1) {1149} PROGRAMMING 66783 1300
3991 N Problems During K Days constructive algorithms greedy math Statement D Codeforces Round 555 (Div. 3) {1157} PROGRAMMING 66737 2100
2880 Maximum Balanced Circle constructive algorithms dp greedy two pointers Statement F Codeforces Round 555 (Div. 3) {1157} PROGRAMMING 66737 2300
8310 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
19187 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
9306 Vus the Cossack and Numbers constructive algorithms greedy math Statement D Codeforces Round 571 (Div. 2) {1186} PROGRAMMING E 1600
6754 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
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
10543 Labs constructive algorithms greedy implementation Statement C Codeforces Round 593 (Div. 2) {1236} PROGRAMMING 70654 1300
4532 Balanced Removals (Harder) binary search constructive algorithms divide and conquer greedy implementation sortings Statement C2 Codeforces Global Round 5 {1237} PROGRAMMING T 1900
6386 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
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
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
9062 Long Beautiful Integer constructive algorithms greedy implementation strings Statement A Codeforces Round 609 (Div. 1) {1268} PROGRAMMING Codeforces Round #609 — Editorial 1700
17344 Interesting Subarray constructive algorithms greedy math Statement B Good Bye 2019 {1270} PROGRAMMING Разбор Goodbye 2019 1300
14671 Snow Walking Robot constructive algorithms greedy implementation Statement B Codeforces Round 605 (Div. 3) {1272} PROGRAMMING Codeforces Round #605 (Div. 3) Editorial 1200
1788 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
5456 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
6760 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
8193 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
3087 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
6679 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
14640 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
17039 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
13554 Ehab the Xorcist bitmasks constructive algorithms greedy number theory Statement D Codeforces Round 628 (Div. 2) {1325} PROGRAMMING 1750.0 74235 1700
46084 EhAb AnD gCd constructive algorithms greedy number theory Statement A Codeforces Round 628 (Div. 2) {1325} PROGRAMMING 500.0 74235 800
9658 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
1803 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
18918 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
4129 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
17886 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
3438 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
9505 Edge Weight Assignment bitmasks constructive algorithms greedy math trees Statement B Codeforces Round 633 (Div. 1) {1338} PROGRAMMING 1000.0 Editorial
6363 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
1395 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
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
9337 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
8934 Orac and Medians constructive algorithms greedy math Statement B Codeforces Round 641 (Div. 1) {1349} PROGRAMMING 1250.0 Codeforces Round #641 Editorial 2000
44518 Most Unstable Array constructive algorithms greedy math Statement A Codeforces Round 642 (Div. 3) {1353} PROGRAMMING Codeforces Round #642 (Div. 3) Editorial 800
1475 Summoning Minions constructive algorithms dp flows graph matchings greedy sortings Statement F Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 2500
2450 Are You Fired? constructive algorithms data structures dp greedy implementation Statement E Codeforces Round 645 (Div. 2) {1358} PROGRAMMING 2000.0 Codeforces Round #645 (Div. 2) Editorial 2400
502 Tasty Cookie binary search constructive algorithms greedy implementation Statement F Codeforces Round 645 (Div. 2) {1358} PROGRAMMING 2500.0 Codeforces Round #645 (Div. 2) Editorial 2700
36663 Similar Pairs constructive algorithms graph matchings greedy sortings Statement C Codeforces Round 644 (Div. 3) {1360} PROGRAMMING Codeforces Round #644 (Div. 3) Editorial 1100
8333 A/B Matrix constructive algorithms flows greedy math number theory Statement G Codeforces Round 644 (Div. 3) {1360} PROGRAMMING Codeforces Round #644 (Div. 3) Editorial 1900
8759 Johnny and Contribution constructive algorithms graphs greedy sortings Statement A Codeforces Round 647 (Div. 1) - Thanks, Algo Muse! {1361} PROGRAMMING 500.0 Codeforces Round #647 Editorial 1700
24944 Rotation Matching constructive algorithms data structures greedy implementation Statement C Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 1250.0 Editorial — Codeforces Round #648 1400
20700 Solve The Maze constructive algorithms dfs and similar dsu graphs greedy implementation shortest paths Statement D Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 1500.0 Editorial — Codeforces Round #648 1700
8769 Task On The Board constructive algorithms greedy implementation sortings Statement D Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
25073 Social Distance constructive algorithms greedy math Statement C Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
21318 Codeforces Subsequences brute force constructive algorithms greedy math strings Statement B Codeforces Global Round 8 {1368} PROGRAMMING 1000.0 Codeforces Global Round 8: editorial
2451 DeadLee constructive algorithms data structures graphs greedy implementation sortings Statement E Codeforces Round 652 (Div. 2) {1369} PROGRAMMING 2500.0 Codeforces Round #652 (Div. 2) Editorial 2400
21354 A Cookie for You constructive algorithms greedy implementation math Statement C Codeforces Round 654 (Div. 2) {1371} PROGRAMMING 1250.0 Codeforces Round #654 (Div. 2) Editorial
13670 Grid-00100 constructive algorithms greedy math Statement D Codeforces Round 654 (Div. 2) {1371} PROGRAMMING 1500.0 Codeforces Round #654 (Div. 2) Editorial
36199 Omkar and Last Class of Math constructive algorithms greedy math number theory Statement B Codeforces Round 655 (Div. 2) {1372} PROGRAMMING 1000.0 Codeforces Round #655 Editorial 1300
2947 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
3369 Inversion SwapSort constructive algorithms greedy sortings Statement E Codeforces Global Round 9 {1375} PROGRAMMING 2000.0 79731
1708 Mastermind constructive algorithms greedy implementation sortings Statement C Codeforces Round 658 (Div. 1) {1381} PROGRAMMING 2000.0 Codeforces Round #658 Editorial 2500
5433 GameGame bitmasks constructive algorithms dp games greedy math Statement B Codeforces Round 659 (Div. 1) {1383} PROGRAMMING 1000.0 Codeforces Round #659 Editorial
759 Rearrange brute force constructive algorithms graphs greedy sortings Statement D Codeforces Round 659 (Div. 1) {1383} PROGRAMMING 1750.0 Codeforces Round #659 Editorial
19599 Common Prefixes constructive algorithms greedy strings Statement A Codeforces Round 659 (Div. 2) {1384} PROGRAMMING 500.0 Codeforces Round #659 Editorial
49653 LCM Problem constructive algorithms greedy math number theory Statement A Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
2392 Omkar and Landslide binary search constructive algorithms greedy math Statement F Codeforces Global Round 10 {1392} PROGRAMMING 2500.0 Codeforces Global Round 10 — Editorial
9749 Omkar and Bed Wars constructive algorithms dp greedy math strings Statement D Codeforces Global Round 10 {1392} PROGRAMMING 1500.0 Codeforces Global Round 10 — Editorial
11043 Pinkie Pie Eats Patty-cakes binary search constructive algorithms data structures greedy math sortings Statement C Codeforces Round 662 (Div. 2) {1393} PROGRAMMING 1500.0 Codeforces Round #662 Editorial
16662 Multiples of Length constructive algorithms greedy number theory Statement A Codeforces Round 666 (Div. 1) {1396} PROGRAMMING 500.0 Codeforces Round #666 — Editorial
18477 Binary String Reconstruction 2-sat constructive algorithms greedy strings Statement C Educational Codeforces Round 94 (Rated for Div. 2) {1400} PROGRAMMING 81942
10505 Maximum Distributed Tree constructive algorithms dfs and similar greedy math number theory sortings trees Statement D Codeforces Round 665 (Div. 2) {1401} PROGRAMMING 1750.0 Codeforces Round #665 (Div. 2) Editorial
21764 Ternary Sequence constructive algorithms greedy math Statement B Codeforces Round 665 (Div. 2) {1401} PROGRAMMING 1000.0 Codeforces Round #665 (Div. 2) Editorial
1886 Egor in the Republic of Dagestan constructive algorithms dfs and similar dp graphs greedy shortest paths Statement E Codeforces Round 669 (Div. 2) {1407} PROGRAMMING 2500.0 Codeforces Round #669 Editorial
10445 Arrays Sum constructive algorithms greedy math Statement B Grakn Forces 2020 {1408} PROGRAMMING 1000.0 Grakn Forces -- Editorial
2711 Grime Zoo constructive algorithms greedy implementation Statement D Technocup 2021 - Elimination Round 3 {1411} PROGRAMMING 2000.0 Technocup 2021 Elimination Round 3 and Round #692 (Div. 1 + Div. 2) Editorial
2999 New Game Plus! constructive algorithms greedy math Statement E Technocup 2021 - Elimination Round 2 {1415} PROGRAMMING 2500.0 Editorial of Codeforces Round 687 (Technocup 2021 — Elimitation Round 2)
6670 Make Them Equal constructive algorithms greedy math Statement B Codeforces Round 673 (Div. 1) {1416} PROGRAMMING 1000.0 Codeforces Round #673 Editorial 2000
17373 Sage's Birthday (hard version) binary search constructive algorithms greedy implementation sortings two pointers Statement D2 Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 1000.0 Codeforces Round #671 Editorial
16951 Stairs brute force constructive algorithms greedy implementation math two pointers Statement B Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 750.0 Codeforces Round #671 Editorial
8117 Rock, Paper, Scissors brute force constructive algorithms flows greedy math Statement E Codeforces Round 674 (Div. 3) {1426} PROGRAMMING 83120 1800
18458 Marketing Scheme brute force constructive algorithms greedy math Statement A Educational Codeforces Round 97 (Rated for Div. 2) {1437} PROGRAMMING 84149
28863 Valerii Against Everyone constructive algorithms greedy sortings Statement B Codeforces Round 682 (Div. 2) {1438} PROGRAMMING 750.0 Codeforces Round #682 (Div. 2) Editorial
5393 Binary Table (Hard Version) constructive algorithms graphs greedy implementation Statement A2 Codeforces Round 684 (Div. 1) {1439} PROGRAMMING 500.0 Codeforces Round #684[Div1 and Div2] Editorial
17649 Knapsack constructive algorithms greedy sortings Statement A Codeforces Round 683 (Div. 1, by Meet IT) {1446} PROGRAMMING 500.0 E
4435 Checkpoints brute force constructive algorithms greedy math probabilities Statement D Codeforces Round 688 (Div. 2) {1453} PROGRAMMING 2000.0 Codeforces Round #688 (Div. 2) Editorial
1644 Four Points brute force constructive algorithms flows geometry greedy math ternary search Statement E Educational Codeforces Round 99 (Rated for Div. 2) {1455} PROGRAMMING 85186
40056 Different Divisors binary search constructive algorithms greedy math number theory Statement B Codeforces Round 696 (Div. 2) {1474} PROGRAMMING 1000.0 Codeforces Round #696 Editorial
14110 Array Destruction constructive algorithms data structures greedy implementation sortings Statement C Codeforces Round 696 (Div. 2) {1474} PROGRAMMING 1500.0 Codeforces Round #696 Editorial
44739 K-divisible Sum binary search constructive algorithms greedy math Statement A Educational Codeforces Round 103 (Rated for Div. 2) {1476} PROGRAMMING 87356
2582 Nezzar and Nice Beatmap constructive algorithms geometry greedy sortings Statement C Codeforces Round 698 (Div. 1) {1477} PROGRAMMING 1500.0 87294 2200
7464 Painting the Array I constructive algorithms data structures dp greedy implementation Statement B1 Codeforces Round 700 (Div. 1) {1479} PROGRAMMING 750.0 Editorial of Codeforces Round #700
12392 Fence Painting brute force constructive algorithms greedy implementation Statement C Codeforces Round 699 (Div. 2) {1481} PROGRAMMING 1500.0 Codeforces Round #699 (Div. 2) Editorial
4848 AB Graph constructive algorithms graphs greedy implementation strings Statement D Codeforces Round 699 (Div. 2) {1481} PROGRAMMING 2000.0 Codeforces Round #699 (Div. 2) Editorial
3852 Basic Diplomacy constructive algorithms flows greedy implementation Statement A Codeforces Round 709 (Div. 1, based on Technocup 2021 Final Round) {1483} PROGRAMMING 500.0 Technocup 2021: Final Round and Codeforces Round #709 — tutorial
15388 Minimum Ties brute force constructive algorithms dfs and similar graphs greedy implementation math Statement C Educational Codeforces Round 104 (Rated for Div. 2) {1487} PROGRAMMING 87873
1289 Almost Fault-Tolerant Database brute force constructive algorithms dfs and similar greedy implementation Statement E Codeforces Round 704 (Div. 2) {1492} PROGRAMMING 3000.0 Codeforces Round #704 Editorial
2816 Dogeforces brute force constructive algorithms divide and conquer dsu greedy implementation trees Statement D Educational Codeforces Round 105 (Rated for Div. 2) {1494} PROGRAMMING Educational Codeforces Round 105 Editorial
6329 Let's Go Hiking constructive algorithms games greedy implementation Statement B Codeforces Round 706 (Div. 1) {1495} PROGRAMMING 1000.0 Codeforces Round #706 Editorial
22234 Split it! brute force constructive algorithms greedy strings Statement A Codeforces Round 706 (Div. 2) {1496} PROGRAMMING 500.0 Codeforces Round #706 Editorial
27190 M-arrays constructive algorithms greedy math Statement B Codeforces Round 708 (Div. 2) {1497} PROGRAMMING 750.0 Codeforces Round #708 Editorial 1200
912 Matrix Sorting bitmasks constructive algorithms dfs and similar greedy hashing string suffix structures two pointers Statement C Codeforces Round 707 (Div. 1, based on Moscow Open Olympiad in Informatics) {1500} PROGRAMMING 1500.0 Codeforces Round #707 Editorial 2600
1255 Flip the Cards 2-sat constructive algorithms data structures dsu greedy sortings Statement D Codeforces Round 712 (Div. 1) {1503} PROGRAMMING 1750.0 T 2600
25556 Flip the Bits constructive algorithms greedy implementation math Statement B Codeforces Round 712 (Div. 2) {1504} PROGRAMMING 1000.0 Codeforces Round #712 Editorial 1200
1922 Cakewalk constructive algorithms greedy implementation shortest paths Statement E April Fools Day Contest 2021 {1505} PROGRAMMING tutorial
3692 Triangular Paths constructive algorithms greedy math shortest paths sortings Statement F Codeforces Round 710 (Div. 3) {1506} PROGRAMMING Editorial
6664 Binary Literature constructive algorithms greedy implementation math strings two pointers Statement A Codeforces Round 715 (Div. 1) {1508} PROGRAMMING 750.0 Codeforces Round #715 Editorial
2070 Phoenix and Earthquake constructive algorithms dfs and similar dsu graphs greedy trees Statement F Codeforces Global Round 14 {1515} PROGRAMMING 3250.0 Editorial
14161 Fillomino 2 constructive algorithms greedy implementation Statement C Contest 2050 and Codeforces Round 718 (Div. 1 + Div. 2) {1517} PROGRAMMING 1500.0 Contest 2050 and Codeforces Round #718 (Div.1 + Div.2) Editorial
13822 Morning Jogging constructive algorithms greedy sortings Statement B Contest 2050 and Codeforces Round 718 (Div. 1 + Div. 2) {1517} PROGRAMMING 1250.0 Contest 2050 and Codeforces Round #718 (Div.1 + Div.2) Editorial
729 Nastia and a Beautiful Matrix binary search constructive algorithms greedy math Statement E Codeforces Round 720 (Div. 2) {1521} PROGRAMMING 2750.0 90477
2290 Nastia Plays with a Tree constructive algorithms data structures dfs and similar dp flows graphs greedy implementation trees Statement D Codeforces Round 720 (Div. 2) {1521} PROGRAMMING 2250.0 90477
3251 Minimax constructive algorithms greedy implementation strings Statement E Codeforces Round 733 (Div. 1 + Div. 2, based on VK Cup 2021 - Elimination (Engine)) {1530} PROGRAMMING 2000.0 Codeforces Round #733 Editorial (all problems)
42055 Bad Boy constructive algorithms greedy math Statement B Codeforces Round 726 (Div. 2) {1537} PROGRAMMING 750.0 Codeforces Round #726 (Div.2) Editorial
14963 Great Graphs constructive algorithms graphs greedy shortest paths sortings Statement A Codeforces Round 728 (Div. 1) {1540} PROGRAMMING 500.0 Tutorial
30693 Pretty Permutations constructive algorithms greedy implementation Statement A Codeforces Round 728 (Div. 2) {1541} PROGRAMMING 500.0 Tutorial
2122 Colors and Intervals constructive algorithms data structures greedy sortings Statement E Codeforces Global Round 15 {1552} PROGRAMMING 1500.0 Editorial of Global Round 15
10547 Diane constructive algorithms greedy strings Statement D Codeforces Round 735 (Div. 2) {1554} PROGRAMMING 2000.0 Editorial of Codeforces Round #735 (Div. 2) 1800
15976 Mocha and Diana (Easy Version) brute force constructive algorithms dsu graphs greedy trees Statement D1 Codeforces Round 738 (Div. 2) {1559} PROGRAMMING 1500.0 Tutorial (en) 1400
3049 Mocha and Diana (Hard Version) brute force constructive algorithms dfs and similar dsu graphs greedy trees two pointers Statement D2 Codeforces Round 738 (Div. 2) {1559} PROGRAMMING 1500.0 Tutorial (en) 2500