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

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
17984 Longest Regular Bracket Sequence constructive algorithms data structures dp greedy sortings strings Statement C Codeforces Beta Round 5 {5} PROGRAMMING C, D и E с CBR5 - разбор 1900
4820 What is for dinner? greedy implementation Statement A Codeforces Beta Round 33 (Codeforces format) {33} PROGRAMMING Codeforces Beta Round #33. Analysis of problem A 1300
316408 Domino piling greedy math Statement A Codeforces Beta Round 47 {50} PROGRAMMING Round# 47 simple tutorial 800
3764 A Student's Dream greedy math Statement A Codeforces Beta Round 58 {62} PROGRAMMING Codeforces Beta Round #58 tutorial 1400
356 Table *special greedy implementation math Statement C Unknown Language Round 1 {64} PROGRAMMING 1700
194 Goshtasp, Vishtasp and Eidi *special greedy math Statement A Unknown Language Round 2 {72} PROGRAMMING 1900
143 Oil *special greedy math Statement F Unknown Language Round 2 {72} PROGRAMMING 2100
1633 The Elder Trolls IV: Oblivon greedy math Statement A Codeforces Beta Round 66 {73} PROGRAMMING Codeforces Beta Round #66 editorial: Problems A, B, C 1600
2047 Big Maximum Sum data structures dp greedy implementation math trees Statement D Codeforces Beta Round 67 (Div. 2) {75} PROGRAMMING Codeforces Beta Round #67 (Div. 2) Editorial 2100
2399 Plus and xor dp greedy math Statement D All-Ukrainian School Olympiad in Informatics {76} PROGRAMMING All-Ukrainian School Olympiad in Informatics: editorial (A,B,C,D,E,F) 1800
1850 Average Score greedy math sortings Statement C Yandex.Algorithm Open 2011: Qualification 1 {81} PROGRAMMING 1700
451 Tetris revisited constructive algorithms graph matchings greedy math Statement B Yandex.Algorithm 2011: Round 2 {86} PROGRAMMING Problemset analysis (Yandex, Round 2) 2100
5483 Cableway greedy math Statement A Codeforces Beta Round 74 (Div. 2 Only) {90} PROGRAMMING Solutions for Codeforces Beta Round #74 1000
76 Interval Coloring *special greedy math Statement J Unknown Language Round 3 {100} PROGRAMMING 2400
6563 Testing Pants for Sadness greedy implementation math Statement A Codeforces Beta Round 80 (Div. 1 Only) {103} PROGRAMMING Tutorial 1200
5729 Division into Teams greedy math sortings Statement C Codeforces Round 106 (Div. 2) {149} PROGRAMMING Codeforces Round #106 (Div. 2) Tutorial 1500
7415 Median greedy math sortings Statement C Codeforces Round 113 (Div. 2) {166} PROGRAMMING Codeforces Round #113 (Div. 2) Tutorial 1500
6242 Vasya and the Bus greedy math Statement A Codeforces Round 120 (Div. 2) {190} PROGRAMMING Codeforces Round #120 (Div.2) — editorial 1300
603 Hamming Distance constructive algorithms greedy math matrices Statement C Codeforces Round 122 (Div. 1) {193} PROGRAMMING Editoral Codeforces Round #122 2400
5343 Hometask brute force constructive algorithms greedy math Statement B Codeforces Round 131 (Div. 2) {214} PROGRAMMING Codeforces Round #131 Tutorial 1600
5963 Olympic Medal greedy math Statement B Codeforces Round 132 (Div. 2) {215} PROGRAMMING Codeforces Round #132 (Div. 2) Tutorial 1300
20575 Two Bags of Potatoes greedy implementation math Statement A Codeforces Round 148 (Div. 2) {239} PROGRAMMING Editorial for Codeforces Round #148 1200
12243 Increase and Decrease greedy math Statement B Codeforces Round 151 (Div. 2) {246} PROGRAMMING Codeforces Round #151 (Div. 2) Tutorial 1300
1714 Sum greedy math Statement D Codeforces Round 159 (Div. 2) {257} PROGRAMMING Codeforces Round #159 (Div. 2) Разбор Задач 1900
26419 Little Elephant and Bits greedy math Statement A Codeforces Round 157 (Div. 1) {258} PROGRAMMING Codeforces Round #157 — Editorial 1200
1427 Below the Diagonal constructive algorithms greedy math Statement C Codeforces Round 163 (Div. 2) {266} PROGRAMMING Codeforces Round #163 (Div. 2) Tutorial 2000
3692 Magical Boxes greedy math Statement A Codeforces Round 165 (Div. 1) {269} PROGRAMMING Tutorial 1700
16293 Little Girl and Maximum XOR bitmasks dp greedy implementation math Statement D Codeforces Round 169 (Div. 2) {276} PROGRAMMING Codeforces Round #169 — Unofficial Editorial 1800
1590 Beautiful Decomposition dp games greedy number theory Statement E Codeforces Round 171 (Div. 2) {279} PROGRAMMING Codeforces Round #171 (Div. 2) Разбор Задач 2100
13959 Painting Eggs greedy math Statement B Codeforces Round 173 (Div. 2) {282} PROGRAMMING Round #173 — Editorial 1500
25954 Yaroslav and Permutations greedy math Statement A Codeforces Round 179 (Div. 2) {296} PROGRAMMING Codeforces Round #179 tutorial 1100
5933 Ilya and Matrix constructive algorithms greedy implementation sortings Statement C Codeforces Round 186 (Div. 2) {313} PROGRAMMING Tutorial 1400
594 Ciel and Flipboard dp greedy math Statement D Codeforces Round 190 (Div. 1) {321} PROGRAMMING Codeforces Round #190 — Editorial 2900
10050 Routine Problem greedy math number theory Statement B Codeforces Round 196 (Div. 2) {337} PROGRAMMING Codeforces Round #196 — Problems Analysis 1400
5222 Quiz binary search greedy math matrices number theory Statement C Codeforces Round 196 (Div. 2) {337} PROGRAMMING Codeforces Round #196 — Problems Analysis 1700
273166 Helpful Maths greedy implementation sortings strings Statement A Codeforces Round 197 (Div. 2) {339} PROGRAMMING Codeforces Round #197 — Tutorial 900
13849 Xenia and Divisors greedy implementation Statement A Codeforces Round 199 (Div. 2) {342} PROGRAMMING Tutorial 1300
1499 Number Transformation II greedy math Statement C Codeforces Round 201 (Div. 1) {346} PROGRAMMING Codeforces Round #201 Editorial 2200
15097 Color the Fence data structures dp greedy implementation Statement B Codeforces Round 202 (Div. 2) {349} PROGRAMMING Editorial for Codeforces Round #202 1700
3093 Jeff and Rounding dp greedy implementation math Statement A Codeforces Round 204 (Div. 1) {351} PROGRAMMING Codeforces Round #204 — tutorial 1900
2430 Two Heaps combinatorics constructive algorithms greedy implementation math sortings Statement B Codeforces Round 205 (Div. 2) {353} PROGRAMMING 9145 1800
5652 Vasya and Robot brute force greedy math Statement A Codeforces Round 206 (Div. 1) {354} PROGRAMMING Codeforces Round #206 — Editorial 1600
2801 Two Semiknights Meet greedy math Statement A Codeforces Round 212 (Div. 2) {362} PROGRAMMING Codeforces Round #212 (Div. 2). Tutorial. Part 1. 1500
1714 Mittens constructive algorithms greedy sortings Statement C Codeforces Round 217 (Div. 2) {370} PROGRAMMING Codeforces Round #217 (Div. 2): tutorial 1800
6637 K-Periodic Array greedy implementation math Statement A Codeforces Round 218 (Div. 2) {371} PROGRAMMING Codeforces Round #218 (Div. 2): Tutorial 1200
1436 Subway Innovation greedy math two pointers Statement E Codeforces Round 218 (Div. 2) {371} PROGRAMMING Codeforces Round #218 (Div. 2): Tutorial 2200
10812 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
14957 Fox and Number Game greedy math Statement A Codeforces Round 228 (Div. 2) {389} PROGRAMMING Codeforces Round #228 — Editorial 1100
4596 Sereja and Contests greedy implementation math Statement B Codeforces Round 235 (Div. 2) {401} PROGRAMMING Codeforces Round #235 (Div. 2) — Tutorial 1200
4872 Nuts greedy math Statement A Codeforces Round 236 (Div. 2) {402} PROGRAMMING Editorial Codeforces Round #236 1200
2782 Upgrading Array dp greedy math number theory Statement D Codeforces Round 236 (Div. 2) {402} PROGRAMMING Editorial Codeforces Round #236 2000
3285 Toy Sum greedy implementation math Statement D Codeforces Round 238 (Div. 2) {405} PROGRAMMING Codeforces Round #238 Tutorial 1900
2674 Jeopardy! greedy math Statement C Coder-Strike 2014 - Round 2 {413} PROGRAMMING Editorial of Coder-Strike 2014 Round 2 1400
6683 Mashmokh and Tokens binary search greedy implementation math Statement B Codeforces Round 240 (Div. 2) {415} PROGRAMMING Codeforces Round #240 Editorial 1500
1089 Population Size greedy implementation math Statement D Codeforces Round 241 (Div. 2) {416} PROGRAMMING Codeforces Round #241 — editorial 2300
1606 Police Patrol greedy implementation math ternary search Statement E Codeforces Round 244 (Div. 2) {427} PROGRAMMING Codeforces Round #244 (Div. 2) Editorial 2000
6082 Andrey and Problem greedy math probabilities Statement B Codeforces Round 253 (Div. 1) {442} PROGRAMMING Codeforces #253 editorial 1800
3575 DZY Loves Physics greedy math Statement A Codeforces Round 254 (Div. 1) {444} PROGRAMMING Codeforces Round #254 Editorial 1800
4121 Jzzhu and Chocolate greedy math Statement A Codeforces Round 257 (Div. 1) {449} PROGRAMMING Codeforces Round #257 Editorial 1700
8393 24 Game constructive algorithms greedy math Statement A Codeforces Round 268 (Div. 1) {468} PROGRAMMING 13896 1600
3732 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
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
2621 LIS of Sequence data structures dp greedy hashing math Statement E Codeforces Round 277 (Div. 2) {486} PROGRAMMING Codeforces Round #277(Div. 2) Editorial 2400
70095 Team Olympiad greedy implementation sortings Statement A Codeforces Round 279 (Div. 2) {490} PROGRAMMING Codeforces Round #279 (Div. 2) Editorial 900
653 New York Hotel greedy math Statement B Testing Round 11 {491} PROGRAMMING 1900
6031 New Year Book Reading constructive algorithms greedy implementation math Statement C Good Bye 2014 {500} PROGRAMMING Tutorial 2 1600
9584 New Year Permutation dfs and similar dsu graphs greedy math sortings Statement B Good Bye 2014 {500} PROGRAMMING Tutorial 2 1600
23968 Anton and currency you all know greedy math strings Statement B Codeforces Round 288 (Div. 2) {508} PROGRAMMING 16048 1300
28656 Drazil and Factorial greedy math sortings Statement C Codeforces Round 292 (Div. 2) {515} PROGRAMMING Codeforces Round #292 Editorial 1400
1061 Arthur and Questions greedy implementation math ternary search Statement E Codeforces Round 293 (Div. 2) {518} PROGRAMMING 2400
20690 A and B and Team Training greedy implementation math number theory Statement C Codeforces Round 294 (Div. 2) {519} PROGRAMMING Editorial 1300
61809 Two Buttons dfs and similar graphs greedy implementation math shortest paths Statement B Codeforces Round 295 (Div. 2) {520} PROGRAMMING Codeforces Round #295 Editorial (now with bonuses!) 1400
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
6058 Ilya and Sticks greedy math sortings Statement C Codeforces Round 297 (Div. 2) {525} PROGRAMMING Codeforces Round #297 (Div.2) Editorial 1600
2646 Om Nom and Candies brute force greedy math Statement C ZeptoLab Code Rush 2015 {526} PROGRAMMING ZeptoLab Code Rush 2015 — Editorial 2000
2434 Board Game games greedy implementation math Statement C VK Cup 2015 - Round 2 (unofficial online mirror, Div. 1 only) {533} PROGRAMMING Разбор VK Cup Round 2 1700
11323 Covered Path dp greedy math Statement B Codeforces Round 298 (Div. 2) {534} PROGRAMMING 1400
3983 Tavas and Karafs binary search greedy math Statement C Codeforces Round 299 (Div. 2) {535} PROGRAMMING Codeforces Round #299 Editorial 1900
6126 Tourist's Notes binary search brute force greedy implementation math Statement C Codeforces Round 300 {538} PROGRAMMING Codeforces Round #300 Editorial (+challenges) 1600
2746 Mike and Frog brute force greedy implementation math Statement A Codeforces Round 305 (Div. 1) {547} PROGRAMMING Codeforces Round #305 Editorial 1900
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
5861 Vanya and Scales brute force dp greedy math meet-in-the-middle number theory Statement C Codeforces Round 308 (Div. 2) {552} PROGRAMMING Codeforces #308 (Div. 2) Editorial 1800
1733 Vanya and Brackets brute force dp expression parsing greedy implementation strings Statement E Codeforces Round 308 (Div. 2) {552} PROGRAMMING Codeforces #308 (Div. 2) Editorial 2300
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
8503 Ilya and Diplomas greedy implementation math Statement A Codeforces Round 311 (Div. 2) {557} PROGRAMMING Codeforces Round #311 (Div.2) Editorial 1200
4209 Arthur and Table brute force data structures dp greedy math sortings Statement C Codeforces Round 311 (Div. 2) {557} PROGRAMMING Codeforces Round #311 (Div.2) Editorial 1900
4202 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
7500 Inventory greedy math Statement B Codeforces Round 315 (Div. 2) {569} PROGRAMMING Codeforces Round #315 Editorial 1200
16850 Simple Game constructive algorithms games greedy implementation math Statement B Codeforces Round 316 (Div. 2) {570} PROGRAMMING Codeforces Round #316 Editorial 1300
1489 Anton and Ira constructive algorithms greedy math Statement E Codeforces Round 324 (Div. 2) {584} PROGRAMMING Tutorial 2400
8237 Alternative Thinking dp greedy math Statement A Codeforces Round 334 (Div. 1) {603} PROGRAMMING Codeforces Round #334 Bonus Editorial: More Ideas on Div. 1 E 1600
554 Birthday greedy math probabilities Statement D AIM Tech Round (Div. 1) {623} PROGRAMMING 2600
4613 Block Towers brute force greedy math number theory Statement C 8VC Venture Cup 2016 - Elimination Round {626} PROGRAMMING 23522 1600
606 Raffles data structures dp greedy math Statement G 8VC Venture Cup 2016 - Elimination Round {626} PROGRAMMING 23522 3000
3516 Thief in a Shop divide and conquer dp fft math Statement E Educational Codeforces Round 9 {632} PROGRAMMING 43493 2500
614 Bear and Paradox greedy math sortings Statement E VK Cup 2016 - Round 1 {639} PROGRAMMING Tutorial 2800
3697 Mischievous Mess Makers greedy math Statement B CROC 2016 - Elimination Round {645} PROGRAMMING Editorial for CROC 2016 Elimination Round 1300
24106 Joysticks dp greedy implementation math Statement A Codeforces Round 345 (Div. 2) {651} PROGRAMMING 1100
10251 Co-prime Array greedy implementation math number theory Statement A Educational Codeforces Round 11 {660} PROGRAMMING Editorial of Educational Codeforces Round 11 1300
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
18604 Holidays brute force constructive algorithms greedy math Statement A Codeforces Round 350 (Div. 2) {670} PROGRAMMING Codeforces Round #350 (Div.2) Editorial 1000
3437 Recover the String constructive algorithms greedy implementation math Statement B AIM Tech Round 3 (Div. 1) {708} PROGRAMMING Editorial 1900
6193 Memory and De-Evolution greedy math Statement C Codeforces Round 370 (Div. 2) {712} PROGRAMMING Codeforces Round #370 Editorial 1600
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
4222 Batch Sort brute force greedy implementation math Statement B Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined) {724} PROGRAMMING Tutorial 1500
2264 Ray Tracing greedy hashing implementation math number theory sortings Statement C Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined) {724} PROGRAMMING Tutorial 1800
4074 Sea Battle constructive algorithms greedy math Statement D Technocup 2017 - Elimination Round 2 {729} PROGRAMMING 1700
912 Running Over The Bridges greedy implementation math Statement D 2016-2017 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) {730} PROGRAMMING Разбор задач (видео, по-русски) 2400
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
31883 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
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
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
1847 Numbers Exchange greedy implementation math Statement E Codeforces Round 386 (Div. 2) {746} PROGRAMMING Codeforces Round #386 (Div.2) Editorial 1800
56864 Bachgold Problem greedy implementation math number theory Statement A Codeforces Round 388 (Div. 2) {749} PROGRAMMING Tutorial 700
6984 New Year and Rating binary search greedy math Statement C Good Bye 2016 {750} PROGRAMMING Good Bye 2016 — hints and codes 1600
9909 Santa Claus and Candies dp greedy math Statement A Testing Round 13 {753} PROGRAMMING 1100
11403 Bash's Big Day greedy math number theory Statement B Codecraft-17 and Codeforces Round 391 (Div. 1 + Div. 2, combined) {757} PROGRAMMING CodeCraft-17 and Codeforces Round #391 (Div. 1 + Div. 2, combined) Editorial 1400
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
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
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
5761 Not Afraid greedy implementation math Statement B Codeforces Round 406 (Div. 2) {787} PROGRAMMING Codeforces Round #406 Editorial 1300
4982 Divide by Three dp greedy math number theory Statement C Educational Codeforces Round 18 {792} PROGRAMMING Educational Codeforces Round 18 - Editorial 2000
1263 Colored Balls greedy math number theory Statement E Educational Codeforces Round 18 {792} PROGRAMMING Educational Codeforces Round 18 - Editorial 2400
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
10151 Minimum number of steps combinatorics greedy implementation math Statement B Codeforces Round 411 (Div. 1) {804} PROGRAMMING Codeforces Round #411 Editorial 1400
19152 Fake NP greedy math Statement A Codeforces Round 411 (Div. 2) {805} PROGRAMMING 51846 1000
3282 My pretty girl Noora brute force dp greedy math number theory Statement D Codeforces Round 422 (Div. 2) {822} PROGRAMMING Codeforces Round #422 (Div. 2) Editorial 1800
507 Ever-Hungry Krakozyabra brute force combinatorics greedy math Statement C Codeforces Round 426 (Div. 1) {833} PROGRAMMING Codeforces Round #426 Editorial 2600
7445 Leha and Function combinatorics greedy math number theory sortings Statement A Codeforces Round 429 (Div. 1) {840} PROGRAMMING Editorial 1300
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
660 Property greedy sortings Statement C Bubble Cup X - Finals [Online Mirror] {852} PROGRAMMING Tutorial 2500
6231 Bus greedy implementation math Statement C Codeforces Round 436 (Div. 2) {864} PROGRAMMING 1500
6367 Make a Permutation! greedy implementation math Statement D Codeforces Round 436 (Div. 2) {864} PROGRAMMING 1500
9758 Maximum splitting dp greedy math number theory Statement C Technocup 2018 - Elimination Round 2 {870} PROGRAMMING Editorial Codeforces Round 440 Div.1+Div.2 (and Technocup 2018 — Elimination Round 2) 1300
3837 Quadcopter Competition greedy math Statement M 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) {883} PROGRAMMING 1100
5163 Bertown Subway dfs and similar greedy math Statement C Educational Codeforces Round 31 {884} PROGRAMMING 55470 1500
14178 Pride brute force dp greedy math number theory Statement A Codeforces Round 446 (Div. 1) {891} PROGRAMMING Codeforces Round #446 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
2006 Jamie and Binary Sequence (changed after round) bitmasks greedy math Statement B Codeforces Round 457 (Div. 2) {916} PROGRAMMING Codeforces Round #457 (Div. 2) Editorial 1700
3670 The Monster dp greedy implementation math Statement A Codeforces Round 459 (Div. 1) {917} PROGRAMMING Codeforces Round #459 Editorial 1900
9955 Swap Adjacent Elements dfs and similar greedy math sortings two pointers Statement C Educational Codeforces Round 37 (Rated for Div. 2) {920} PROGRAMMING T 1500
13071 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
4380 Cashback data structures dp greedy math Statement E Codeforces Round 466 (Div. 2) {940} PROGRAMMING [Editorial] Codeforces Round #466 (Div. 2) 2000
6998 Feed the cat greedy math Statement A Codeforces Round 471 (Div. 2) {955} PROGRAMMING Editorial 1100
1776 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
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
2171 Kuro and GCD and XOR and SUM binary search bitmasks brute force data structures dp dsu greedy math number theory strings trees Statement D Codeforces Round 482 (Div. 2) {979} PROGRAMMING 1750.0 Codeforces Round #482 (Div. 2) Editorial 2200
340 Concise and clear brute force greedy implementation math Statement F Codeforces Round 491 (Div. 2) {991} PROGRAMMING 60181 2800
7436 Suit and Tie greedy implementation math Statement B Codeforces Round 492 (Div. 1) [Thanks, uDebug!] {995} PROGRAMMING Editorial for Codeforces Round #492 [Thanks u-Debug!] 1500
2049 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
8653 Convert to Ones brute force greedy implementation math Statement A Codeforces Round 493 (Div. 1) {997} PROGRAMMING 60357 1500
3135 Roman Digits brute force combinatorics dp greedy math Statement B Codeforces Round 493 (Div. 1) {997} PROGRAMMING 60357 2000
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
5537 Annoying Present greedy math Statement C Educational Codeforces Round 47 (Rated for Div. 2) {1009} PROGRAMMING 60630 1700
15671 Death Note greedy implementation math Statement A Educational Codeforces Round 48 (Rated for Div. 2) {1016} PROGRAMMING Разбор Educational Codeforces Round 48 900
8497 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
18407 Creating the Contest dp greedy math Statement B Codeforces Round 506 (Div. 3) {1029} PROGRAMMING Codeforces Round #506 (Div. 3) Editorial 1200
8238 Maximal Intersection greedy math sortings Statement C Codeforces Round 506 (Div. 3) {1029} PROGRAMMING Codeforces Round #506 (Div. 3) Editorial 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
7473 Shashlik Cooking dp greedy math Statement B Codeforces Round 507 (Div. 2, based on Olympiad of Metropolises) {1040} PROGRAMMING Codeforces Round #507 (based on Olympiad of Metropolises) — Editorial 1300
4966 Array Product constructive algorithms greedy math Statement C Codeforces Round 510 (Div. 2) {1042} PROGRAMMING Tutorial 1700
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
18779 Relatively Prime Pairs greedy math number theory Statement B Educational Codeforces Round 51 (Rated for Div. 2) {1051} PROGRAMMING Educational Codeforces Round 51 Editorial 1000
9868 Vasya and Multisets brute force dp greedy implementation math Statement C Educational Codeforces Round 51 (Rated for Div. 2) {1051} PROGRAMMING Educational Codeforces Round 51 Editorial 1400
449 New Road Network constructive algorithms greedy math Statement G Mail.Ru Cup 2018 Round 1 {1054} PROGRAMMING Editorial 2900
3874 Social Circles greedy math Statement D Codeforces Round 513 by Barcelona Bootcamp (rated, Div. 1 + Div. 2) {1060} PROGRAMMING User editorial for Codeforces Round 513 by Barcelona Bootcamp (rated, Div. 1 + Div. 2) 1900
23998 Coins greedy implementation math Statement A Codeforces Round 523 (Div. 2) {1061} PROGRAMMING Tutorial (en) 800
5946 Banh-mi greedy implementation math Statement C Codeforces Round 520 (Div. 2) {1062} PROGRAMMING Tutorial 1600
9823 Math greedy math number theory Statement B Codeforces Round 520 (Div. 2) {1062} PROGRAMMING Tutorial 1600
490 Computer Game dp greedy math probabilities Statement D Codeforces Round 518 (Div. 1) [Thanks, Mail.Ru!] {1067} PROGRAMMING Tutorial 2800
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
1614 Ehab and a component choosing problem dp greedy math trees Statement E Codeforces Round 525 (Div. 2) {1088} PROGRAMMING Codeforces round #525 editorial 2400
1419 Berland University greedy math Statement L 2018-2019 Russia Open High School Programming Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1090} PROGRAMMING 2100
1086 New Year and the Acquaintance Estimation binary search data structures graphs greedy implementation math sortings Statement E Good Bye 2018 {1091} PROGRAMMING Editorial 2400
5641 Great Vova Wall (Version 1) greedy implementation math Statement D1 Codeforces Round 527 (Div. 3) {1092} PROGRAMMING Codeforces Round #527 (Div. 3) Editorial 2100
19600 Find Divisible greedy implementation math Statement A Educational Codeforces Round 57 (Rated for Div. 2) {1096} PROGRAMMING Разбор Educational Codeforces Round 57 800
1796 Nice table brute force constructive algorithms greedy math Statement B Codeforces Round 530 (Div. 1) {1098} PROGRAMMING 64331 2300
3657 Ivan and Burgers data structures divide and conquer greedy math Statement F Codeforces Round 532 (Div. 2) {1100} PROGRAMMING Unofficial Tutorial 2600
15738 Lunar New Year and Number Division greedy implementation math sortings Statement C Codeforces Round 536 (Div. 2) {1106} PROGRAMMING Tutorial 1000
25136 Divisors of Two Integers brute force greedy math number theory Statement B Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1100
12640 Nice Garland brute force greedy math Statement C Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1300
18297 Sasha and His Trip dp greedy math Statement A Codeforces Round 539 (Div. 2) {1113} PROGRAMMING Codeforces Round #539 Editorial 900
15715 Emotes greedy math sortings Statement B Educational Codeforces Round 60 (Rated for Div. 2) {1117} PROGRAMMING 65365 1000
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
4199 Circus brute force greedy math strings Statement B Codeforces Round 545 (Div. 2) {1138} PROGRAMMING Codeforces Round #545 – Editorial 1700
13145 Minimum Triangulation dp greedy math Statement D Educational Codeforces Round 62 (Rated for Div. 2) {1140} PROGRAMMING Educational Codeforces Round 62 Editorial 1200
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
9053 Stas and the Queue at the Buffet greedy math sortings Statement D Codeforces Round 553 (Div. 2) {1151} PROGRAMMING Codeforces Round #553 (Div. 2) Editorial 1500
16195 Neko Finds Grapes greedy implementation math Statement A Codeforces Round 554 (Div. 2) {1152} PROGRAMMING T 800
7789 Serval and Parenthesis Sequence greedy strings Statement C Codeforces Round 551 (Div. 2) {1153} PROGRAMMING Editorial 1600
5521 Serval and Rooted Tree binary search dfs and similar dp greedy trees Statement D Codeforces Round 551 (Div. 2) {1153} PROGRAMMING Editorial 1800
3247 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
3991 N Problems During K Days constructive algorithms greedy math Statement D Codeforces Round 555 (Div. 3) {1157} PROGRAMMING 66737 2100
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
13846 Eating Soup greedy math Statement A Codeforces Round 558 (Div. 2) {1163} PROGRAMMING 66943 1000
9894 Two Arrays and Sum of Functions greedy math sortings Statement E Codeforces Round 560 (Div. 3) {1165} PROGRAMMING Codeforces Round #560 (Div. 3) Editorial 1800
2282 Cute Sequences binary search brute force greedy math Statement D Codeforces Round 561 (Div. 2) {1166} PROGRAMMING Codeforces Round #561 (Div. 2) Editorial 2100
13170 Tiles combinatorics greedy math Statement C Codeforces Global Round 4 {1178} PROGRAMMING E 1300
7903 Prime Graph constructive algorithms greedy math number theory Statement D Codeforces Global Round 4 {1178} PROGRAMMING E 1600
2444 Serge and Dining Room binary search data structures graph matchings greedy implementation math trees Statement C Codeforces Round 569 (Div. 1) {1179} PROGRAMMING Editorial of Round #569 2400
14774 Chunga-Changa greedy math Statement A Codeforces Round 567 (Div. 2) {1181} PROGRAMMING Editorial of Codeforces Round #567 (based on All-Russian olympiad in the name of Keldysh) 1000
7808 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
9303 Vus the Cossack and Numbers constructive algorithms greedy math Statement D Codeforces Round 571 (Div. 2) {1186} PROGRAMMING E 1600
15285 Number Circle greedy math sortings Statement B Codeforces Round 572 (Div. 2) {1189} PROGRAMMING Editorial of Codeforces Round #572 1100
14180 Drinks Choosing greedy math Statement A Codeforces Round 574 (Div. 2) {1195} PROGRAMMING Разбор Codeforces Round #574 (Div. 2) 1100
14027 DIY Wooden Ladder greedy math sortings Statement A Educational Codeforces Round 69 (Rated for Div. 2) {1197} PROGRAMMING E 1000
5774 Yet Another Subarray Problem dp greedy math Statement D Educational Codeforces Round 69 (Rated for Div. 2) {1197} PROGRAMMING E 1900
32761 Maximum Median binary search greedy math sortings Statement C Codeforces Round 577 (Div. 2) {1201} PROGRAMMING Codeforces Round #577 (Div 2) Editorial 1400
25276 Zero Array greedy math Statement B Codeforces Round 577 (Div. 2) {1201} PROGRAMMING Codeforces Round #577 (Div 2) Editorial 1500
2763 You Are Given a WASD-string... brute force data structures dp greedy implementation math strings Statement C Educational Codeforces Round 70 (Rated for Div. 2) {1202} PROGRAMMING 68972 2100
16898 Equal Rectangles greedy math Statement B Codeforces Round 579 (Div. 3) {1203} PROGRAMMING Codeforces Round #579 (Div. 3) Editorial 1200
18318 Mislove Has Lost an Array greedy math Statement B Codeforces Round 581 (Div. 2) {1204} PROGRAMMING 69244 1000
3390 Kirk and a Binary String (hard version) data structures greedy math strings Statement D2 Codeforces Round 581 (Div. 2) {1204} PROGRAMMING 69244 2100
14695 Almost Equal constructive algorithms greedy math Statement A Codeforces Round 580 (Div. 1) {1205} PROGRAMMING 69158 1300
23369 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
926 Polygons greedy math number theory Statement G Manthan, Codefest 19 (open for everyone, rated, Div. 1 + Div. 2) {1208} PROGRAMMING 69357 2700
228 Moving Walkways data structures greedy math Statement H Codeforces Round 584 - Dasha Code Championship - Elimination Round (rated, open for everyone, Div. 1 + Div. 2) {1209} PROGRAMMING 69791 3300
12832 Paint the Numbers greedy implementation math Statement A Codeforces Round 584 - Dasha Code Championship - Elimination Round (rated, open for everyone, Div. 1 + Div. 2) {1209} PROGRAMMING 69791 900
252 Teams *special binary search greedy math Statement D Kotlin Heroes: Episode 2 {1211} PROGRAMMING Kotlin Heroes: Episode 2 Editorial 2200
12172 Yellow Cards greedy implementation math Statement A Codeforces Round 585 (Div. 2) {1215} PROGRAMMING Codeforces Round #585 Editorial 1000
6555 Ticket Game games greedy math Statement D Codeforces Round 585 (Div. 2) {1215} PROGRAMMING Codeforces Round #585 Editorial 1700
11844 Zmei Gorynich greedy math Statement B Educational Codeforces Round 72 (Rated for Div. 2) {1217} PROGRAMMING Educational Codeforces Round 72 Editorial 1600
2061 Sum Queries? data structures greedy implementation math Statement E Educational Codeforces Round 72 (Rated for Div. 2) {1217} PROGRAMMING Educational Codeforces Round 72 Editorial 2300
18139 2048 Game brute force greedy math Statement A Educational Codeforces Round 73 (Rated for Div. 2) {1221} PROGRAMMING Разбор Educational Codeforces Round 73 1000
17237 Stones brute force greedy math Statement A Codeforces Round 593 (Div. 2) {1236} PROGRAMMING 70654 800
7840 Standard Free2play dp greedy math Statement C Educational Codeforces Round 74 (Rated for Div. 2) {1238} PROGRAMMING Educational Codeforces Round 74 Editorial 1600
1519 Running in Pairs constructive algorithms greedy math Statement G Codeforces Round 592 (Div. 2) {1244} PROGRAMMING Codeforces Round #592 (Div. 2) Tutorial 2500
17992 Grow The Tree greedy math sortings Statement B Codeforces Round 594 (Div. 2) {1248} PROGRAMMING Editorial of Codeforces Round #594 (on the problems of Moscow Team Olympiad) 900
13511 Good Numbers (hard version) binary search greedy math meet-in-the-middle Statement C2 Codeforces Round 595 (Div. 3) {1249} PROGRAMMING Codeforces Round #595 (Div. 3) Editorial 1500
4684 Divide The Students binary search greedy math Statement L 2019-2020 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Teams Preferred) {1250} PROGRAMMING 1700
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
1359 Songwriter greedy two pointers Statement E 2019-2020 ICPC, Asia Jakarta Regional Contest (Online Mirror, ICPC Rules, Teams Preferred) {1252} PROGRAMMING T 2300
15284 Sweets Eating dp greedy math sortings Statement C Codeforces Round 600 (Div. 2) {1253} PROGRAMMING Editorial 1500
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
730 Divisor Set divide and conquer fft greedy math number theory Statement G Educational Codeforces Round 76 (Rated for Div. 2) {1257} PROGRAMMING Educational Codeforces Round 76 Editorial 2700
21657 Two Rival Students greedy math Statement A Educational Codeforces Round 76 (Rated for Div. 2) {1257} PROGRAMMING Educational Codeforces Round 76 Editorial 700
8773 Infinite Fence greedy math number theory Statement C Educational Codeforces Round 77 (Rated for Div. 2) {1260} PROGRAMMING Educational Codeforces Round 77 Editorial 1700