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
18799 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
3033 Ball data structures sortings Statement D Codeforces Beta Round 12 (Div 2 Only) {12} PROGRAMMING 2400
972 Map data structures implementation sortings Statement D Codeforces Beta Round 15 {15} PROGRAMMING Короткий разбор задач CF #15 2500
891 Parade data structures sortings Statement E Codeforces Beta Round 35 (Div. 2) {35} PROGRAMMING 2300
479 Cannon data structures geometry sortings Statement E Codeforces Beta Round 44 (Div. 2) {47} PROGRAMMING Codeforces Beta Round #44: tutorial 2100
2902 Domino Principle binary search data structures sortings Statement E Codeforces Beta Round 52 (Div. 2) {56} PROGRAMMING CodeForces Beta Round #52 :: Разбор задач 2100
662 Lucky Tickets binary search data structures sortings two pointers Statement C Codeforces Beta Round 64 {70} PROGRAMMING Analysis Codeforces Beta Round #64 2200
911 General Mobilization data structures dfs and similar sortings Statement C Yandex.Algorithm 2011: Qualification 2 {82} PROGRAMMING 1889 1900
2622 Time to Raid Cowavans brute force data structures sortings Statement D Codeforces Beta Round 80 (Div. 1 Only) {103} PROGRAMMING Tutorial 2200
980 Mushroom Gnomes - 2 binary search data structures probabilities sortings Statement C Codeforces Beta Round 99 (Div. 1) {138} PROGRAMMING Codeforces Beta Round #99: editorial 2500
1101 Zebra Tower *special data structures greedy sortings Statement E VK Cup 2012 Qualification Round 2 {159} PROGRAMMING Simple solution to vk cup Qualification Round 1 and 2 2100
714 Buses and People binary search data structures sortings Statement E Codeforces Round 111 (Div. 2) {160} PROGRAMMING Codeforces Round #111 (Div. 2) Разбор Задач 2400
766 Camping Groups data structures sortings Statement E Croc Champ 2012 - Round 1 {173} PROGRAMMING Croc Champ 2012 — Round 1 — Editorial 2600
1797 Counter Attack data structures dsu graphs hashing sortings Statement E Codeforces Round 120 (Div. 2) {190} PROGRAMMING Codeforces Round #120 (Div.2) — editorial 2300
589 Gripping Story binary search data structures sortings Statement E Codeforces Round 125 (Div. 1) {198} PROGRAMMING Solutions for Codeforces Round #125 2400
4748 Blood Cousins Return binary search data structures dfs and similar dp sortings Statement E Codeforces Round 151 (Div. 2) {246} PROGRAMMING Codeforces Round #151 (Div. 2) Tutorial 2300
600 Donkey and Stars data structures dp geometry math sortings Statement D Codeforces Round 152 (Div. 1) {249} PROGRAMMING Разбор задач Codeforces Round #152 2600
613 Printer binary search data structures implementation sortings Statement E Codeforces Round 154 (Div. 2) {253} PROGRAMMING Codeforces Round #154 (Div. 2) — tutorial 2300
535 Maximum Waterfall data structures dp graphs sortings Statement D Codeforces Round 165 (Div. 1) {269} PROGRAMMING Разбор Codeforces Round #165 2500
41868 Little Girl and Maximum Sum data structures greedy implementation sortings Statement C Codeforces Round 169 (Div. 2) {276} PROGRAMMING Codeforces Round #169 — Unofficial Editorial 1600
500 Tourists data structures sortings Statement D Codeforces Round 176 (Div. 1) {286} PROGRAMMING Tutorial 2500
534 Optimizer data structures greedy sortings Statement B Testing Round 6 {306} PROGRAMMING 2000
620 Sereja and Straight Lines binary search data structures geometry sortings two pointers Statement D Codeforces Round 187 (Div. 1) {314} PROGRAMMING Codeforces Round #187 tutorial 2400
1562 Oh Sweet Beaverette data structures sortings Statement A2 ABBYY Cup 3.0 - Finals (online version) {331} PROGRAMMING ABBYY Cup 3.0 — Finals. Solutions 1600
1050 Students' Revenge data structures greedy sortings Statement C Codeforces Round 193 (Div. 2) {332} PROGRAMMING 8447 2200
320 Looking for Owls binary search data structures geometry hashing sortings Statement D Codeforces Round 203 (Div. 2) {350} PROGRAMMING Editorial Codeforces Round #203 (Div. 2) 2600
5464 Maximum Submatrix 2 data structures dp implementation sortings Statement B Codeforces Round 221 (Div. 1) {375} PROGRAMMING Codeforces Round #221 Tutorial 1800
2554 Preparing for the Contest binary search data structures greedy sortings Statement B Codeforces Round 222 (Div. 1) {377} PROGRAMMING Codeforces Round #222 — Problem Analysis 2100
700 Bug in Code binary search data structures sortings Statement D Coder-Strike 2014 - Finals (online edition, Div. 2) {421} PROGRAMMING Editorial Coder-Strike 2014 Finals 2100
13285 Pashmak and Parmida's problem data structures divide and conquer sortings Statement D Codeforces Round 261 (Div. 2) {459} PROGRAMMING Codeforces Round #261 Editorial 1800
4387 Pillars binary search data structures dp sortings trees Statement E Codeforces Round 271 (Div. 2) {474} PROGRAMMING Codeforces Round #271 (Div. 2) Editorial 2200
7555 Vasya and Basketball binary search brute force data structures implementation sortings two pointers Statement C Codeforces Round 281 (Div. 2) {493} PROGRAMMING Codeforces Round #281 (Div. 2) Editorial 1700
6091 Misha and Forest constructive algorithms data structures greedy sortings trees Statement C Codeforces Round 285 (Div. 2) {501} PROGRAMMING Tutorial 1700
44280 A and B and Compilation Errors data structures implementation sortings Statement B Codeforces Round 294 (Div. 2) {519} PROGRAMMING 1200
1366 Rooks and Rectangles data structures sortings Statement E VK Cup 2015 - Round 1 {524} PROGRAMMING 2400
5106 Clique Problem data structures dp greedy implementation sortings Statement D Codeforces Round 296 (Div. 2) {527} PROGRAMMING Codeforces Round #296 Editorial 2100
1887 A Heap of Heaps brute force data structures math sortings Statement F Codeforces Round 300 {538} PROGRAMMING Codeforces Round #300 Editorial (+challenges) 2200
2588 Infinite Inversions binary search data structures implementation sortings trees Statement E Codeforces Round 301 (Div. 2) {540} PROGRAMMING Tutorial 2400
645 Place Your Ad Here data structures sortings Statement A VK Cup 2015 - Round 3 (unofficial online mirror, Div. 1 only) {542} PROGRAMMING 17697 2500
4879 Vanya and Triangles brute force combinatorics data structures geometry math sortings Statement D Codeforces Round 308 (Div. 2) {552} PROGRAMMING Codeforces #308 (Div. 2) Editorial 1900
4139 Case of Fugitive data structures greedy sortings Statement B Codeforces Round 310 (Div. 1) {555} PROGRAMMING Codeforces Round #310 Editorial 2100
4255 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
1234 Guess Your Way Out! II data structures implementation sortings Statement D Codeforces Round 312 (Div. 2) {558} PROGRAMMING Codeforces Round #312 (Div. 2) Editorial 2500
7672 A Simple Task data structures sortings strings Statement E Codeforces Round 312 (Div. 2) {558} PROGRAMMING Codeforces Round #312 (Div. 2) Editorial 2600
5313 One-Dimensional Battle Ships binary search data structures greedy sortings Statement D Codeforces Round #Pi (Div. 2) {567} PROGRAMMING Editorial Codeforces Round #Pi 1800
9091 Order Book data structures greedy implementation sortings Statement B Codeforces Round 317 [AimFund Thanks-Round] (Div. 2) {572} PROGRAMMING Codeforces Round #317 [AimFund Thanks-Round] Editorial 1400
40710 Queries about less or equal elements binary search data structures sortings two pointers Statement B Educational Codeforces Round 2 {600} PROGRAMMING Editorial 1300
930 New Year and Three Musketeers data structures greedy sortings Statement E Good Bye 2015 {611} PROGRAMMING Tutorial 2300
4475 Report data structures sortings Statement C Codeforces Round 344 (Div. 2) {631} PROGRAMMING Editorial Codeforces Round #344 (Div. 2) 1700
3436 Spy Syndrome 2 data structures dp hashing implementation sortings string suffix structures strings Statement C Manthan, Codefest 16 {633} PROGRAMMING Manthan, Codefest 16: Editorials 1900
24353 Chat Order *special binary search constructive algorithms data structures sortings Statement B VK Cup 2016 - Qualification Round 1 {637} PROGRAMMING 1500
1102 Bear and Contribution data structures greedy sortings Statement D VK Cup 2016 - Round 1 {639} PROGRAMMING Tutorial 2500
1022 Hostname Aliases *special binary search data structures implementation sortings strings Statement C CROC 2016 - Qualification {644} PROGRAMMING 2300
184 Автобус binary search data structures greedy sortings Statement E Технокубок 2016 - Отборочный Раунд 2 {649} PROGRAMMING 2500.0 2100
4982 Nested Segments data structures sortings Statement D Educational Codeforces Round 10 {652} PROGRAMMING Editorial of Educational Codeforces Round 10 1900
3895 Money Transfers constructive algorithms data structures greedy sortings Statement C Codeforces Round 353 (Div. 2) {675} PROGRAMMING Tutorial 2000
1156 Dividing Kingdom II brute force data structures dsu graphs sortings Statement D Codeforces Round 360 (Div. 1) {687} PROGRAMMING Codeforces Round #360 Editorial [+ Challenges!] 2500
337 Slalom data structures dp sortings Statement D Russian Code Cup 2016 - Finals [Unofficial Mirror, Div. 1 Only Recommended] {720} PROGRAMMING Russian Code Cup 2016 — Results and Tutorial 3100
2403 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
1305 80-th Level Archeology brute force data structures greedy sortings Statement D Codeforces Round 376 (Div. 2) {731} PROGRAMMING 47840 2200
2808 Gosha is hunting brute force data structures dp flows math probabilities sortings Statement E Codeforces Round 381 (Div. 1) {739} PROGRAMMING 48582 2900
2734 Fedor and coupons binary search data structures greedy sortings Statement D Codeforces Round 390 (Div. 2) {754} PROGRAMMING 2000
13039 PolandBall and Game binary search data structures games greedy sortings strings Statement B 8VC Venture Cup 2017 - Elimination Round {755} PROGRAMMING 8VC Venture Cup 2017 — Elimination Round [Editorial] 1200
2477 Felicity is Coming! data structures hashing sortings strings Statement C 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 1900
2443 Cartons of milk binary search data structures greedy sortings two pointers Statement D Codeforces Round 398 (Div. 2) {767} PROGRAMMING Codeforces Round #398 (Div. 2) Editorial 2000
586 Blog Post Rating data structures sortings Statement E VK Cup 2017 - Round 3 {773} PROGRAMMING VK Cup 2017 Round 3 + Codeforces Round #412 -- Tutorial 2900
10019 Game of Credit Cards data structures dp greedy sortings Statement B Codeforces Round 401 (Div. 2) {777} PROGRAMMING Problem analysis of Codeforces Round #401 (Div. 2) 1300
4891 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
1540 Mice and Holes data structures dp greedy sortings Statement F Educational Codeforces Round 19 {797} PROGRAMMING 51588 2600
558 Mike and code of a permutation constructive algorithms data structures graphs sortings Statement E Codeforces Round 410 (Div. 2) {798} PROGRAMMING Codeforces Round #410 (Div. 2) Editorial 2700
6573 Imbalanced Array data structures divide and conquer dsu sortings Statement D Educational Codeforces Round 23 {817} PROGRAMMING 52638 2000
4362 String Reconstruction data structures greedy sortings strings Statement A Codeforces Round 423 (Div. 1, rated, based on VK Cup Finals) {827} PROGRAMMING Codeforces Round #423 Analysis 1700
3064 Cards Sorting data structures implementation sortings Statement B Codeforces Round 424 (Div. 1, rated, based on VK Cup Finals) {830} PROGRAMMING Codeforces Round #424 Editorial 1800
1345 Bamboo Partition brute force data structures implementation math number theory sortings two pointers Statement C Codeforces Round 424 (Div. 1, rated, based on VK Cup Finals) {830} PROGRAMMING Codeforces Round #424 Editorial 2500
304 Caramel Clouds data structures dp sortings Statement E Codeforces Round 426 (Div. 1) {833} PROGRAMMING Codeforces Round #426 Editorial 3100
14535 Two TVs data structures greedy sortings Statement C Educational Codeforces Round 27 {845} PROGRAMMING 53986 1500
2017 Rooter's Song constructive algorithms data structures geometry implementation sortings two pointers Statement B Codeforces Round 431 (Div. 1) {848} PROGRAMMING Codeforces Round #431 Editorial 2100
4235 Polycarp's phone book data structures implementation sortings Statement D Технокубок 2018 - Отборочный Раунд 1 {858} PROGRAMMING Codeforces Round 434 Div.1+Div.2 (and Technocup 2018 — Elimination Round 1) Editorial 1700
2321 Mahmoud and Ehab and the function binary search data structures sortings Statement E Codeforces Round 435 (Div. 2) {862} PROGRAMMING Codeforces round #435 editorial 2200
4296 Turn Off The TV data structures sortings Statement E Educational Codeforces Round 29 {863} PROGRAMMING Editorial 2000
5159 Too Easy Problems binary search brute force data structures greedy sortings Statement D Hello 2018 {913} PROGRAMMING Tutorial 1800
5835 Physical Education Lessons data structures implementation sortings Statement E Educational Codeforces Round 36 (Rated for Div. 2) {915} PROGRAMMING 57123 2300
13113 Minimize the error data structures greedy sortings Statement B 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 1500
2132 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
8708 Covered Points Count data structures implementation sortings Statement C Educational Codeforces Round 46 (Rated for Div. 2) {1000} PROGRAMMING 60288 1700
13184 Reorder the Array combinatorics data structures math sortings two pointers Statement A Codeforces Round 497 (Div. 1) {1007} PROGRAMMING Editorial for Codeforces Round #497 by Skyglow 1300
1605 Leaf Sets data structures dfs and similar dsu graphs greedy sortings trees Statement F Codeforces Round 510 (Div. 2) {1042} PROGRAMMING Tutorial 2400
2594 TV Shows data structures greedy implementation sortings Statement D Codeforces Round 523 (Div. 2) {1061} PROGRAMMING Tutorial (en) 2000
987 Katya and Segments Sets data structures interactive sortings Statement F Codeforces Round 524 (Div. 2) {1080} PROGRAMMING Codeforces Round #524 (Div. 2) Editorial 2700
1116 New Year and the Acquaintance Estimation binary search data structures graphs greedy implementation math sortings Statement E Good Bye 2018 {1091} PROGRAMMING Editorial 2400
1030 Morse Code binary search data structures dp hashing sortings string suffix structures strings Statement C Codeforces Round 542 [Alex Lopashev Thanks-Round] (Div. 1) {1129} PROGRAMMING 65520 2300
10507 Playlist brute force data structures sortings Statement C Educational Codeforces Round 62 (Rated for Div. 2) {1140} PROGRAMMING Educational Codeforces Round 62 Editorial 1600
7055 Two Teams data structures implementation sortings Statement E Codeforces Round 552 (Div. 3) {1154} PROGRAMMING Codeforces Round #552 (Div. 3) Editorial 1800
2321 Permutation recovery constructive algorithms data structures dfs and similar graphs greedy math sortings Statement C Codeforces Round 559 (Div. 1) {1158} PROGRAMMING 66993 2300
24791 Polycarp Training data structures greedy sortings Statement B Codeforces Round 560 (Div. 3) {1165} PROGRAMMING Codeforces Round #560 (Div. 3) Editorial 1000
1922 Scalar Queries combinatorics data structures math sortings Statement F Educational Codeforces Round 65 (Rated for Div. 2) {1167} PROGRAMMING 67058 2300
2893 Irrigation binary search data structures implementation sortings trees two pointers Statement D Codeforces Round 567 (Div. 2) {1181} PROGRAMMING Editorial of Codeforces Round #567 (based on All-Russian olympiad in the name of Keldysh) 2100
3065 Subarray Sorting data structures sortings Statement D Educational Codeforces Round 67 (Rated for Div. 2) {1187} PROGRAMMING Разбор Educational Codeforces Round 67 2200
2724 Tokitsukaze and Strange Rectangle data structures divide and conquer sortings two pointers Statement D Codeforces Round 573 (Div. 1) {1190} PROGRAMMING E 2200
2102 Count The Rectangles bitmasks brute force data structures geometry sortings Statement E Educational Codeforces Round 68 (Rated for Div. 2) {1194} PROGRAMMING Разбор Educational Codeforces Round 68 2200
1100 Geometers Anonymous Club data structures geometry math sortings Statement F Codeforces Round 574 (Div. 2) {1195} PROGRAMMING Разбор Codeforces Round #574 (Div. 2) 2700
1900 Culture Code binary search combinatorics data structures dp shortest paths sortings Statement E Educational Codeforces Round 69 (Rated for Div. 2) {1197} PROGRAMMING E 2300
10087 Welfare State binary search brute force data structures sortings Statement B Codeforces Round 576 (Div. 1) {1198} PROGRAMMING E 1600
1302 Choose a Square binary search data structures sortings Statement F Educational Codeforces Round 73 (Rated for Div. 2) {1221} PROGRAMMING Разбор Educational Codeforces Round 73 2500
24036 Balanced Tunnel data structures sortings two pointers Statement B Codeforces Global Round 5 {1237} PROGRAMMING T 1300
533 Adilbek and the Watering System data structures greedy sortings Statement G Educational Codeforces Round 74 (Rated for Div. 2) {1238} PROGRAMMING Educational Codeforces Round 74 Editorial 2700
5915 Too Many Segments (hard version) data structures greedy sortings Statement D2 Codeforces Round 595 (Div. 3) {1249} PROGRAMMING Codeforces Round #595 (Div. 3) Editorial 2000
3164 Antenna Coverage data structures dp greedy sortings Statement E Codeforces Round 600 (Div. 2) {1253} PROGRAMMING Editorial 2200
8236 Yet Another Monster Killing Problem binary search data structures dp greedy sortings two pointers Statement D Educational Codeforces Round 76 (Rated for Div. 2) {1257} PROGRAMMING Educational Codeforces Round 76 Editorial 1700
3471 Portals data structures dp greedy implementation sortings Statement D Codeforces Round 608 (Div. 2) {1271} PROGRAMMING 72247 2100
11589 New Year and Ascent Sequence binary search combinatorics data structures dp implementation sortings Statement B Hello 2020 {1284} PROGRAMMING Hello 2020 Editorial 1500
3446 New Year and Conference binary search data structures hashing sortings Statement D Hello 2020 {1284} PROGRAMMING Hello 2020 Editorial 2100
2031 Delete a Segment brute force constructive algorithms data structures dp graphs sortings trees two pointers Statement E Codeforces Round 613 (Div. 2) {1285} PROGRAMMING Codeforces Round #613 (Div. 2) Editorial 2300
127 Movie Fan *special data structures greedy implementation sortings Statement F Kotlin Heroes: Episode 3 {1297} PROGRAMMING Kotlin Heroes: Episode 3 Editorial
7425 Cow and Fields binary search data structures dfs and similar graphs greedy shortest paths sortings Statement D Codeforces Round 621 (Div. 1 + Div. 2) {1307} PROGRAMMING 2000.0 Codeforces Round #621 (Div. 1 + Div. 2) Editorial 1900
5732 Recommendations data structures greedy sortings Statement A VK Cup 2019-2020 - Elimination Round (Engine) {1310} PROGRAMMING 500.0 VK Cup 2019-2020 - Elimination Round (Engine) and Codeforces Round #623 1700
4923 Moving Points data structures divide and conquer implementation sortings Statement F Codeforces Round 624 (Div. 3) {1311} PROGRAMMING 74224 2100
22702 Journey Planning data structures math sortings Statement A Codeforces Round 625 (Div. 1, based on Technocup 2020 Final Round) {1320} PROGRAMMING 500.0 Codeforces Round #625 Editorial
3443 World of Darkraft: Battle for Azathoth data structures sortings Statement C Codeforces Round 625 (Div. 1, based on Technocup 2020 Final Round) {1320} PROGRAMMING 1500.0 Codeforces Round #625 Editorial
4718 Present binary search bitmasks constructive algorithms data structures math sortings Statement B Codeforces Round 626 (Div. 1, based on Moscow Open Olympiad in Informatics) {1322} PROGRAMMING 1000.0 Codeforces Round #626 Editorial
34960 Pair of Topics binary search data structures sortings two pointers Statement D Codeforces Round 627 (Div. 3) {1324} PROGRAMMING Codeforces Round #627 (Div. 3) Editorial
1838 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
6389 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
20617 Constructing the Array constructive algorithms data structures sortings Statement D Codeforces Round 642 (Div. 3) {1353} PROGRAMMING Codeforces Round #642 (Div. 3) Editorial 1600
2491 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
1126 Reading Books (hard version) binary search data structures greedy sortings ternary search two pointers Statement E2 Codeforces Round 653 (Div. 3) {1374} PROGRAMMING 79517
15105 Reading Books (easy version) data structures greedy implementation sortings Statement E1 Codeforces Round 653 (Div. 3) {1374} PROGRAMMING 79517
6169 Choosing flowers binary search data structures greedy math sortings two pointers Statement C Codeforces Round 657 (Div. 2) {1379} PROGRAMMING 1250.0 Codeforces Round #657 Editorial 2000
1173 New Passenger Trams brute force data structures sortings two pointers Statement D Codeforces Round 657 (Div. 2) {1379} PROGRAMMING 1500.0 Codeforces Round #657 Editorial 2400
157 Mixture *special data structures geometry math sortings Statement B Baltic Olympiad in Informatics 2020, Day 1 (IOI, Unofficial Mirror Contest, Unrated) {1386} PROGRAMMING T
670 Uncle Bogdan and Projections data structures geometry sortings Statement E Codeforces Round 660 (Div. 2) {1388} PROGRAMMING 2750.0 Codeforces Round #660 Editorial 2700
1293 Bicolored Segments data structures dp graph matchings greedy sortings Statement F Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
11095 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
2636 Two Types of Spells binary search data structures greedy implementation math sortings Statement E Educational Codeforces Round 93 (Rated for Div. 2) {1398} PROGRAMMING Educational Codeforces Round 93 Editorial
2678 Divide Square data structures divide and conquer geometry implementation sortings Statement E Codeforces Round 665 (Div. 2) {1401} PROGRAMMING 2500.0 Codeforces Round #665 (Div. 2) Editorial
1379 Fancy Fence *special data structures dp dsu math sortings Statement A Central-European Olympiad in Informatics, CEOI 2020, Day 1 (IOI, Unofficial Mirror Contest, Unrated) {1402} PROGRAMMING Editorial
359 The Potion of Great Power *special binary search data structures graphs interactive sortings two pointers Statement A Central-European Olympiad in Informatics, CEOI 2020, Day 2 (IOI, Unofficial Mirror Contest, Unrated) {1403} PROGRAMMING CEOI 2020 Online Mirror — Day 2 Tutorial
4735 Searchlights binary search brute force data structures dp geometry implementation sortings Statement D Grakn Forces 2020 {1408} PROGRAMMING 2000.0 Grakn Forces -- Editorial
6292 Perform Easily data structures dp implementation sortings two pointers Statement C Technocup 2021 - Elimination Round 1 {1413} PROGRAMMING 1500.0 Codeforces Round 679 (Div. 1, Div. 2) and Technocup Round 1 editorial
8434 Rescue Nibel! combinatorics data structures sortings Statement D Codeforces Round 672 (Div. 2) {1420} PROGRAMMING 2000.0 Editorial
3238 Returning Home data structures graphs implementation shortest paths sortings Statement D Codeforces Round 675 (Div. 2) {1422} PROGRAMMING 1500.0 Codeforces Round #675 (Div. 2) Editorial
2949 Complicated Computations binary search data structures sortings two pointers Statement E Codeforces Round 678 (Div. 2) {1436} PROGRAMMING 2500.0 Codeforces Round #678 (Div. 2). Editorial
10377 Divide and Summarize binary search brute force data structures divide and conquer implementation sortings Statement D Codeforces Round 689 (Div. 2, based on Zed Code Competition) {1461} PROGRAMMING 1500.0 Codeforces Round #689 (Div. 2). Editorial
8766 The Treasure of The Segments binary search data structures greedy sortings Statement F Codeforces Round 690 (Div. 3) {1462} PROGRAMMING Codeforces Round #690 (Div. 3) Editorial
9066 Correct Placement binary search data structures sortings two pointers Statement E Codeforces Round 693 (Div. 3) {1472} PROGRAMMING Codeforces Round #693 (Div. 3) Editorial
14338 Array Destruction constructive algorithms data structures greedy implementation sortings Statement C Codeforces Round 696 (Div. 2) {1474} PROGRAMMING 1500.0 Codeforces Round #696 Editorial
2821 Pattern Matching bitmasks data structures dfs and similar graphs sortings strings Statement E Educational Codeforces Round 103 (Rated for Div. 2) {1476} PROGRAMMING 87356
2372 Copy or Prefix Sum combinatorics data structures dp sortings Statement F Codeforces Round 701 (Div. 2) {1485} PROGRAMMING 3000.0 Editorial of Codeforces Round #701 (Div. 2) 2400
5193 Cheap Dinner data structures dp implementation sortings two pointers Statement E Educational Codeforces Round 104 (Rated for Div. 2) {1487} PROGRAMMING 87873
18631 Equalize the Array binary search data structures greedy math sortings Statement F Codeforces Round 702 (Div. 3) {1490} PROGRAMMING Codeforces Round #702 (Div. 3) Editorial
5883 GCD of an Array data structures math number theory sortings two pointers Statement D Codeforces Round 705 (Div. 2) {1493} PROGRAMMING 2250.0 Codeforces Round #705 (Div.2) Editorial
26373 Meximization brute force data structures greedy sortings Statement A Codeforces Round 708 (Div. 2) {1497} PROGRAMMING 500.0 Codeforces Round #708 Editorial 800
3911 Travelling Salesman Problem binary search data structures dp greedy shortest paths sortings Statement C Codeforces Round 712 (Div. 1) {1503} PROGRAMMING 1250.0 T 2200
1310 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
988 Chips on a Board bitmasks brute force data structures games sortings Statement G Educational Codeforces Round 107 (Rated for Div. 2) {1511} PROGRAMMING 89634
1481 Swapping Problem brute force constructive algorithms data structures sortings Statement F Divide by Zero 2021 and Codeforces Round 714 (Div. 2) {1513} PROGRAMMING 3500.0 Divide by Zero 2021 and Codeforces Round #714 (Div. 2) Editorial
6674 GCD and MST constructive algorithms data structures dsu graphs implementation number theory sortings Statement D Divide by Zero 2021 and Codeforces Round 714 (Div. 2) {1513} PROGRAMMING 2000.0 Divide by Zero 2021 and Codeforces Round #714 (Div. 2) Editorial
5070 Cut and Stick binary search data structures greedy probabilities sortings Statement D Codeforces Round 716 (Div. 2) {1514} PROGRAMMING 2000.0 Codeforces round #716 editorial
440 Phoenix and Diamonds binary search data structures sortings Statement I Codeforces Global Round 14 {1515} PROGRAMMING 5000.0 Editorial
4991 Robot Collisions data structures greedy implementation sortings Statement C Educational Codeforces Round 109 (Rated for Div. 2) {1525} PROGRAMMING 90793
12872 PriceFixed binary search data structures greedy sortings two pointers Statement D Codeforces Round 727 (Div. 2) {1539} PROGRAMMING 1500.0 tutorial 1600
1071 Strange Array data structures greedy sortings Statement F Codeforces Round 727 (Div. 2) {1539} PROGRAMMING 2500.0 tutorial 2600
3395 Telepanting binary search data structures dp sortings Statement F Codeforces Global Round 15 {1552} PROGRAMMING 1500.0 Editorial of Global Round 15
2147 Colors and Intervals constructive algorithms data structures greedy sortings Statement E Codeforces Global Round 15 {1552} PROGRAMMING 1500.0 Editorial of Global Round 15
4669 Boring Segments binary search data structures sortings two pointers Statement E Educational Codeforces Round 112 (Rated for Div. 2) {1555} PROGRAMMING 93389 2100
568 Strange Sort data structures sortings Statement F Codeforces Round 740 (Div. 1, based on VK Cup 2021 - Final (Engine)) {1558} PROGRAMMING 3500.0 Codeforces Round #740 Editorial 3300
8366 Seating Arrangements (hard version) data structures greedy implementation sortings two pointers Statement D2 Codeforces Global Round 16 {1566} PROGRAMMING 1000.0 Codeforces Global Round 16 Editorial
14766 Seating Arrangements (easy version) data structures greedy sortings Statement D1 Codeforces Global Round 16 {1566} PROGRAMMING 750.0 Codeforces Global Round 16 Editorial
4621 Inconvenient Pairs data structures implementation sortings two pointers Statement D Educational Codeforces Round 113 (Rated for Div. 2) {1569} PROGRAMMING 94721
1757 Longest Array Deconstruction data structures divide and conquer dp sortings Statement L COMPFEST 13 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1575} PROGRAMMING COMPFEST 13 — Editorial
5275 Another Sorting Problem data structures sortings strings Statement A COMPFEST 13 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1575} PROGRAMMING COMPFEST 13 — Editorial
1410 Yet Another Sorting Problem data structures math sortings Statement D Codeforces Round 759 (Div. 2, based on Technocup 2022 Elimination Round 3) {1591} PROGRAMMING 2000.0 Codeforces Round #759 (Div. 2, based on Technocup 2022 Elimination Round 3) Editorial
2390 Optimal Insertion data structures divide and conquer greedy sortings Statement C Codeforces Round 751 (Div. 1) {1601} PROGRAMMING 2000.0 95865 2300
2042 Difficult Mountain data structures dp greedy sortings Statement D Codeforces Round 751 (Div. 1) {1601} PROGRAMMING 2250.0 95865 2700
1618 Red-Blue Matrix constructive algorithms data structures hashing implementation sortings two pointers Statement D Educational Codeforces Round 116 (Rated for Div. 2) {1606} PROGRAMMING 96454
517 The Cells on the Paper binary search data structures implementation sortings Statement E Codeforces Round 758 (Div.1 + Div. 2) {1608} PROGRAMMING 2000.0 Editorial of Codeforces Round #758 (Div.1 + Div. 2)
1994 Trader Problem binary search data structures dsu greedy math sortings Statement G Codeforces Round 760 (Div. 3) {1618} PROGRAMMING Codeforces Round #760 (Div. 3) Editorial
10341 MEX and Increments constructive algorithms data structures dp greedy math sortings Statement E Codeforces Round 762 (Div. 3) {1619} PROGRAMMING Tutorial
1952 New School binary search data structures greedy implementation sortings Statement E Hello 2022 {1621} PROGRAMMING 2250.0
2368 Binary Spiders bitmasks data structures implementation sortings trees Statement D Codeforces Round 765 (Div. 2) {1625} PROGRAMMING 2000.0 Editorial of Codeforces Round #765 (Div. 2)
2857 Not Escaping data structures dp implementation shortest paths sortings two pointers Statement E Codeforces Round 766 (Div. 2) {1627} PROGRAMMING 2000.0 Codeforces Round #766 (Div. 2) Editorial
113 Spaceship Crisis Management binary search data structures geometry sortings Statement F Codeforces Round 767 (Div. 1) {1628} PROGRAMMING 3000.0 99276
3365 Paint the Middle data structures dp greedy sortings Statement C Codeforces Round 768 (Div. 1) {1630} PROGRAMMING 1250.0 Editorial of Codeforces Round #768
1798 Spanning Tree Queries binary search data structures dsu graphs implementation math sortings Statement E Educational Codeforces Round 122 (Rated for Div. 2) {1633} PROGRAMMING 99539
614 Minimize Inversions Number data structures math sortings Statement H Codeforces Global Round 19 {1637} PROGRAMMING 4000.0 Tutorial
22724 Odd Swap Sort data structures math sortings Statement B Codeforces Round 771 (Div. 2) {1638} PROGRAMMING 750.0 Codeforces Round #771 Editorial
2880 Anonymity Is Important binary search data structures dsu sortings Statement C Codeforces Round 773 (Div. 1) {1641} PROGRAMMING 1250.0 Codeforces Round #773 editorial
19758 Weird Sum combinatorics data structures geometry math matrices sortings Statement A Codeforces Round 775 (Div. 1, based on Moscow Open Olympiad in Informatics) {1648} PROGRAMMING 500.0 Codeforces Round #775 Editorial
4493 Rescheduling the Exam binary search data structures greedy implementation math sortings Statement E Codeforces Round 776 (Div. 3) {1650} PROGRAMMING 100712
14641 Alice and the Cake constructive algorithms data structures greedy sortings Statement C Codeforces Round 778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) {1654} PROGRAMMING 1250.0 Editorial of Codeforces Round #778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) 1400
1255 Gojou and Matrix Game data structures dp games math number theory sortings Statement E Codeforces Round 779 (Div. 2) {1658} PROGRAMMING 2500.0 Codeforces Round #779 (Div. 2) Editorial
13477 Maximum Crossings (Hard Version) data structures divide and conquer sortings Statement H2 Codeforces Round 790 (Div. 4) {1676} PROGRAMMING Codeforces Round #790 (Div. 4) Editorial
20564 Longest Strike data structures greedy implementation sortings two pointers Statement F Codeforces Round 790 (Div. 4) {1676} PROGRAMMING Codeforces Round #790 (Div. 4) Editorial
471 MCMF? data structures flows graphs greedy sortings two pointers Statement F Codeforces Round 793 (Div. 2) {1682} PROGRAMMING 2750.0 Codeforces Round #793 (Div. 2) Editorial
4215 Count the Trains binary search data structures sortings Statement G Codeforces Round 797 (Div. 3) {1690} PROGRAMMING Codeforces Round #797 (Div. 3) Editorial 2000
7736 Max GEQ Sum binary search constructive algorithms data structures divide and conquer implementation sortings two pointers Statement D CodeCraft-22 and Codeforces Round 795 (Div. 2) {1691} PROGRAMMING 1750.0 Editorial for CodeCraft-22 and Codeforces Round #795 (Div. 2)
2162 Number of Groups data structures dfs and similar dsu graphs greedy sortings Statement E CodeCraft-22 and Codeforces Round 795 (Div. 2) {1691} PROGRAMMING 2250.0 Editorial for CodeCraft-22 and Codeforces Round #795 (Div. 2)
27820 2^Sort data structures dp sortings two pointers Statement G Codeforces Round 799 (Div. 4) {1692} PROGRAMMING Codeforces Round #799 (Div. 4) Editorial
6320 Permutation Restoration binary search data structures greedy math sortings Statement D Educational Codeforces Round 131 (Rated for Div. 2) {1701} PROGRAMMING Educational Codeforces Round 131 Editorial
6083 Passable Paths (hard version) bitmasks data structures dfs and similar dp sortings trees Statement G2 Codeforces Round 805 (Div. 3) {1702} PROGRAMMING 104763
6539 Passable Paths (easy version) data structures dfs and similar sortings trees Statement G1 Codeforces Round 805 (Div. 3) {1702} PROGRAMMING 104763
31731 Yet Another Problem About Pairs Satisfying an Inequality binary search data structures dp greedy sortings Statement F Codeforces Round 806 (Div. 4) {1703} PROGRAMMING 104786
1181 Field Photography bitmasks data structures sortings Statement F COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
18052 Minimum Notation data structures greedy math sortings Statement C Codeforces Round 823 (Div. 2) {1730} PROGRAMMING 1500.0 Codeforces Round #823 — editorial 1200
24996 Planets data structures data structures greedy sortings Statement A Codeforces Round 823 (Div. 2) {1730} PROGRAMMING 500.0 Codeforces Round #823 — editorial 800
2979 Multi-Colored Segments binary search data structures math sortings Statement F Codeforces Round 826 (Div. 3) {1741} PROGRAMMING 107908
16594 Incinerate binary search brute force data structures sortings Statement B Codeforces Round 840 (Div. 2) and Enigma 2022 - Cybros LNMIIT {1763} PROGRAMMING 1000.0 Codeforces Round #840 (Div. 2) and Enigma 2022 — Cybros LNMIIT Editorial
2084 Anya's Simultaneous Exhibition constructive algorithms data structures graphs greedy interactive sortings Statement E Hello 2023 {1779} PROGRAMMING 2250.0
1978 Three Chairs bitmasks brute force combinatorics data structures number theory sortings Statement F Codeforces Round 846 (Div. 2) {1780} PROGRAMMING 2000.0 111841
33604 Matryoshkas data structures greedy sortings Statement D Codeforces Round 847 (Div. 3) {1790} PROGRAMMING 111948
8345 Fixed Prefix Permutations binary search data structures math sortings strings Statement D Educational Codeforces Round 142 (Rated for Div. 2) {1792} PROGRAMMING 111835
1370 Velepin and Marketing data structures dp greedy sortings Statement E Codeforces Round 852 (Div. 2) {1793} PROGRAMMING 2500.0 Codeforces Round #852 Editorial
4159 Music Festival binary search data structures dp greedy sortings Statement C Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 1250.0 Codeforces Round #857 Editorial
7716 Buying gifts data structures dp greedy sortings Statement B Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 1000.0 Codeforces Round #857 Editorial
2005 Walk the Runway bitmasks brute force data structures dp graphs implementation sortings Statement E Codeforces Round 870 (Div. 2) {1826} PROGRAMMING 2500.0 Codeforces Round #870 (Div. 2) Editorial 2400
10589 Ira and Flamenco combinatorics data structures implementation sortings Statement F Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636
5645 Survey in Class constructive algorithms data structures greedy implementation sortings Statement D Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 1750.0 Codeforces Round #879 Editorial
3762 Bracket Walk constructive algorithms data structures implementation sortings strings Statement D Codeforces Round 877 (Div. 2) {1838} PROGRAMMING 1750.0 Codeforces Round #877 (Div. 2) Editorial
2756 Ball Sorting data structures dp sortings Statement D Codeforces Round 876 (Div. 2) {1839} PROGRAMMING 2250.0 Codeforces Round #876 (Div. 2) Editorial
16682 Lamps data structures greedy sortings two pointers Statement B Codeforces Round 876 (Div. 2) {1839} PROGRAMMING 1000.0 Codeforces Round #876 (Div. 2) Editorial
5389 Pairs of Segments data structures dp greedy sortings Statement D Educational Codeforces Round 150 (Rated for Div. 2) {1841} PROGRAMMING 117262
506 Min Cost Permutation (Hard Version) binary search data structures graphs greedy sortings Statement F2 Codeforces Round 884 (Div. 1 + Div. 2) {1844} PROGRAMMING 1000.0 Codeforces Round #884 (Div. 1 + Div. 2) Editorial
1113 The Boss's Identity binary search bitmasks data structures dfs and similar greedy math sortings Statement F Codeforces Round 882 (Div. 2) {1847} PROGRAMMING 3000.0 Tutorial
4307 Professor Higashikata brute force data structures dsu greedy implementation sortings Statement D Codeforces Round 882 (Div. 2) {1847} PROGRAMMING 2000.0 Tutorial
26129 Vika and the Bridge binary search data structures greedy implementation math sortings Statement B Codeforces Round 885 (Div. 2) {1848} PROGRAMMING 1000.0 Codeforces Round #885 (Div.2) Editorial
15778 The Morning Star combinatorics data structures geometry implementation math sortings Statement G Codeforces Round 886 (Div. 4) {1850} PROGRAMMING Codeforces Round #886 (Div. 4) Editorial
7777 Lisa and the Martians bitmasks data structures greedy math sortings strings trees Statement F Codeforces Round 888 (Div. 3) {1851} PROGRAMMING 118667
4202 Vlad and the Mountains data structures dsu graphs implementation sortings trees two pointers Statement G Codeforces Round 888 (Div. 3) {1851} PROGRAMMING 118667
8073 Andrey and Escape from Capygrad binary search data structures dp dsu greedy sortings two pointers Statement D Codeforces Round 892 (Div. 2) {1859} PROGRAMMING 1750.0 Video solutions from Geothermal.
350 Evaluate RBS data structures geometry sortings Statement F Educational Codeforces Round 153 (Rated for Div. 2) {1860} PROGRAMMING Educational Codeforces Round 153 Editorial
3524 The Great Equalizer data structures math sortings Statement G Codeforces Round 894 (Div. 3) {1862} PROGRAMMING Tutorial
3260 Speedrun brute force data structures dfs and similar dp graphs sortings Statement E Pinely Round 2 (Div. 1 + Div. 2) {1863} PROGRAMMING 1750.0
1686 Exotic Queries brute force data structures implementation sortings Statement F Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) {1864} PROGRAMMING 2500.0 Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) Editorial
199 Freak Joker Process binary search data structures sortings Statement F COMPFEST 15 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1866} PROGRAMMING COMPFEST 15 Preliminary — Editorial
13269 Colorful Table binary search data structures dp implementation math sortings two pointers Statement C CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) {1870} PROGRAMMING 1500.0 CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
7475 Medium Design data structures dp sortings Statement C Codeforces Round 904 (Div. 2) {1884} PROGRAMMING 1750.0 Codeforces Round #904 (Div. 2) Editorial
3979 Doremy's Drying Plan (Easy Version) brute force data structures dp greedy sortings Statement C1 Codeforces Round 906 (Div. 1) {1889} PROGRAMMING 750.0 Codeforces Round 906 Editorial
2784 Permutation Sorting data structures divide and conquer sortings Statement E CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) {1896} PROGRAMMING 2250.0 CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
4095 Unusual Entertainment data structures dfs and similar dsu shortest paths sortings trees Statement G Codeforces Round 909 (Div. 3) {1899} PROGRAMMING Разбор Codeforces Round 909 (Div. 3)
5428 Robot Queries binary search data structures geometry sortings Statement D Educational Codeforces Round 159 (Rated for Div. 2) {1902} PROGRAMMING Educational Codeforces Round 159 Editorial
25174 Array Game binary search brute force data structures sortings Statement C Codeforces Round 914 (Div. 2) {1904} PROGRAMMING 1000.0 Codeforces Round 914 (Div. 2) Editorial
5838 Set To Max (Hard Version) binary search constructive algorithms data structures dsu greedy implementation sortings two pointers Statement D2 Codeforces Round 914 (Div. 2) {1904} PROGRAMMING 750.0 Codeforces Round 914 (Div. 2) Editorial
13403 Heavy Intervals constructive algorithms data structures dsu greedy math sortings Statement C Pinely Round 3 (Div. 1 + Div. 2) {1909} PROGRAMMING 1500.0 Editorial of Pinely Round 3 (Div. 1 + Div. 2)
23466 Greetings data structures divide and conquer sortings Statement F Codeforces Round 918 (Div. 4) {1915} PROGRAMMING 123952
27442 Minimize Inversions constructive algorithms data structures greedy implementation sortings Statement B Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 1000.0 Codeforces Round #922 (Div. 2) Editorial
4631 01 Tree data structures divide and conquer greedy implementation sortings trees Statement D Hello 2024 {1919} PROGRAMMING 1500.0 2100
3374 Space Harbour brute force data structures implementation math sortings Statement B Codeforces Round 921 (Div. 1) {1924} PROGRAMMING 1000.0 Codeforces Round 921 (Div. 1, Div. 2) Editorial
8238 Lexicographically Largest constructive algorithms data structures greedy sortings Statement C think-cell Round 1 {1930} PROGRAMMING 1500.0 think-cell Round 1 Editorial
5861 Feed Cats data structures dp sortings Statement F Codeforces Round 927 (Div. 3) {1932} PROGRAMMING 126196
9915 Messenger in MAC binary search brute force constructive algorithms data structures dp sortings Statement C Codeforces Round 932 (Div. 2) {1935} PROGRAMMING 1500.0 Codeforces Round #932 (Div. 2) Editorial