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
1331 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
6526 You're Given a String... brute force greedy Statement A Codeforces Beta Round 23 {23} PROGRAMMING Codeforces Beta Round #23 tutorial 1200
5999 Tournament bitmasks brute force dfs and similar greedy Statement B Codeforces Beta Round 27 (Codeforces format, Div. 2) {27} PROGRAMMING Codeforces Beta #27 - Tutorial 2000
1566 Harry Potter and the History of Magic brute force greedy implementation Statement B Codeforces Beta Round 60 {65} PROGRAMMING Codeforces Beta Round #60: tutorial 1700
3036 Fancy Number brute force greedy sortings strings Statement C Codeforces Beta Round 89 (Div. 2) {118} PROGRAMMING Editorial codeforces beta raund 89. 1700
1761 New Year Cards brute force greedy implementation Statement B Codeforces Round 100 {140} PROGRAMMING Codeforces Round #100: problem analysis 1800
5577 Dress'em in Vests! binary search brute force greedy two pointers Statement A VK Cup 2012 Round 1 {161} PROGRAMMING VK Cup 2012 Round 1: editorial 1300
306 Power Defence brute force dp geometry greedy Statement E Codeforces Round 115 {175} PROGRAMMING Codeforces Round #115 — editorial A-E 2500
20214 LLPS binary search bitmasks brute force greedy implementation strings Statement A Codeforces Round 127 (Div. 2) {202} PROGRAMMING 900
6528 Little Elephant and Sorting brute force greedy Statement B Codeforces Round 129 (Div. 2) {205} PROGRAMMING Codeforces Round #129 — Editorial 1400
5406 Hometask brute force constructive algorithms greedy math Statement B Codeforces Round 131 (Div. 2) {214} PROGRAMMING Codeforces Round #131 Tutorial 1600
7302 Color Stripe brute force dp greedy Statement C Codeforces Round 135 (Div. 2) {219} PROGRAMMING User editorial for Codeforces Round #135 (Div. 2) 1600
451420 Team brute force greedy Statement A Codeforces Round 143 (Div. 2) {231} PROGRAMMING Tutorial Codeforces Round #143 800
2851 Beauty Pageant brute force constructive algorithms greedy Statement C Codeforces Round 151 (Div. 2) {246} PROGRAMMING Codeforces Round #151 (Div. 2) Tutorial 1600
16029 Sail brute force greedy implementation Statement B Codeforces Round 180 (Div. 2) {298} PROGRAMMING Codeforces Round #180 Editorial 1300
46455 Magic Numbers brute force greedy Statement A Codeforces Round 189 (Div. 2) {320} PROGRAMMING Codeforces Round #189 — Editorial 1000
2676 Vasily the Bear and Sequence brute force greedy implementation number theory Statement C Codeforces Round 195 (Div. 2) {336} PROGRAMMING Tutorial Codeforces Round #195 (Div. 2) 1800
4229 Xenia and Spies brute force greedy implementation Statement B Codeforces Round 199 (Div. 2) {342} PROGRAMMING Tutorial 1500
992 Pumping Stations brute force dfs and similar divide and conquer flows graphs greedy trees Statement E Codeforces Round 200 (Div. 1) {343} PROGRAMMING Codeforces Round #200 Tutorial 2800
17692 TL brute force greedy implementation Statement A Codeforces Round 203 (Div. 2) {350} PROGRAMMING Editorial Codeforces Round #203 (Div. 2) 1300
5683 Vasya and Robot brute force greedy math Statement A Codeforces Round 206 (Div. 1) {354} PROGRAMMING Codeforces Round #206 — Editorial 1600
7787 Group of Students brute force greedy implementation Statement A Codeforces Round 207 (Div. 2) {357} PROGRAMMING Codeforces Round #207: tutorial 1200
726 Broken Monitor brute force constructive algorithms greedy implementation Statement D Codeforces Round 217 (Div. 2) {370} PROGRAMMING Codeforces Round #217 (Div. 2): tutorial 2100
17449 Bear and Raspberry brute force greedy implementation Statement A Codeforces Round 226 (Div. 2) {385} PROGRAMMING Codeforces Round #226 (Div. 2) — Editorial 1100
10977 Bear and Strings brute force greedy implementation math strings Statement B Codeforces Round 226 (Div. 2) {385} PROGRAMMING Codeforces Round #226 (Div. 2) — Editorial 1300
13085 George and Round brute force greedy two pointers Statement B Codeforces Round 227 (Div. 2) {387} PROGRAMMING Editorial Codeforces Round #227 (Div. 2) 1200
12340 Football Kit brute force greedy implementation Statement B Codeforces Round 246 (Div. 2) {432} PROGRAMMING Codeforces Round #246 (Div. 2) Editorial 1200
861 Special Grid brute force dp greedy Statement D Codeforces Round 249 (Div. 2) {435} PROGRAMMING Codeforces Round #249 (Div. 2) Editorial 2200
3964 DZY Loves Modification brute force data structures greedy Statement B Codeforces Round #FF (Div. 1) {446} PROGRAMMING Codeforces Round #FF(255) Editorial 2100
3759 MUH and House of Cards binary search brute force greedy math Statement C Codeforces Round 269 (Div. 2) {471} PROGRAMMING Codeforces Round #269 Editorial 1700
863 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
8534 Towers brute force constructive algorithms greedy implementation sortings Statement B Codeforces Round 274 (Div. 2) {479} PROGRAMMING Codeforces Round #274: editorial 1400
6828 Valuable Resources brute force greedy Statement B Codeforces Round 276 (Div. 2) {485} PROGRAMMING Codeforces Round #276 — Editorial 1300
12489 Palindrome Transformation brute force greedy implementation Statement C Codeforces Round 277 (Div. 2) {486} PROGRAMMING Codeforces Round #277(Div. 2) Editorial 1700
1729 Restoring Increasing Sequence binary search brute force greedy implementation Statement E Codeforces Round 279 (Div. 2) {490} PROGRAMMING Codeforces Round #279 (Div. 2) Editorial 2100
2696 Om Nom and Candies brute force greedy math Statement C ZeptoLab Code Rush 2015 {526} PROGRAMMING ZeptoLab Code Rush 2015 — Editorial 2000
1001 Group Photo 2 (online mirror version) brute force greedy sortings Statement B VK Cup 2015 - Round 1 (unofficial online mirror, Div. 1 only) {529} PROGRAMMING VK Cup Round 1 (+ online mirror) editorial 1900
6175 Tourist's Notes binary search brute force greedy implementation math Statement C Codeforces Round 300 {538} PROGRAMMING Codeforces Round #300 Editorial (+challenges) 1600
18844 Soldier and Badges brute force greedy implementation sortings Statement B Codeforces Round 304 (Div. 2) {546} PROGRAMMING Codeforces Round #304 (Div.2) editorial 1300
2806 Mike and Frog brute force greedy implementation math Statement A Codeforces Round 305 (Div. 1) {547} PROGRAMMING Codeforces Round #305 Editorial 1900
9115 Mike and Fun brute force dp greedy implementation Statement B Codeforces Round 305 (Div. 2) {548} PROGRAMMING Codeforces Round #305 Editorial 1400
44717 Two Substrings brute force dp greedy implementation strings Statement A Codeforces Round 306 (Div. 2) {550} PROGRAMMING Разбор задач Codeforces Round #306 (Div. 2) 1500
5907 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
1772 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
11125 Ohana Cleans Up brute force greedy strings Statement B Codeforces Round 309 (Div. 2) {554} PROGRAMMING Codeforces Round #309 Editorial 1200
4262 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
4239 Amr and Chemistry brute force graphs greedy math shortest paths Statement C Codeforces Round 312 (Div. 2) {558} PROGRAMMING Codeforces Round #312 (Div. 2) Editorial 2000
5537 "Or" Game brute force greedy Statement B Codeforces Round 320 (Div. 1) [Bayan Thanks-Round] {578} PROGRAMMING Codeforces Round #320 [Bayan Thanks-Round] Editorial 1800
785 Edo and Magnets brute force greedy implementation two pointers Statement C Codeforces Round 330 (Div. 1) {594} PROGRAMMING Codeforces Round #330 (Div.1 + Div.2) Editorial 2700
2507 Skills binary search brute force dp greedy sortings two pointers Statement B Codeforces Round 339 (Div. 1) {613} PROGRAMMING Tutorial 2200
4646 Block Towers brute force greedy math number theory Statement C 8VC Venture Cup 2016 - Elimination Round {626} PROGRAMMING 23522 1600
284 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
18917 Holidays brute force constructive algorithms greedy math Statement A Codeforces Round 350 (Div. 2) {670} PROGRAMMING Codeforces Round #350 (Div.2) Editorial 1000
4268 Batch Sort brute force greedy implementation math Statement B Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined) {724} PROGRAMMING Tutorial 1500
744 Too Much Money brute force greedy Statement E Canada Cup 2016 {725} PROGRAMMING 2500
1308 80-th Level Archeology brute force data structures greedy sortings Statement D Codeforces Round 376 (Div. 2) {731} PROGRAMMING 47840 2200
32366 Anton and Digits brute force greedy implementation math Statement B Codeforces Round 379 (Div. 2) {734} PROGRAMMING Tutorial of Codeforces Round #379 (Div. 2) 800
4234 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
4977 Mahmoud and a Message brute force dp greedy strings Statement C Codeforces Round 396 (Div. 2) {766} PROGRAMMING Codeforces round #396 editorial 1700
2277 The Queue brute force greedy Statement B Codeforces Round 398 (Div. 2) {767} PROGRAMMING Codeforces Round #398 (Div. 2) Editorial 2000
1302 Dynamic Problem Scoring brute force greedy Statement B VK Cup 2017 - Round 3 {773} PROGRAMMING VK Cup 2017 Round 3 + Codeforces Round #412 -- Tutorial 2100
4929 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
10783 Weird Rounding brute force greedy Statement B Codeforces Round 402 (Div. 2) {779} PROGRAMMING Codeforces Round #402, Editorial 1100
5932 Karen and Game brute force greedy implementation Statement A Codeforces Round 419 (Div. 1) {815} PROGRAMMING Codeforces Round #419 Editorial 1700
3312 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
8428 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
534 Ever-Hungry Krakozyabra brute force combinatorics greedy math Statement C Codeforces Round 426 (Div. 1) {833} PROGRAMMING Codeforces Round #426 Editorial 2600
3450 Game of the Rows brute force greedy implementation Statement B Codeforces Round 428 (Div. 2) {839} PROGRAMMING Codeforces Round #428 editorial 1700
5590 Luba And The Ticket brute force greedy implementation Statement B Educational Codeforces Round 27 {845} PROGRAMMING 53986 1600
2857 Math Show brute force greedy Statement B Educational Codeforces Round 28 {846} PROGRAMMING 54357 1800
11606 Kayaking brute force greedy sortings Statement B Educational Codeforces Round 29 {863} PROGRAMMING Editorial 1500
15230 Pride brute force dp greedy math number theory Statement A Codeforces Round 446 (Div. 1) {891} PROGRAMMING Codeforces Round #446 Editorial 1600
10450 Generate Login brute force greedy sortings Statement A Codeforces Round 455 (Div. 2) {909} PROGRAMMING Codeforces Round #455 (Div. 2) Editorial 1100
623 Perun, Ult! brute force greedy sortings Statement C Codeforces Round 456 (Div. 2) {912} PROGRAMMING Codeforces Round #456 (Div. 2) Editorial 2500
5188 Too Easy Problems binary search brute force data structures greedy sortings Statement D Hello 2018 {913} PROGRAMMING Tutorial 1800
17049 Supermarket brute force greedy implementation Statement A Codeforces Round 460 (Div. 2) {919} PROGRAMMING Codeforces Round #460 (Div. 2) Editorial 900
13184 Friends Meeting brute force greedy implementation math Statement A Codeforces Round 468 (Div. 2, based on Technocup 2018 Final Round) {931} PROGRAMMING Codeforces Round #468 and Technocup 2018 Final Round Analysis 800
9383 Run For Your Prize brute force greedy Statement B Educational Codeforces Round 38 (Rated for Div. 2) {938} PROGRAMMING Educational Codeforces Round 38 — Editorial 1100
8864 Points on the line brute force greedy sortings Statement A Codeforces Round 466 (Div. 2) {940} PROGRAMMING [Editorial] Codeforces Round #466 (Div. 2) 1300
922 Curfew binary search brute force greedy sortings Statement D Codeforces Round 469 (Div. 1) {949} PROGRAMMING 58291 2400
1795 Guard Duty (easy) brute force geometry greedy math Statement E1 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING helvetic-coding-contest-2018-editorial.pdf 1800
2271 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
4511 Divisibility by 25 brute force greedy Statement E Codeforces Round 486 (Div. 3) {988} PROGRAMMING 59810 2100
2202 Post Lamps brute force greedy Statement E Educational Codeforces Round 45 (Rated for Div. 2) {990} PROGRAMMING Educational Codeforces Round 45 Editorial 2000
415 Concise and clear brute force greedy implementation math Statement F Codeforces Round 491 (Div. 2) {991} PROGRAMMING 60181 2800
2144 Leaving the Bar brute force data structures geometry greedy math sortings Statement C Codeforces Round 492 (Div. 1) [Thanks, uDebug!] {995} PROGRAMMING Editorial for Codeforces Round #492 [Thanks u-Debug!] 2200
8702 Convert to Ones brute force greedy implementation math Statement A Codeforces Round 493 (Div. 1) {997} PROGRAMMING 60357 1500
3239 Roman Digits brute force combinatorics dp greedy math Statement B Codeforces Round 493 (Div. 1) {997} PROGRAMMING 60357 2000
13261 Summarize to the Power of Two brute force greedy implementation Statement C Codeforces Round 496 (Div. 3) {1005} PROGRAMMING Codeforces Round 496 (Div. 3): Problem Tutorials 1400
6748 Relatively Prime Graph brute force constructive algorithms graphs greedy math Statement D Educational Codeforces Round 47 (Rated for Div. 2) {1009} PROGRAMMING 60630 1700
6957 Stars Drawing (Easy Edition) brute force dp greedy Statement E1 Codeforces Round 501 (Div. 3) {1015} PROGRAMMING 60949 1700
4887 Elections brute force greedy Statement A Codeforces Round 503 (by SIS, Div. 1) {1019} PROGRAMMING 61161 1800
8792 Weakened Common Divisor brute force greedy number theory Statement B Codeforces Round 505 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) {1025} PROGRAMMING Codeforces Round #505 Editorial 1600
10003 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
518 Candies for Children brute force math Statement D Codeforces Round 516 (Div. 1, by Moscow Team Olympiad) {1063} PROGRAMMING Editorial 2800
962 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
6767 Berland Fair binary search brute force data structures greedy Statement D Educational Codeforces Round 53 (Rated for Div. 2) {1073} PROGRAMMING 62742 1700
11057 New Year and the Treasure Geolocation brute force constructive algorithms greedy implementation Statement B Good Bye 2018 {1091} PROGRAMMING Editorial 1200
1824 Nice table brute force constructive algorithms greedy math Statement B Codeforces Round 530 (Div. 1) {1098} PROGRAMMING 64331 2300
25530 Divisors of Two Integers brute force greedy math number theory Statement B Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1100
12815 Nice Garland brute force greedy math Statement C Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1300
5014 Array and Segments (Easy version) brute force greedy implementation Statement E1 Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1800
19853 Got Any Grapes? brute force greedy implementation Statement A Codeforces Round 538 (Div. 2) {1114} PROGRAMMING Codeforces Round #538 (Div. 2) Editorial 800
6172 Coffee and Coursework (Easy version) brute force greedy Statement D1 Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 1800
5617 Pavel and Triangles brute force dp fft greedy ternary search Statement E Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 1900
3955 Toy Train (Simplified) brute force greedy Statement A1 Codeforces Round 542 [Alex Lopashev Thanks-Round] (Div. 1) {1129} PROGRAMMING 65520 1700
4247 Toy Train brute force greedy Statement A2 Codeforces Round 542 [Alex Lopashev Thanks-Round] (Div. 1) {1129} PROGRAMMING 65520 1800
4229 Circus brute force greedy math strings Statement B Codeforces Round 545 (Div. 2) {1138} PROGRAMMING Codeforces Round #545 – Editorial 1700
1145 Abandoning Roads brute force dp graphs greedy Statement D Codeforces Round 556 (Div. 1) {1149} PROGRAMMING 66783 2900
3415 Minimum Possible LCM brute force greedy math number theory Statement G Codeforces Round 552 (Div. 3) {1154} PROGRAMMING Codeforces Round #552 (Div. 3) Editorial 2400
7974 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
6127 Double Matrix brute force greedy Statement B Codeforces Round 557 (Div. 2) [based on Forethought Future Cup - Final Round] {1162} PROGRAMMING Forethought Future Cup Final Round Tutorial 1400
2316 Cute Sequences binary search brute force greedy math Statement D Codeforces Round 561 (Div. 2) {1166} PROGRAMMING Codeforces Round #561 (Div. 2) Editorial 2100
20844 Telephone Number brute force greedy strings Statement A Educational Codeforces Round 65 (Rated for Div. 2) {1167} PROGRAMMING 67058 700
7314 Electrification binary search brute force greedy Statement C Educational Codeforces Round 66 (Rated for Div. 2) {1175} PROGRAMMING Editorial 1600
25403 Divide it! brute force greedy implementation Statement A Codeforces Round 565 (Div. 3) {1176} PROGRAMMING 67598 800
4636 Archaeology brute force constructive algorithms greedy strings Statement E Codeforces Global Round 4 {1178} PROGRAMMING E 1900
548 A Story of One Country (Hard) brute force greedy sortings Statement E2 Codeforces Round 567 (Div. 2) {1181} PROGRAMMING Editorial of Codeforces Round #567 (based on All-Russian olympiad in the name of Keldysh) 3000
7874 Exam in BerSU (hard version) brute force data structures greedy math Statement C2 Codeforces Round 568 (Div. 2) {1185} PROGRAMMING Editorial for Codeforces Round #568 (Div. 2) 1700
2347 Tokitsukaze and Duel brute force games greedy Statement C Codeforces Round 573 (Div. 1) {1190} PROGRAMMING E 2400
2804 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
3308 Kirk and a Binary String (easy version) brute force greedy strings Statement D1 Codeforces Round 581 (Div. 2) {1204} PROGRAMMING 69244 2000
23626 There Are Two Types Of Burgers brute force greedy implementation math Statement A Educational Codeforces Round 71 (Rated for Div. 2) {1207} PROGRAMMING Educational Codeforces Round 71 Editorial 700
3329 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
6130 Marcin and Training Camp brute force greedy Statement B Dasha Code Championship - SPb Finals Round (only for onsite-finalists) {1210} PROGRAMMING Dasha Code Championship Finals and Mirror Round 588 Editorial 1800
18361 2048 Game brute force greedy math Statement A Educational Codeforces Round 73 (Rated for Div. 2) {1221} PROGRAMMING Разбор Educational Codeforces Round 73 1000
1774 Alice and the Doll brute force data structures greedy implementation Statement D Codeforces Round 593 (Div. 2) {1236} PROGRAMMING 70654 2100
17352 Stones brute force greedy math Statement A Codeforces Round 593 (Div. 2) {1236} PROGRAMMING 70654 800
2572 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
16699 Good Numbers (easy version) brute force greedy implementation Statement C1 Codeforces Round 595 (Div. 3) {1249} PROGRAMMING Codeforces Round #595 (Div. 3) Editorial 1300
2832 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
240 Show Must Go On binary search brute force greedy shortest paths Statement I 2019-2020 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Teams Preferred) {1250} PROGRAMMING 3100
2000 Tournament brute force dp greedy Statement E Educational Codeforces Round 77 (Rated for Div. 2) {1260} PROGRAMMING Educational Codeforces Round 77 Editorial 2400
6083 Beautiful Sequence brute force constructive algorithms greedy Statement B Codeforces Round 604 (Div. 1) {1264} PROGRAMMING 71995 1900
11214 Shawarma Tent brute force geometry greedy implementation Statement C Codeforces Round 608 (Div. 2) {1271} PROGRAMMING 72247 1300
15746 Suits brute force greedy math Statement A Codeforces Round 608 (Div. 2) {1271} PROGRAMMING 72247 900
22267 Three Friends brute force greedy math sortings Statement A Codeforces Round 605 (Div. 3) {1272} PROGRAMMING Codeforces Round #605 (Div. 3) Editorial 900
1804 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
8812 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
6842 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
12697 Anu Has a Function brute force greedy math Statement A Codeforces Round 618 (Div. 1) {1299} PROGRAMMING 500.0 Codeforces Round #618 Editorial 1500
3372 Erase Subsequences brute force dp greedy strings Statement E Educational Codeforces Round 82 (Rated for Div. 2) {1303} PROGRAMMING Educational Codeforces Round 82 2200
18971 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
14758 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
11200 Skyscrapers (easy version) brute force data structures dp greedy Statement C1 Codeforces Round 622 (Div. 2) {1313} PROGRAMMING 1000.0 Editorial 1500
16387 Fast Food Restaurant brute force greedy implementation Statement A Codeforces Round 622 (Div. 2) {1313} PROGRAMMING 500.0 Editorial 900
10640 Remove Adjacent brute force greedy Statement C Codeforces Round 625 (Div. 2, based on Technocup 2020 Final Round) {1321} PROGRAMMING 1250.0 Codeforces Round #625 Editorial
21050 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
19759 Princesses and Princes brute force graphs greedy Statement B Educational Codeforces Round 84 (Rated for Div. 2) {1327} PROGRAMMING Educational Codeforces Round 84 Editorial 1300
19374 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
4187 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
18247 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
3499 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
13729 Nastya and Strange Generator brute force data structures greedy implementation Statement A Codeforces Round 637 (Div. 1) - Thanks, Ivan Belonogov! {1340} PROGRAMMING 500.0 Codeforces Round #637 Editorial
13661 Constant Palindrome Sum brute force data structures greedy two pointers Statement D Codeforces Round 636 (Div. 3) {1343} PROGRAMMING 76352 1800
5882 Weights Distributing brute force graphs greedy shortest paths sortings Statement E Codeforces Round 636 (Div. 3) {1343} PROGRAMMING 76352 2400
1429 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
7975 K-periodic Garland brute force dp greedy Statement E Codeforces Round 642 (Div. 3) {1353} PROGRAMMING Codeforces Round #642 (Div. 3) Editorial 1900
8835 The Best Vacation binary search brute force greedy implementation two pointers Statement D Codeforces Round 645 (Div. 2) {1358} PROGRAMMING 1500.0 Codeforces Round #645 (Div. 2) Editorial 1900
29627 New Theatre Square brute force dp greedy implementation two pointers Statement B Educational Codeforces Round 88 (Rated for Div. 2) {1359} PROGRAMMING Educational Codeforces Round 88 Editorial 1000
32068 Berland Poker brute force greedy math Statement A Educational Codeforces Round 88 (Rated for Div. 2) {1359} PROGRAMMING Educational Codeforces Round 88 Editorial 1000
14568 Ehab and Prefix MEXs brute force constructive algorithms greedy Statement C Codeforces Round 649 (Div. 2) {1364} PROGRAMMING 1500.0 Codeforces round #649 editorial 1600
4688 Two Arrays binary search brute force combinatorics dp greedy implementation two pointers Statement E Educational Codeforces Round 89 (Rated for Div. 2) {1366} PROGRAMMING Educational Codeforces Round 89 Editorial
5946 Necklace Assembly binary search brute force dp greedy number theory Statement E Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
21852 Codeforces Subsequences brute force constructive algorithms greedy math strings Statement B Codeforces Global Round 8 {1368} PROGRAMMING 1000.0 Codeforces Global Round 8: editorial
47383 C+= brute force greedy math Statement A Codeforces Global Round 8 {1368} PROGRAMMING 500.0 Codeforces Global Round 8: editorial
67436 Maximum GCD brute force greedy implementation number theory Statement A Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 500.0 Editorial — Codeforces Round #651
5944 Omkar and Circle brute force constructive algorithms dp games greedy Statement D Codeforces Round 655 (Div. 2) {1372} PROGRAMMING 2000.0 Codeforces Round #655 Editorial 2100
2997 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
5092 Berserk And Fireball brute force greedy math Statement D Educational Codeforces Round 91 (Rated for Div. 2) {1380} PROGRAMMING Educational Codeforces Round 91 Editorial
871 Rearrange brute force constructive algorithms graphs greedy sortings Statement D Codeforces Round 659 (Div. 1) {1383} PROGRAMMING 1750.0 Codeforces Round #659 Editorial
4596 Segment Intersections binary search brute force greedy implementation math Statement D Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
20833 Good String brute force dp greedy implementation two pointers Statement C Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
30278 Fix You brute force greedy implementation Statement B Codeforces Round 663 (Div. 2) {1391} PROGRAMMING 750.0 Codeforces Round #663 (Div. 2) Editorial
7171 Boboniu Chats with Du brute force dp greedy sortings two pointers Statement A Codeforces Round 664 (Div. 1) {1394} PROGRAMMING 500.0 Codeforces Round #664 Editorial 1800
13319 Stoned Game brute force constructive algorithms games greedy Statement B Codeforces Round 666 (Div. 1) {1396} PROGRAMMING 1000.0 Codeforces Round #666 — Editorial
11777 RPG Protagonist binary search brute force greedy math Statement B Educational Codeforces Round 94 (Rated for Div. 2) {1400} PROGRAMMING 81942
24849 Maximum Product brute force dp greedy implementation sortings Statement B Codeforces Round 670 (Div. 2) {1406} PROGRAMMING 1000.0 Codeforces Round #670 (Div. 2) Editorial
18261 Big Vova brute force greedy math number theory Statement B Codeforces Round 669 (Div. 2) {1407} PROGRAMMING 1000.0 Codeforces Round #669 Editorial
31306 Minimum Product brute force greedy math Statement B Codeforces Round 667 (Div. 3) {1409} PROGRAMMING Codeforces Round #667 (Div. 3) Editorial
12604 Repainting Street brute force brute force greedy Statement B Technocup 2021 - Elimination Round 2 {1415} PROGRAMMING 1250.0 Editorial of Codeforces Round 687 (Technocup 2021 — Elimitation Round 2)
17126 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
8228 Rock, Paper, Scissors brute force constructive algorithms flows greedy math Statement E Codeforces Round 674 (Div. 3) {1426} PROGRAMMING 83120 1800
82 Rogue-like Game *special brute force greedy Statement H Kotlin Heroes 5: ICPC Round {1431} PROGRAMMING 84563
18523 Marketing Scheme brute force constructive algorithms greedy math Statement A Educational Codeforces Round 97 (Rated for Div. 2) {1437} PROGRAMMING 84149
1506 Yurii Can Do Everything brute force divide and conquer greedy implementation Statement E Codeforces Round 682 (Div. 2) {1438} PROGRAMMING 2250.0 Codeforces Round #682 (Div. 2) Editorial
5470 Identify the Operations brute force combinatorics data structures dsu greedy implementation Statement B Codeforces Round 681 (Div. 1, based on VK Cup 2019-2020 - Final) {1442} PROGRAMMING 1000.0 84298
16132 Balls of Steel brute force geometry greedy Statement B Codeforces Global Round 12 {1450} PROGRAMMING 750.0 Codeforces Global Round 12 Editorial
1765 Two Editorials brute force data structures greedy implementation Statement E Educational Codeforces Round 98 (Rated for Div. 2) {1452} PROGRAMMING 84847
4489 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
4987 Array Partition binary search brute force data structures greedy two pointers Statement F Codeforces Round 686 (Div. 3) {1454} PROGRAMMING Codeforces Round #686 (Div. 3) Editorial
1689 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
2249 Water Level brute force graphs greedy implementation math Statement E Codeforces Round 689 (Div. 2, based on Zed Code Competition) {1461} PROGRAMMING 2250.0 Codeforces Round #689 (Div. 2). Editorial
6865 Three Bags brute force constructive algorithms greedy Statement C Codeforces Round 695 (Div. 2) {1467} PROGRAMMING 1500.0 Codeforces Round #695 (Div. 2) Editorial 1900
20048 Strange List brute force greedy implementation math Statement B Codeforces Round 694 (Div. 2) {1471} PROGRAMMING 750.0 Codeforces Round #694 Editorial
3338 New Year's Puzzle brute force dp graph matchings greedy sortings Statement F Codeforces Round 693 (Div. 3) {1472} PROGRAMMING Codeforces Round #693 (Div. 3) Editorial
21876 Inflation binary search brute force greedy math Statement B Educational Codeforces Round 103 (Rated for Div. 2) {1476} PROGRAMMING 87356
28231 Nezzar and Colorful Balls brute force greedy Statement A Codeforces Round 698 (Div. 2) {1478} PROGRAMMING 500.0 Tutorial 800
12513 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
20024 New Colony brute force greedy implementation Statement B Codeforces Round 699 (Div. 2) {1481} PROGRAMMING 750.0 Codeforces Round #699 (Div. 2) Editorial
35891 Add and Divide brute force greedy math ternary search Statement A Codeforces Round 701 (Div. 2) {1485} PROGRAMMING 500.0 Editorial of Codeforces Round #701 (Div. 2) 1000
15593 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
8466 Pekora and Trampoline brute force data structures dp graphs greedy implementation Statement C Codeforces Global Round 13 {1491} PROGRAMMING 1000.0 Codeforces Global Round 13 Editorial
19129 K-th Largest Value brute force greedy implementation Statement A Codeforces Global Round 13 {1491} PROGRAMMING 500.0 Codeforces Global Round 13 Editorial
14322 Minimal Cost brute force greedy implementation math Statement B Codeforces Global Round 13 {1491} PROGRAMMING 750.0 Codeforces Global Round 13 Editorial
1335 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
5014 K-beautiful Strings binary search brute force greedy implementation strings Statement C Codeforces Round 705 (Div. 2) {1493} PROGRAMMING 1750.0 Codeforces Round #705 (Div.2) Editorial
15492 Berland Crossword binary search bitmasks brute force greedy implementation Statement B Educational Codeforces Round 105 (Rated for Div. 2) {1494} PROGRAMMING Educational Codeforces Round 105 Editorial
2875 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
548 Qingshan and Daniel brute force data structures greedy implementation Statement E Codeforces Round 706 (Div. 1) {1495} PROGRAMMING 2500.0 Codeforces Round #706 Editorial
22445 Split it! brute force constructive algorithms greedy strings Statement A Codeforces Round 706 (Div. 2) {1496} PROGRAMMING 500.0 Codeforces Round #706 Editorial
26481 Meximization brute force data structures greedy sortings Statement A Codeforces Round 708 (Div. 2) {1497} PROGRAMMING 500.0 Codeforces Round #708 Editorial 800
13528 Minimum Grid Path brute force data structures dp greedy Statement C Educational Codeforces Round 106 (Rated for Div. 2) {1499} PROGRAMMING Educational Codeforces Round 106 Editorial
22185 Binary Removals brute force dp greedy implementation Statement B Educational Codeforces Round 106 (Rated for Div. 2) {1499} PROGRAMMING Educational Codeforces Round 106 Editorial
4929 Maximize the Remaining String brute force data structures dp greedy strings two pointers Statement G Codeforces Round 710 (Div. 3) {1506} PROGRAMMING Editorial
12592 Min Cost String brute force constructive algorithms dfs and similar graphs greedy Statement D Educational Codeforces Round 107 (Rated for Div. 2) {1511} PROGRAMMING 89634
27004 AGAGA XOOORRR bitmasks brute force dp greedy Statement B Codeforces Round 717 (Div. 2) {1516} PROGRAMMING 1000.0 Codeforces round #717 editorial
23791 Berland Regional brute force greedy sortings two pointers Statement C Educational Codeforces Round 108 (Rated for Div. 2) {1519} PROGRAMMING Educational Codeforces Round 108 Editorial
9224 Compression and Expansion brute force data structures greedy implementation trees Statement C Deltix Round, Spring 2021 (open for everyone, rated, Div. 1 + Div. 2) {1523} PROGRAMMING 1500.0 Deltix Round, Spring 2021. Editorial 1600
508 Goblins And Gnomes brute force dp graph matchings Statement F Educational Codeforces Round 109 (Rated for Div. 2) {1525} PROGRAMMING 90793
11099 Armchairs brute force dp greedy Statement D Educational Codeforces Round 109 (Rated for Div. 2) {1525} PROGRAMMING 90793
28229 Potions (Easy Version) brute force data structures dp greedy Statement C1 Codeforces Round 723 (Div. 2) {1526} PROGRAMMING 750.0 Codeforces Round #723 (Div. 2) Editorial
20097 Parsa's Humongous Tree brute force dfs and similar dp greedy trees Statement A Codeforces Round 722 (Div. 1) {1528} PROGRAMMING 750.0 Codeforces Round #722 Editorial
34611 Array Reodering brute force greedy math number theory sortings Statement B Educational Codeforces Round 110 (Rated for Div. 2) {1535} PROGRAMMING 91481
17090 Erase and Extend (Easy Version) binary search brute force dp greedy hashing string suffix structures strings Statement E1 Codeforces Round 726 (Div. 2) {1537} PROGRAMMING 1250.0 Codeforces Round #726 (Div.2) Editorial
18640 AquaMoon and Two Arrays brute force greedy Statement A Codeforces Round 732 (Div. 2) {1546} PROGRAMMING 500.0 Codeforces Round #732 Editorial 800
17940 Web of Lies brute force graphs greedy Statement A Codeforces Round 736 (Div. 1) {1548} PROGRAMMING 500.0 Codeforces Round 736 Editorial
10954 Manhattan Subarrays brute force geometry greedy implementation Statement C Educational Codeforces Round 111 (Rated for Div. 2) {1550} PROGRAMMING Educational Codeforces Round 111 Editorial
20101 Penalty brute force dp greedy Statement C Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 750.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
13990 Cobb bitmasks brute force greedy math Statement B Codeforces Round 735 (Div. 2) {1554} PROGRAMMING 1250.0 Editorial of Codeforces Round #735 (Div. 2) 1700
16610 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
3249 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
6849 Nearest Beautiful Number (easy version) binary search bitmasks brute force constructive algorithms dfs and similar greedy Statement F1 Codeforces Round 739 (Div. 3) {1560} PROGRAMMING 94009 1900
5119 Nearest Beautiful Number (hard version) bitmasks brute force constructive algorithms dfs and similar dp greedy Statement F2 Codeforces Round 739 (Div. 3) {1560} PROGRAMMING 94009 2100
2265 Xor of 3 brute force constructive algorithms greedy Statement B Codeforces Round 743 (Div. 1) {1572} PROGRAMMING 1250.0 Tutorial 2500
5447 Array Stabilization (AND version) binary search brute force graphs greedy implementation math number theory shortest paths Statement F Codeforces Round 744 (Div. 3) {1579} PROGRAMMING Codeforces Round #744 (Div. 3) Editorial
11784 Ticks brute force dp greedy implementation Statement C Codeforces Round 744 (Div. 3) {1579} PROGRAMMING Codeforces Round #744 (Div. 3) Editorial
3950 Portal brute force dp greedy implementation Statement A Codeforces Round 745 (Div. 1) {1580} PROGRAMMING 500.0 Codeforces Round #745 Editorial 1700
30681 Make Them Equal brute force greedy math strings Statement C Codeforces Round 747 (Div. 2) {1594} PROGRAMMING 1500.0 95525 1200
358 Bob's Beautiful Array bitmasks brute force greedy Statement J Bubble Cup 14 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred, Div. 1) {1599} PROGRAMMING BubbleCup2021.pdf
2128 AmShZ and G.O.A.T. binary search brute force greedy math Statement E Codeforces Global Round 17 {1610} PROGRAMMING 2500.0 Codeforces Global Round 17 Editorial
759 Armor and Weapons brute force dp greedy shortest paths Statement F Educational Codeforces Round 117 (Rated for Div. 2) {1612} PROGRAMMING 97164
24752 Divan and a Store brute force constructive algorithms greedy Statement A Codeforces Round 757 (Div. 2) {1614} PROGRAMMING 500.0 Tutorial 800
9295 Menorah brute force graphs greedy math Statement C Codeforces Global Round 18 {1615} PROGRAMMING 1750.0 Global Round 18 Editorial
8745 New Year's Problem binary search brute force greedy sortings Statement D Codeforces Round 762 (Div. 3) {1619} PROGRAMMING Tutorial
4905 Exact Change binary search brute force constructive algorithms greedy Statement D Educational Codeforces Round 119 (Rated for Div. 2) {1620} PROGRAMMING 98061
7366 BA-String bitmasks brute force dp greedy implementation math shortest paths Statement C Educational Codeforces Round 119 (Rated for Div. 2) {1620} PROGRAMMING 98061
2297 Math Test bitmasks brute force greedy Statement E Educational Codeforces Round 120 (Rated for Div. 2) {1622} PROGRAMMING Educational Codeforces Round 120 Editorial
4428 Martial Arts Tournament binary search brute force greedy Statement D Educational Codeforces Round 121 (Rated for Div. 2) {1626} PROGRAMMING 99136
17256 Meximum Array brute force constructive algorithms greedy math Statement A Codeforces Round 767 (Div. 1) {1628} PROGRAMMING 500.0 99276