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
439 Forward, march! binary search dp greedy Statement E Codeforces Beta Round 11 {11} PROGRAMMING 2800
2527 Stripe 2 binary search dp sortings Statement C Codeforces Alpha Round 21 (Codeforces format) {21} PROGRAMMING 2300
674 Don't fear, DravDe is kind binary search data structures dp hashing Statement D Codeforces Beta Round 28 (Codeforces format) {28} PROGRAMMING Codeforces Beta Round #28 (Разбор задач A и B) 2600
705 Bombing binary search dp probabilities Statement D Codeforces Beta Round 47 {50} PROGRAMMING Codeforces #47 problem solutions 2100
1773 Optical Experiment binary search data structures dp Statement D Manthan 2011 {67} PROGRAMMING 1900
768 Tourist binary search data structures dp Statement F All-Ukrainian School Olympiad in Informatics {76} PROGRAMMING All-Ukrainian School Olympiad in Informatics: editorial (A,B,C,D,E,F) 2400
3191 Buses binary search data structures dp Statement B Codeforces Beta Round 79 (Div. 1 Only) {101} PROGRAMMING Codeforces Beta Round 79, editoral 1900
24623 Password binary search dp hashing string suffix structures strings Statement B Codeforces Beta Round 93 (Div. 1 Only) {126} PROGRAMMING Tutorial 1800
13783 Another Problem on Strings binary search brute force dp math strings two pointers Statement C Codeforces Round 112 (Div. 2) {165} PROGRAMMING Codeforces Round #112 (Div. 2) Tutorial 1600
2065 Cubes binary search dp two pointers Statement E Codeforces Round 116 (Div. 2, ACM-ICPC Rules) {180} PROGRAMMING 1700
6572 Little Elephant and Interval binary search combinatorics dp Statement A Codeforces Round 129 (Div. 1) {204} PROGRAMMING Tutorial 1600
4470 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
12220 Physics Practical binary search dp sortings two pointers Statement B Codeforces Round 154 (Div. 2) {253} PROGRAMMING Codeforces Round #154 (Div. 2) — tutorial 1400
1951 Little Elephant and LCM binary search combinatorics dp math Statement C Codeforces Round 157 (Div. 1) {258} PROGRAMMING Codeforces Round #157 — Editorial 2400
7887 Bubble Sort Graph binary search data structures dp Statement D Codeforces Round 198 (Div. 2) {340} PROGRAMMING Tutorial 1800
295 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
3483 Levko and Array binary search dp Statement B Codeforces Round 210 (Div. 1) {360} PROGRAMMING Codeforces Round #210 editorial 2300
987 Inna and Sequence binary search data structures dp trees Statement D Codeforces Round 220 (Div. 2) {374} PROGRAMMING Codeforces Round #220 (Div. 2) разбор 2300
206 Inna and Babies binary search data structures dsu geometry implementation Statement E Codeforces Round 220 (Div. 2) {374} PROGRAMMING Codeforces Round #220 (Div. 2) разбор 2600
10545 Bear and Prime Numbers binary search brute force data structures dp implementation math number theory Statement C Codeforces Round 226 (Div. 2) {385} PROGRAMMING Codeforces Round #226 (Div. 2) — Editorial 1800
8690 Booking System binary search dp greedy implementation Statement C Codeforces Round 241 (Div. 2) {416} PROGRAMMING Codeforces Round #241 — editorial 1600
607 Biathlon Track binary search brute force constructive algorithms data structures dp Statement D Codeforces Round 242 (Div. 2) {424} PROGRAMMING Codeforces Round #242 (Div. 2) Editorial 2200
2871 Random Task binary search bitmasks combinatorics dp math Statement D Codeforces Round 247 (Div. 2) {431} PROGRAMMING Editorial Codeforces Round #247 (Div. 2) 2200
41723 Number of Ways binary search brute force data structures dp two pointers Statement C Codeforces Round 266 (Div. 2) {466} PROGRAMMING Editorial Codeforces Round #266 (Div. 2) 1700
4143 Pillars binary search data structures dp sortings trees Statement E Codeforces Round 271 (Div. 2) {474} PROGRAMMING Codeforces Round #271 (Div. 2) Editorial 2200
4186 Strip binary search data structures dp two pointers Statement B Codeforces Round 278 (Div. 1) {487} PROGRAMMING Tutorial 2300
1144 Hiking binary search dp Statement E Codeforces Round 277.5 (Div. 2) {489} PROGRAMMING Codeforces Round #277.5 (Div. 2) Editorial [A-D for now] 2700
417 Pasha and Pipe binary search brute force combinatorics dp implementation Statement F Codeforces Round 293 (Div. 2) {518} PROGRAMMING Codeforces Round #293 (Div.2) Editorial 2800
8296 A and B and Lecture Rooms binary search data structures dfs and similar dp trees Statement E Codeforces Round 294 (Div. 2) {519} PROGRAMMING 2300
4157 Anya and Cubes binary search bitmasks brute force dp math meet-in-the-middle Statement E Codeforces Round 297 (Div. 2) {525} PROGRAMMING Codeforces Round #297 (Div.2) Editorial 2200
10819 Mike and Feet binary search data structures dp dsu Statement B Codeforces Round 305 (Div. 1) {547} PROGRAMMING Codeforces Round #305 Editorial 2100
930 Case of a Top Secret binary search implementation math Statement D Codeforces Round 310 (Div. 1) {555} PROGRAMMING Codeforces Round #310 Editorial 2500
10419 Geometric Progression binary search data structures dp Statement C Codeforces Round #Pi (Div. 2) {567} PROGRAMMING Editorial Codeforces Round #Pi 1700
6311 Bear and Blocks binary search data structures dp math Statement B Codeforces Round 318 [RussianCodeCup Thanks-Round] (Div. 1) {573} PROGRAMMING Codeforces Round #318 [RussianCodeCup Thanks-Round] Editorial 1800
10761 Chain Reaction binary search dp Statement A Codeforces Round 336 (Div. 1) {607} PROGRAMMING Codeforces Round #336 Editorial 1600
2472 Skills binary search brute force dp greedy sortings two pointers Statement B Codeforces Round 339 (Div. 1) {613} PROGRAMMING Tutorial 2200
526 Electric Charges binary search dp Statement C AIM Tech Round (Div. 1) {623} PROGRAMMING 2800
979 Preorder Test binary search dfs and similar dp graphs greedy trees Statement D 8VC Venture Cup 2016 - Final Round {627} PROGRAMMING 8VC Venture Cup 2016 — Final Round Editorial 2600
3333 Robot Rapping Results Report binary search dp graphs Statement D CROC 2016 - Elimination Round {645} PROGRAMMING Editorial for CROC 2016 Elimination Round 1800
3487 Image Preview binary search brute force dp two pointers Statement B Codeforces Round 345 (Div. 1) {650} PROGRAMMING Codeforces Round #345: editorial 1900
1592 Zip-line binary search data structures dp hashing Statement D Codeforces Round 345 (Div. 1) {650} PROGRAMMING Codeforces Round #345: editorial 2600
10704 Hard Process binary search dp two pointers Statement C Educational Codeforces Round 11 {660} PROGRAMMING Editorial of Educational Codeforces Round 11 1600
22327 Vasya and String binary search dp strings two pointers Statement C Codeforces Round 354 (Div. 2) {676} PROGRAMMING Editorial 1500
752 Vanya and Balloons binary search brute force dp implementation Statement E Codeforces Round 355 (Div. 2) {677} PROGRAMMING Codeforces Round #355 (Div. 2) Editorial 2600
2223 Bear and Tower of Cubes binary search dp greedy Statement B Codeforces Round 356 (Div. 1) {679} PROGRAMMING Codeforces Round #356 — Editorial 2300
82866 Interesting drink binary search dp implementation Statement B Codeforces Round 367 (Div. 2) {706} PROGRAMMING Tutorial 1100
404 Sonya Partymaker binary search dp Statement E Codeforces Round 371 (Div. 1) {713} PROGRAMMING Codeforces Round #371 Editorial 3100
3320 Complete The Graph binary search constructive algorithms graphs shortest paths Statement B Codeforces Round 372 (Div. 1) {715} PROGRAMMING Codeforces Round #372 Editorial 2200
355 Road to Home binary search dp Statement E Codeforces Round 374 (Div. 2) {721} PROGRAMMING Codeforces Round #374 (Div. 2) Editorial 2800
954 Polycarp's problems binary search dp greedy Statement F Technocup 2017 - Elimination Round 1 (Unofficially Open for Everyone, Rated for Div. 2) {727} PROGRAMMING Tutorial 2300
5681 Anton and Making Potions binary search dp greedy two pointers Statement C Codeforces Round 379 (Div. 2) {734} PROGRAMMING Tutorial of Codeforces Round #379 (Div. 2) 1600
1626 Vladik and cards binary search bitmasks brute force dp Statement E Codeforces Round 384 (Div. 2) {743} PROGRAMMING Codeforces Round #384 Editorial 2300
4530 Travel Card binary search dp Statement B 8VC Venture Cup 2017 - Final Round {756} PROGRAMMING 8VC Venture Cup 2017 — Final Round and Codeforces Round #393 Editorial 1700
6815 Alyona and Spreadsheet binary search data structures dp greedy implementation two pointers Statement C Codeforces Round 401 (Div. 2) {777} PROGRAMMING Problem analysis of Codeforces Round #401 (Div. 2) 1600
729 Exam Cheating binary search dp Statement E Codeforces Round 408 (Div. 2) {796} PROGRAMMING Tutorial 2800
1552 Expected diameter of a tree binary search brute force dfs and similar dp sortings trees Statement D Codeforces Round 411 (Div. 1) {804} PROGRAMMING Codeforces Round #411 Editorial 2600
2176 Selling Souvenirs binary search dp greedy ternary search Statement E Educational Codeforces Round 21 {808} PROGRAMMING 52010 2300
8446 Really Big Numbers binary search brute force dp math Statement C Educational Codeforces Round 23 {817} PROGRAMMING 52638 1600
1059 Liar binary search dp hashing string suffix structures Statement E Codeforces Round 422 (Div. 2) {822} PROGRAMMING Codeforces Round #422 (Div. 2) Editorial 2500
8206 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
6456 The Bakery binary search data structures divide and conquer dp two pointers Statement B Codeforces Round 426 (Div. 1) {833} PROGRAMMING Codeforces Round #426 Editorial 2200
3653 Packmen binary search dp Statement E 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest, qualification stage (Online Mirror, ACM-ICPC Rules, Teams Preferred) {847} PROGRAMMING 2000
712 Michael and Charging Stations binary search dp greedy Statement D Codeforces Round 433 (Div. 1, based on Olympiad of Metropolises) {853} PROGRAMMING Codeforces Round #433 Editorial 2400
936 Gotta Go Fast binary search dp Statement C MemSQL Start[c]UP 3.0 - Round 2 (onsite finalists) {865} PROGRAMMING MemSQL Start[c]UP 3.0 Round 2 Editorial 2500
1005 Delivery Club binary search data structures dp Statement E Codeforces Round 441 (Div. 1, by Moscow Team Olympiad) {875} PROGRAMMING Codeforces Round #441. Editorial. 2600
2310 Photo Processing binary search dp Statement I 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) {883} PROGRAMMING 2000
487 Packmen Strike Back binary search dp Statement D 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) {883} PROGRAMMING 2800
667 Mod Mod Mod binary search dp math Statement E Codeforces Round 445 (Div. 1, based on Technocup 2018 Elimination Round 3) {889} PROGRAMMING Editorial Codeforces Round 445 (and Technocup 2018 — Elimination Round 3) 3100
31548 Perfect Number binary search brute force dp implementation number theory Statement B Codeforces Round 460 (Div. 2) {919} PROGRAMMING Codeforces Round #460 (Div. 2) Editorial 1100
167 Parametric Circulation binary search flows Statement F VK Cup 2018 - Round 3 {925} PROGRAMMING Разбор VK 2018 Round 3 + Codeforces Round #477 3300
1966 Tree binary search dp trees Statement D ICM Technex 2018 and Codeforces Round 463 (Div. 1 + Div. 2, combined) {932} PROGRAMMING 57796 2200
1149 Guard Duty (medium) binary search dp greedy sortings Statement E2 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING helvetic-coding-contest-2018-editorial.pdf 2300
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
4142 Pencils and Boxes binary search data structures dp greedy two pointers Statement E Educational Codeforces Round 44 (Rated for Div. 2) {985} PROGRAMMING Educational Codeforces Round 44 Editorial 2000
536 A Shade of Moonlight binary search geometry math sortings two pointers Statement D Codeforces Round 487 (Div. 2) {989} PROGRAMMING Codeforces Round #487 (Div. 2) Editorial 2500
832 Compute Power binary search dp greedy Statement D Codeforces Round 488 by NEAR (Div. 1) {993} PROGRAMMING Codeforces Round #488 editorial 2400
1232 Sonya and Ice Cream binary search data structures dp greedy shortest paths trees Statement E Codeforces Round 495 (Div. 2) {1004} PROGRAMMING 60443 2400
4029 Stars Drawing (Hard Edition) binary search dp greedy Statement E2 Codeforces Round 501 (Div. 3) {1015} PROGRAMMING 60949 2000
1295 Rest In The Shades binary search geometry Statement E Educational Codeforces Round 48 (Rated for Div. 2) {1016} PROGRAMMING Разбор Educational Codeforces Round 48 2400
787 Hidden Bipartite Graph binary search constructive algorithms dfs and similar graphs interactive Statement E Lyft Level 5 Challenge 2018 - Elimination Round {1033} PROGRAMMING The Lyft Level 5 Challenge 2018 Elimination Round (Div. 1 + Div. 2) Editorial 2700
6413 Glider binary search data structures two pointers Statement D Codeforces Round 509 (Div. 2) {1041} PROGRAMMING Codeforces Round #509 (Div. 2) Editorial 1700
1205 Vasya and Big Integers binary search data structures dp hashing strings Statement E Educational Codeforces Round 51 (Rated for Div. 2) {1051} PROGRAMMING Educational Codeforces Round 51 Editorial 2500
886 Segments on the Line binary search dp Statement E Mail.Ru Cup 2018 Round 2 {1055} PROGRAMMING Mail.Ru Cup 2018 Round 2 — analysis 2400
703 Write The Contest binary search dp math Statement F Mail.Ru Cup 2018 Round 3 {1056} PROGRAMMING Mail.Ru Cup 2018 Round 3 Editorial 2400
1619 Split the Tree binary search data structures dp greedy trees Statement E Codeforces Round 514 (Div. 2) {1059} PROGRAMMING Codeforces Round #514 (Div. 2) Editorial 2400
159 Rain Protection binary search geometry Statement E Codeforces Round 517 (Div. 1, based on Technocup 2019 Elimination Round 2) {1071} PROGRAMMING Разбор задач Отборочного Раунда 2 Технокубка 2019 и Codeforces Round #517 3500
6293 Increasing Frequency binary search dp greedy Statement E Educational Codeforces Round 55 (Rated for Div. 2) {1082} PROGRAMMING 63544 2000
1033 Cookies binary search data structures dfs and similar dp games trees Statement F Codeforces Round 530 (Div. 2) {1099} PROGRAMMING E 2300
1627 Trucks and Cities binary search dp Statement F Educational Codeforces Round 58 (Rated for Div. 2) {1101} PROGRAMMING 64483 2500
2348 Elongated Matrix binary search bitmasks brute force dp graphs Statement F Codeforces Round 531 (Div. 3) {1102} PROGRAMMING 64439 2400
1240 Vasya and Maximum Profit binary search constructive algorithms data structures dp dsu Statement G Educational Codeforces Round 59 (Rated for Div. 2) {1107} PROGRAMMING Educational Codeforces Round 59 Editorial 2400
1000 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
565 Legendary Tree binary search interactive trees Statement E Codeforces Round 542 [Alex Lopashev Thanks-Round] (Div. 1) {1129} PROGRAMMING 65520 3000
5521 Serval and Rooted Tree binary search dfs and similar dp greedy trees Statement D Codeforces Round 551 (Div. 2) {1153} PROGRAMMING Editorial 1800
11013 A Tale of Two Lands binary search sortings two pointers Statement C Codeforces Round 561 (Div. 2) {1166} PROGRAMMING Codeforces Round #561 (Div. 2) Editorial 1600
1848 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
2531 Treasure Hunting binary search dp greedy implementation Statement D Codeforces Round 577 (Div. 2) {1201} PROGRAMMING Codeforces Round #577 (Div 2) Editorial 2000
57 Road Repair in Treeland *special binary search dp trees Statement H Kotlin Heroes: Episode 2 {1211} PROGRAMMING Kotlin Heroes: Episode 2 Editorial 3000
2082 Rock Is Push binary search dp Statement E Technocup 2020 - Elimination Round 2 {1225} PROGRAMMING 70898 2200
730 Alice and the Unfair Game binary search data structures dp dsu Statement E Codeforces Round 593 (Div. 2) {1236} PROGRAMMING 70654 2600
6438 AB-string binary search combinatorics dp strings Statement D Educational Codeforces Round 74 (Rated for Div. 2) {1238} PROGRAMMING Educational Codeforces Round 74 Editorial 1800
8144 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
4180 A Game with Traps binary search dp greedy sortings Statement D Educational Codeforces Round 77 (Rated for Div. 2) {1260} PROGRAMMING Educational Codeforces Round 77 Editorial 1900
3706 Common Number binary search combinatorics dp math Statement E Codeforces Round 608 (Div. 2) {1271} PROGRAMMING 72247 2100
1211 New Year and Handle Change binary search dp Statement F Educational Codeforces Round 79 (Rated for Div. 2) {1279} PROGRAMMING Educational Codeforces Round 79 Editorial 2800
11446 New Year and Ascent Sequence binary search combinatorics data structures dp implementation sortings Statement B Hello 2020 {1284} PROGRAMMING Hello 2020 Editorial 1500
1612 Nanosoft binary search data structures dp implementation Statement E Codeforces Round 619 (Div. 2) {1301} PROGRAMMING 2500.0 Codeforces Round #619 (Div. 2) Editorial 2500
1362 Cow and Treats binary search combinatorics dp greedy implementation math Statement E Codeforces Round 621 (Div. 1 + Div. 2) {1307} PROGRAMMING 2500.0 Codeforces Round #621 (Div. 1 + Div. 2) Editorial 2400
729 Au Pont Rouge binary search dp strings Statement C VK Cup 2019-2020 - Elimination Round (Engine) {1310} PROGRAMMING 1500.0 VK Cup 2019-2020 - Elimination Round (Engine) and Codeforces Round #623 2800
9599 Homecoming binary search dp greedy strings Statement B Codeforces Round 623 (Div. 2, based on VK Cup 2019-2020 - Elimination Round, Engine) {1315} PROGRAMMING 1000.0 VK Cup 2019-2020 - Elimination Round (Engine) and Codeforces Round #623 1300
11728 Three Blocks Palindrome (easy version) binary search brute force data structures dp two pointers Statement E1 Codeforces Round 634 (Div. 3) {1335} PROGRAMMING 75993 1700
28217 Card Constructions binary search brute force dp math Statement B Codeforces Round 639 (Div. 2) {1345} PROGRAMMING 1000.0 Codeforces Round #639 Editorial 1100
35174 Ternary String binary search dp implementation two pointers Statement B Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 1200
4616 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
893 Jog Around The Graph binary search dp geometry graphs Statement F Educational Codeforces Round 89 (Rated for Div. 2) {1366} PROGRAMMING Educational Codeforces Round 89 Editorial
5803 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
1863 Flying Sort (Hard Version) binary search dp greedy two pointers Statement F2 Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
5216 Binary Subsequence Rotation binary search data structures dp greedy implementation Statement E Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 2500.0 Editorial — Codeforces Round #651
10812 Odd-Even Subsequence binary search dp greedy implementation sortings Statement D Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 2000.0 Editorial — Codeforces Round #651
19332 Pluses and Minuses binary search dp greedy implementation math Statement C Educational Codeforces Round 90 (Rated for Div. 2) {1373} PROGRAMMING Educational Codeforces Round 90 Editorial
1384 Controversial Rounds binary search data structures dp dsu two pointers Statement F Educational Codeforces Round 93 (Rated for Div. 2) {1398} PROGRAMMING Educational Codeforces Round 93 Editorial
36156 Good Subarrays binary search data structures dp math Statement C Educational Codeforces Round 93 (Rated for Div. 2) {1398} PROGRAMMING Educational Codeforces Round 93 Editorial
5687 Discrete Centrifugal Jumps binary search data structures dp greedy Statement D Codeforces Round 669 (Div. 2) {1407} PROGRAMMING 2000.0 Codeforces Round #669 Editorial
4666 Searchlights binary search brute force data structures dp geometry implementation sortings Statement D Grakn Forces 2020 {1408} PROGRAMMING 2000.0 Grakn Forces -- Editorial
8444 Two Platforms binary search dp sortings two pointers Statement E Codeforces Round 667 (Div. 3) {1409} PROGRAMMING Codeforces Round #667 (Div. 3) Editorial
2580 Fruit Sequences binary search data structures divide and conquer dp Statement F Codeforces Raif Round 1 (Div. 1 + Div. 2) {1428} PROGRAMMING 1750.0 Codeforces Raif Round 1 Editorial
4077 Xor Tree binary search bitmasks data structures divide and conquer dp trees Statement C Codeforces Round 683 (Div. 1, by Meet IT) {1446} PROGRAMMING 1250.0 E
2216 Dog Snacks binary search dfs and similar dp greedy trees Statement E Codeforces Round 688 (Div. 2) {1453} PROGRAMMING 2500.0 Codeforces Round #688 (Div. 2) Editorial
375 Strange Permutation binary search combinatorics data structures dp two pointers Statement E Codeforces Round 694 (Div. 1) {1470} PROGRAMMING 2000.0 86464
11170 Cleaning the Phone binary search dp greedy sortings two pointers Statement D Codeforces Round 697 (Div. 3) {1475} PROGRAMMING Codeforces Round #697 (Div. 3) Editorial
3345 Paired Payment binary search constructive algorithms dp graphs shortest paths Statement E Codeforces Round 703 (Div. 2) {1486} PROGRAMMING 2250.0 Codeforces Round #703 (Div. 2) Editorial
9679 Max Median binary search data structures dp two pointers Statement D Codeforces Round 703 (Div. 2) {1486} PROGRAMMING 1750.0 Codeforces Round #703 (Div. 2) Editorial
3838 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
4414 Almost Sorted binary search bitmasks combinatorics constructive algorithms dp implementation math Statement B Codeforces Round 715 (Div. 1) {1508} PROGRAMMING 1000.0 Codeforces Round #715 Editorial
5152 Cut binary search data structures graphs number theory Statement D Codeforces Round 717 (Div. 2) {1516} PROGRAMMING 2000.0 Codeforces round #717 editorial
2884 Partition Game binary search data structures divide and conquer dp Statement E Codeforces Round 721 (Div. 2) {1527} PROGRAMMING 3000.0 Tutorial 2500
16236 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
22146 Interesting Function binary search dp math Statement F Codeforces Round 725 (Div. 3) {1538} PROGRAMMING Codeforces Round #725 (Div. 3) Editorial
1053 Game with Cards binary search constructive algorithms data structures dp implementation Statement E Codeforces Round 727 (Div. 2) {1539} PROGRAMMING 2000.0 tutorial 2500
1833 Stringforces binary search bitmasks data structures dp greedy strings two pointers Statement E Educational Codeforces Round 111 (Rated for Div. 2) {1550} PROGRAMMING Educational Codeforces Round 111 Editorial
3297 Telepanting binary search data structures dp sortings Statement F Codeforces Global Round 15 {1552} PROGRAMMING 1500.0 Editorial of Global Round 15
2240 Two Hundred Twenty One (hard version) binary search constructive algorithms data structures dp math Statement D2 Codeforces Round 741 (Div. 2) {1562} PROGRAMMING 1250.0 Editorial of Codeforces Round 741 (Div. 2)
10406 Book binary search data structures dp graphs implementation Statement A Codeforces Round 743 (Div. 1) {1572} PROGRAMMING 500.0 Tutorial 1800
371 Polygon binary search dp Statement E Codeforces Round 743 (Div. 1) {1572} PROGRAMMING 2500.0 Tutorial 3000
2744 Minimal Coverage binary search dp greedy Statement G Codeforces Round 744 (Div. 3) {1579} PROGRAMMING Codeforces Round #744 (Div. 3) Editorial
2077 Korney Korneevich and XOR (hard version) binary search brute force dp two pointers Statement F2 Codeforces Round 750 (Div. 2) {1582} PROGRAMMING 1500.0 Codeforces Round #750 (Div.2) Editorial
4196 Pchelyonok and Segments binary search data structures dp greedy math Statement E Codeforces Round 750 (Div. 2) {1582} PROGRAMMING 2500.0 Codeforces Round #750 (Div.2) Editorial
1623 RBS binary search bitmasks data structures dp Statement F Educational Codeforces Round 115 (Rated for Div. 2) {1598} PROGRAMMING 95890
661 Tree Queries binary search data structures dp dsu geometry trees Statement F Educational Codeforces Round 116 (Rated for Div. 2) {1606} PROGRAMMING 96454
10435 Complex Market Analysis binary search dp implementation number theory schedules two pointers Statement C Deltix Round, Autumn 2021 (open for everyone, rated, Div. 1 + Div. 2) {1609} PROGRAMMING 1500.0 Deltix Round, Autumn 2021. Editorial 1400
5313 New Year Concert binary search data structures dp greedy math number theory two pointers Statement D Codeforces Round 769 (Div. 2) {1632} PROGRAMMING 2000.0 Editorial of Codeforces Round #769
5282 For Gamers. By Gamers. binary search dp math sortings two pointers Statement D Educational Codeforces Round 125 (Rated for Div. 2) {1657} PROGRAMMING 101161
1793 MinimizOR binary search bitmasks data structures dp greedy implementation Statement E Codeforces Round 781 (Div. 2) {1665} PROGRAMMING 2250.0 Codeforces Round #781 (Div. 2) Editorial
5806 Toss a Coin to Your Graph... binary search dfs and similar dp graphs Statement D Codeforces Round 791 (Div. 2) {1679} PROGRAMMING 1750.0 Codeforces Round #791 (Div. 2) Editorial
4314 Moving Chips binary search bitmasks dp greedy Statement E Educational Codeforces Round 128 (Rated for Div. 2) {1680} PROGRAMMING 102852
6976 River Locks binary search dp greedy math Statement D Codeforces Round 802 (Div. 2) {1700} PROGRAMMING 1750.0 103978 1900
29784 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
7706 Chopping Carrots (Easy Version) binary search brute force constructive algorithms dp greedy number theory Statement D1 Codeforces Round 809 (Div. 2) {1706} PROGRAMMING 1000.0 Codeforces Round #809 Editorial
8461 Valiant's New Map binary search brute force data structures dp two pointers Statement D Codeforces Round 841 (Div. 2) and Divide by Zero 2022 {1731} PROGRAMMING 1500.0 Codeforces Round #841 (Div. 2) and Divide By Zero 2022 Editorial
1858 FTL binary search dp greedy Statement E Educational Codeforces Round 137 (Rated for Div. 2) {1743} PROGRAMMING Educational Codeforces Round 137 Editorial 2400
1655 Bracket Cost binary search data structures divide and conquer dp greedy strings Statement E CodeTON Round 3 (Div. 1 + Div. 2, Rated, Prizes!) {1750} PROGRAMMING 2250.0 CodeTON Round 3 (Div. 1 + Div. 2) Editorial
863 Good Pairs binary search data structures dp Statement F Codeforces Round 838 (Div. 2) {1762} PROGRAMMING 2750.0 Codeforces Round #838 (Div. 2) Editorial
1424 Doremy's Number Line binary search dp greedy sortings Statement E Codeforces Global Round 24 {1764} PROGRAMMING 2250.0 Codeforces Global Round 24 Editorial
21207 Hossam and Friends binary search constructive algorithms dp two pointers Statement B Codeforces Round 837 (Div. 2) {1771} PROGRAMMING 1000.0 Codeforces Round #837 (Div. 2) Editorial
11440 Controllers binary search math Statement L SWERC 2022-2023 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1776} PROGRAMMING
4635 Moving Dots binary search brute force combinatorics dp math two pointers Statement D Codeforces Round 851 (Div. 2) {1788} PROGRAMMING 2250.0 Codeforces Round #851 (Div. 2) Editorial
2375 Explosions? binary search data structures dp math Statement E Educational Codeforces Round 143 (Rated for Div. 2) {1795} PROGRAMMING 112963
1371 Blocking Chips binary search dfs and similar dp greedy Statement F Educational Codeforces Round 143 (Rated for Div. 2) {1795} PROGRAMMING 112963
12143 Maximum Set binary search brute force combinatorics dp math Statement C Educational Codeforces Round 144 (Rated for Div. 2) {1796} PROGRAMMING Educational Codeforces Round 144 Editorial
4086 Music Festival binary search data structures dp greedy sortings Statement C Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 1250.0 Codeforces Round #857 Editorial
7258 Binary String Sorting binary search dp greedy Statement D Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
1066 Two Tanks binary search dp implementation math Statement E Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
2117 Vlad and the Nice Paths (hard version) binary search combinatorics data structures dp math two pointers Statement G2 Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
14374 Living Sequence binary search dp math number theory Statement E Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
4522 Range Sorting (Easy Version) binary search dp dsu greedy trees two pointers Statement B1 Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 750.0 Codeforces Round #873 (Div. 1 & 2) Editorial 2000
2304 Range Sorting (Hard Version) binary search data structures dp greedy Statement B2 Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 750.0 Codeforces Round #873 (Div. 1 & 2) Editorial 2400
1645 Palindrome Partition binary search brute force data structures dp hashing strings Statement C Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 1500.0 Codeforces Round #873 (Div. 1 & 2) Editorial 2600
356 Zombies binary search dp Statement F Educational Codeforces Round 148 (Rated for Div. 2) {1832} PROGRAMMING 116454 3200
16741 Strong Password binary search dp greedy strings Statement C Educational Codeforces Round 151 (Rated for Div. 2) {1845} PROGRAMMING 117791
12494 Binary String Copying binary search brute force data structures hashing strings Statement C Educational Codeforces Round 152 (Rated for Div. 2) {1849} PROGRAMMING 118752
18175 To Become Max binary search brute force data structures dp Statement C Codeforces Round 890 (Div. 2) supported by Constructor Institute {1856} PROGRAMMING 1250.0 Codeforces Round #890 (Div. 2) Editorial
3185 Trees and Segments binary search brute force constructive algorithms data structures dp greedy two pointers Statement D Codeforces Round 893 (Div. 2) {1858} PROGRAMMING 2000.0 Codeforces Round #893 (Div. 2) Editorial 2200
7977 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.
7572 Magic Will Save the World binary search bitmasks brute force dp Statement F Codeforces Round 894 (Div. 3) {1862} PROGRAMMING Tutorial
558 Keen Tree Calculation binary search dp geometry trees Statement K COMPFEST 15 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1866} PROGRAMMING COMPFEST 15 Preliminary — Editorial
13084 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
320 Two Characters, Two Colors binary search data structures dp flows geometry Statement G Educational Codeforces Round 157 (Rated for Div. 2) {1895} PROGRAMMING Educational Codeforces Round 157 Editorial
895 Babysitting 2-sat binary search data structures graphs Statement F Codeforces Round 912 (Div. 2) {1903} PROGRAMMING 3500.0 Codeforces Round #912 (Div. 2) Editorial
27636 Collecting Game binary search dp greedy two pointers Statement B Codeforces Round 914 (Div. 2) {1904} PROGRAMMING 750.0 Codeforces Round 914 (Div. 2) Editorial
6142 Blocking Elements binary search data structures dp greedy implementation two pointers Statement D Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 2000.0 Codeforces Round #922 (Div. 2) Editorial
6472 Array Repetition binary search data structures dp implementation math Statement D Codeforces Round 919 (Div. 2) {1920} PROGRAMMING 2000.0 Editorial for Codeforces Round #919 (Div. 2)
14797 Vlad and an Odd Ordering binary search bitmasks data structures dp implementation math number theory Statement E Codeforces Round 928 (Div. 4) {1926} PROGRAMMING 126132
32887 Find the Different Ones! binary search brute force data structures dp greedy two pointers Statement D Codeforces Round 923 (Div. 3) {1927} PROGRAMMING 125597
17241 Sasha and the Casino binary search brute force dp games greedy math Statement C Codeforces Round 926 (Div. 2) {1929} PROGRAMMING 1500.0 Codeforces Round #926 (Div. 2) Editorial.
9747 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
13674 Tree Cutting binary search dp greedy implementation trees Statement C Codeforces Round 936 (Div. 2) {1946} PROGRAMMING 1500.0 Codeforces Round #936 (Div. 2) Editorial
5268 Division + LCP (easy version) binary search data structures dp hashing string suffix structures strings Statement G1 Codeforces Round 943 (Div. 3) {1968} PROGRAMMING 129096 1900
2494 Division + LCP (hard version) binary search brute force data structures dp hashing math string suffix structures strings Statement G2 Codeforces Round 943 (Div. 3) {1968} PROGRAMMING 129096 2200
1845 Unique Array binary search data structures divide and conquer dp greedy Statement E Educational Codeforces Round 165 (Rated for Div. 2) {1969} PROGRAMMING Educational Codeforces Round 165 Editorial 2400
12385 Job Interview binary search dp greedy implementation two pointers Statement C Educational Codeforces Round 166 (Rated for Div. 2) {1976} PROGRAMMING Educational Codeforces Round 166 Editorial
21832 Boring Day binary search data structures dp greedy two pointers Statement C Codeforces Round 955 (Div. 2, with prizes from NEAR!) {1982} PROGRAMMING 1000.0 130839
14682 Have Your Cake and Eat It Too binary search brute force dp greedy implementation Statement C Codeforces Round 956 (Div. 2) and ByteRace 2024 {1983} PROGRAMMING 1250.0
4461 Med-imize binary search data structures dp greedy Statement D Codeforces Round 963 (Div. 2) {1993} PROGRAMMING 2000.0 Editorial of Codeforces Round 963 (Div. 2)
13479 Hungry Games binary search data structures dp two pointers Statement C Codeforces Round 959 sponsored by NEAR (Div. 1 + Div. 2) {1994} PROGRAMMING 1250.0 Video Tutorial
15828 Maximize the Root binary search dfs and similar dp greedy trees Statement D Educational Codeforces Round 168 (Rated for Div. 2) {1997} PROGRAMMING Video Tutorial
2277 Eliminating Balls With Merging (Easy Version) binary search brute force data structures divide and conquer dp greedy math Statement E1 Codeforces Round 965 (Div. 2) {1998} PROGRAMMING 1750.0 Video Tutorial
2298 Ksyusha and the Loaded Set binary search data structures dp implementation trees Statement H Codeforces Round 966 (Div. 3) {2000} PROGRAMMING 132689
1233 Alter the GCD binary search data structures divide and conquer dp number theory Statement D Codeforces Round 972 (Div. 2) {2005} PROGRAMMING 2250.0 Discussion stream (With Hints)
237 Complex Segments (Easy Version) binary search data structures divide and conquer dsu greedy math sortings Statement E1 Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 2250.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
203 Complex Segments (Hard Version) binary search data structures divide and conquer dsu greedy math sortings Statement E2 Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 750.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
5161 Speedbreaker binary search dp greedy implementation math two pointers Statement B Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 750.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
5814 Sums of Segments binary search data structures dp implementation math Statement D Educational Codeforces Round 171 (Rated for Div. 2) {2026} PROGRAMMING Educational Codeforces Round 171 Editorial
1897 The Endspeaker (Hard Version) binary search combinatorics data structures dp greedy implementation two pointers Statement D2 Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 1000.0 Codeforces Round #982 (Div. 2) Editorial
6929 The Endspeaker (Easy Version) binary search dp graphs greedy implementation two pointers Statement D1 Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 1250.0 Codeforces Round #982 (Div. 2) Editorial
9922 Alice's Adventures in Cutting Cake binary search dp greedy two pointers Statement C Codeforces Round 986 (Div. 2) {2028} PROGRAMMING 1500.0 Codeforces Round 986 (Div. 2) Editorial
7549 New Rating binary search data structures dp greedy Statement C Refact.ai Match 1 (Codeforces Round 985) {2029} PROGRAMMING 1750.0 Refact.ai Match 1 (Codeforces Round 985) Editorial
1155 Orangutan Approved Subarrays binary search brute force data structures greedy two pointers Statement F Codeforces Round 979 (Div. 2) {2030} PROGRAMMING 2500.0 Codeforces Round 979 Editorial
17753 Sakurako's Field Trip binary search dp greedy Statement C Codeforces Round 981 (Div. 3) {2033} PROGRAMMING 135520
5809 Yet Another Real Number Problem binary search brute force data structures dp greedy implementation math two pointers Statement D Codeforces Global Round 27 {2035} PROGRAMMING 1500.0 Codeforces Global Round 27 Editorial
1092 Tree Operations binary search dfs and similar dp trees Statement F Codeforces Global Round 27 {2035} PROGRAMMING 2250.0 Codeforces Global Round 27 Editorial
520 Vertex Pairs binary search brute force dfs and similar dp greedy trees Statement E Educational Codeforces Round 172 (Rated for Div. 2) {2042} PROGRAMMING 136886
11149 Sums on Segments binary search brute force data structures dp greedy math Statement C Educational Codeforces Round 173 (Rated for Div. 2) {2043} PROGRAMMING Educational Codeforces Round 173 Editorial
2594 Another Exercise on Graphs (Easy Version) binary search brute force dp graphs shortest paths Statement E1 Hello 2025 {2057} PROGRAMMING 1000.0
2259 Kevin and Binary String (Easy Version) binary search brute force data structures dp greedy implementation strings two pointers Statement F1 IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) {2061} PROGRAMMING 2000.0 IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) Editorial
4991 Game With Triangles binary search data structures dp greedy math ternary search two pointers Statement D Codeforces Round 1000 (Div. 2) {2063} PROGRAMMING 2250.0 Codeforces Round 1000 (Div. 2) — Editorial
14266 Two Colors binary search data structures dp math Statement C Educational Codeforces Round 176 (Rated for Div. 2) {2075} PROGRAMMING Educational Codeforces Round 176 Editorial
18937 Large Array and Segments binary search brute force dp greedy math Statement B Educational Codeforces Round 177 (Rated for Div. 2) {2086} PROGRAMMING Educational Codeforces Round 177 Editorial
6139 Igor and Mountain binary search brute force dp Statement F Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
8005 Unpleasant Strings binary search data structures dp greedy strings Statement E Educational Codeforces Round 178 (Rated for Div. 2) {2104} PROGRAMMING Educational Codeforces Round 178 Editorial
12196 Flower Boy binary search dp greedy two pointers Statement D Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
497 Cycling (Hard Version) binary search data structures dp geometry greedy Statement F2 Codeforces Round 1023 (Div. 2) {2107} PROGRAMMING 2500.0 Codeforces Round 1023 (Div 2) Editorial
8529 Fewer Batteries binary search dfs and similar dp graphs greedy Statement D Codeforces Round 1026 (Div. 2) {2110} PROGRAMMING 2000.0 Codeforces Round 1026 (Div. 2) Editorial
5476 Small Operations binary search bitmasks brute force dfs and similar dp math number theory sortings Statement F Codeforces Round 1027 (Div. 3) {2114} PROGRAMMING 143268
2481 Red Light, Green Light (Hard version) binary search dfs and similar dp dsu graphs implementation number theory Statement D2 Codeforces Round 1030 (Div. 2) {2118} PROGRAMMING 1000.0 Codeforces Round 1030 (Div. 2) Editorial
1832 Lanes of Cars binary search dp ternary search Statement E Codeforces Round 1033 (Div. 2) and CodeNite 2025 {2120} PROGRAMMING 2500.0 Codeforces Round 1033 (Div. 2) and CodeNite 2025 Editorial
2215 Ice Baby binary search brute force data structures dp implementation sortings Statement H Codeforces Round 1032 (Div. 3) {2121} PROGRAMMING Codeforces Round 1032 (Div. 3) Editorial
393 Timofey and Docker binary search dp Statement F Educational Codeforces Round 181 (Rated for Div. 2) {2125} PROGRAMMING Educational Codeforces Round 181 Editorial
6512 Submedians (Easy Version) binary search data structures dp greedy Statement E1 Codeforces Round 1039 (Div. 2) {2128} PROGRAMMING 1750.0 Codeforces Round #1039 — Editorial
1655 Interactive RBS (Hard Version) binary search bitmasks constructive algorithms dp interactive Statement C3 Codeforces Round 1040 (Div. 1) {2129} PROGRAMMING 750.0 Codeforces Round 1040 (Div. 1, Div. 2) Editorial
8772 From 1 to Infinity binary search dp implementation math Statement D Codeforces Round 1043 (Div. 3) {2132} PROGRAMMING Codeforces Round 1043 (Div. 3) Editorial
7435 Chicken Jockey binary search brute force dp greedy math Statement D Codeforces Round 1044 (Div. 2) {2133} PROGRAMMING 2250.0 Codeforces Round 1044 (Div. 2) Editorial
6349 Inversion Graph Coloring (Easy Version) binary search data structures dp two pointers Statement D1 Codeforces Round 1051 (Div. 2) {2143} PROGRAMMING 1750.0 Codeforces Round 1051 (Div. 2) Editorial
2739 Inversion Graph Coloring (Hard Version) binary search data structures dp two pointers Statement D2 Codeforces Round 1051 (Div. 2) {2143} PROGRAMMING 1000.0 Codeforces Round 1051 (Div. 2) Editorial
1004 Inverse Minimum Partition (Easy Version) binary search data structures dp greedy math two pointers Statement D1 Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 1500.0 Codeforces Round 1058 Editorial
2752 Locked Out binary search data structures dp graphs greedy implementation two pointers Statement D Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 2250.0
7038 Rae Taylor and Trees (hard version) binary search constructive algorithms data structures dp dsu implementation trees Statement F Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
998 Shiori Miyagi and Maximum Array Score binary search data structures dp Statement H Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
11420 Rae Taylor and Trees (easy version) binary search data structures dp dsu greedy implementation trees Statement D Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
628 Greta's Game binary search dp math Statement G 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
1906 Little String (Hard Version) binary search combinatorics dp greedy math number theory Statement D2 Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 750.0 Codeforces Round 1075 (Div. 2) Editorial