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.

Get exact match for tags using this format, eg: [u'brute force', 'dp']

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
3437 Exposition binary search data structures ds trees two pointers Statement E Codeforces Beta Round 6 (Div. 2 Only) {6} PROGRAMMING 1900
589 Lucky Tickets binary search data structures sortings two pointers Statement C Codeforces Beta Round 64 {70} PROGRAMMING Analysis Codeforces Beta Round #64 2200
339 Archer's Shot binary search geometry math two pointers Statement D Codeforces Beta Round 70 (Div. 2) {78} PROGRAMMING Solutions for Codeforces Beta Round #70 (Div. 2) 2400
294 Lucky Segments binary search implementation two pointers Statement D Codeforces Beta Round 91 (Div. 1 Only) {121} PROGRAMMING 2400
668 Present to Mom binary search two pointers Statement F Codeforces Beta Round 95 (Div. 2) {131} PROGRAMMING 2200
5008 Dress'em in Vests! binary search brute force greedy two pointers Statement A VK Cup 2012 Round 1 {161} PROGRAMMING 1300
12815 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
1904 Cubes binary search dp two pointers Statement E Codeforces Round 116 (Div. 2, ACM-ICPC Rules) {180} PROGRAMMING 1700
1370 Spider's Web binary search sortings two pointers Statement D Codeforces Round 133 (Div. 2) {216} PROGRAMMING 1800
2191 Olympiad binary search greedy sortings two pointers Statement D Codeforces Round 137 (Div. 2) {222} PROGRAMMING 1800
8880 To Add or Not to Add binary search sortings two pointers Statement C Codeforces Round 143 (Div. 2) {231} PROGRAMMING 1700
6044 Primes on Interval binary search number theory two pointers Statement C Codeforces Round 147 (Div. 2) {237} PROGRAMMING Codeforces Round #147 (Div. 2) Разбор Задач 1600
18691 Points on Line binary search combinatorics two pointers Statement A Codeforces Round 153 (Div. 1) {251} PROGRAMMING Editorial of Codeforces Round #153 1400
11124 Physics Practical binary search dp sortings two pointers Statement B Codeforces Round 154 (Div. 2) {253} PROGRAMMING 1400
58439 Books binary search brute force implementation two pointers Statement B Codeforces Round 171 (Div. 2) {279} PROGRAMMING Codeforces Round #171 (Div. 2) Разбор Задач 1400
8696 Eugeny and Play List binary search implementation two pointers Statement B Codeforces Round 182 (Div. 2) {302} PROGRAMMING Codeforces Round #182 tutorial 1200
502 Morning run binary search math two pointers Statement A Croc Champ 2013 - Finals (online version, Div. 1) {309} PROGRAMMING 2000
540 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
3051 Read Time binary search greedy two pointers Statement C Codeforces Round 200 (Div. 1) {343} PROGRAMMING 2100
5284 Pair of Numbers binary search brute force data structures math two pointers Statement D Codeforces Round 209 (Div. 2) {359} PROGRAMMING Editorial Codeforces Round #209 (Div. 2) 2100
1588 Dima and Trap Graph binary search data structures dfs and similar ds shortest paths two pointers Statement D Codeforces Round 214 (Div. 2) {366} PROGRAMMING 2400
13685 Counting Kangaroos is Fun binary search greedy sortings two pointers Statement A Codeforces Round 219 (Div. 1) {372} PROGRAMMING 9944 1700
1012 Choosing Subtree is Fun binary search data structures dfs and similar trees two pointers Statement D Codeforces Round 219 (Div. 1) {372} PROGRAMMING 9944 2600
728 Volcanoes binary search implementation sortings two pointers Statement B Codeforces Round 225 (Div. 1) {383} PROGRAMMING 2200
703 Mashmokh and Water Tanks binary search data structures greedy trees two pointers Statement D Codeforces Round 240 (Div. 1) {414} PROGRAMMING 2300
6306 Devu and his Brother binary search sortings ternary search two pointers Statement D Codeforces Round 251 (Div. 2) {439} PROGRAMMING Codeforces Round #251 Editorial 1900
799 DZY Loves Strings binary search hashing strings two pointers Statement D Codeforces Round 254 (Div. 1) {444} PROGRAMMING 2400
37830 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
7209 Maximum Value binary search math sortings two pointers Statement B Codeforces Round 276 (Div. 1) {484} PROGRAMMING Codeforces Round #276 — Editorial 2100
3707 Strip binary search data structures dp two pointers Statement B Codeforces Round 278 (Div. 1) {487} PROGRAMMING Tutorial 2300
7005 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
4708 R2D2 and Droid Army binary search data structures two pointers Statement D Codeforces Round 291 (Div. 2) {514} PROGRAMMING Codeforces Round #291 (Div. 2) Editorial 2100
28272 Kefa and Company binary search sortings two pointers Statement B Codeforces Round 321 (Div. 2) {580} PROGRAMMING Codeforces Round #321 Editorial 1500
228 BCPC binary search geometry two pointers Statement E Codeforces Round 328 (Div. 2) {592} PROGRAMMING 2800
32498 Queries about less or equal elements binary search data structures sortings two pointers Statement B Educational Codeforces Round 2 {600} PROGRAMMING Editorial 1300
2849 Gadgets for dollars and pounds binary search greedy two pointers Statement D Educational Codeforces Round 3 {609} PROGRAMMING 2000
2262 Skills binary search brute force dp greedy sortings two pointers Statement B Codeforces Round 339 (Div. 1) {613} PROGRAMMING Tutorial 2200
10528 Longest k-Good Segment binary search data structures two pointers Statement D Educational Codeforces Round 5 {616} PROGRAMMING Editorial of Educational Codeforces Round 5 1700
1803 Professor GukiZ and Two Arrays binary search two pointers Statement D Educational Codeforces Round 6 {620} PROGRAMMING 2200
599 Startup Funding binary search constructive algorithms data structures probabilities two pointers Statement E Manthan, Codefest 16 {633} PROGRAMMING 2400
3601 Enduring Exodus binary search two pointers Statement C CROC 2016 - Elimination Round {645} PROGRAMMING 1600
3386 Image Preview binary search brute force dp two pointers Statement B Codeforces Round 345 (Div. 1) {650} PROGRAMMING 1900
9826 Hard Process binary search dp two pointers Statement C Educational Codeforces Round 11 {660} PROGRAMMING Editorial of Educational Codeforces Round 11 1600
19677 Vasya and String binary search dp strings two pointers Statement C Codeforces Round 354 (Div. 2) {676} PROGRAMMING Editorial 1500
132 ...Dary! binary search geometry two pointers Statement F Codeforces Round 362 (Div. 1) {696} PROGRAMMING 3200
16601 They Are Everywhere binary search strings two pointers Statement C Codeforces Round 364 (Div. 2) {701} PROGRAMMING Codeforces Round #364 problem analysis 1500
17491 Cellular Network binary search implementation two pointers Statement C Educational Codeforces Round 15 {702} PROGRAMMING 46324 1500
5446 Anton and Making Potions binary search dp greedy two pointers Statement C Codeforces Round 379 (Div. 2) {734} PROGRAMMING 1600
1518 Santa Claus and Tangerines binary search data structures greedy two pointers Statement E Technocup 2017 - Elimination Round 3 {748} PROGRAMMING 2000
2648 Two strings binary search hashing strings two pointers Statement C Educational Codeforces Round 17 {762} PROGRAMMING Tutorial 2100
2285 Cartons of milk binary search data structures greedy sortings two pointers Statement D Codeforces Round 398 (Div. 2) {767} PROGRAMMING 2000
6532 Alyona and Spreadsheet binary search data structures dp greedy implementation two pointers Statement C Codeforces Round 401 (Div. 2) {777} PROGRAMMING 1600
128 Intranet of Buses binary search geometry implementation two pointers Statement H Технокубок 2017 - Финал (только для онсайт-финалистов) {780} PROGRAMMING 3000
2377 Card Game Again binary search data structures number theory two pointers Statement E Educational Codeforces Round 24 {818} PROGRAMMING 52991 2000
5412 The Bakery binary search data structures divide and conquer dp two pointers Statement B Codeforces Round 426 (Div. 1) {833} PROGRAMMING 2200
8465 K-Dominant Character binary search implementation two pointers Statement C Educational Codeforces Round 32 {888} PROGRAMMING Educational Codeforces Round 32 - Editorial 1400
3635 XK Segments binary search math sortings two pointers Statement B Codeforces Round 448 (Div. 2) {895} PROGRAMMING Codeforces Round #448(Div.2) Editorial 1700
1200 Bipartite Segments binary search data structures dfs and similar ds graphs two pointers Statement C Codeforces Round 453 (Div. 1) {901} PROGRAMMING 2500
1731 Prime Gift binary search dfs and similar math meet-in-the-middle number theory two pointers Statement E Codeforces Round 456 (Div. 2) {912} PROGRAMMING Codeforces Round #456 (Div. 2) Editorial 2600
5416 Three-level Laser binary search greedy two pointers Statement B VK Cup 2018 - Round 2 {924} PROGRAMMING VK Cup 2018 Round 2 and Codeforces Round #472 Editorial 1600
4692 Convenient For Everybody binary search two pointers Statement C Codeforces Round 464 (Div. 2) {939} PROGRAMMING 1600
3204 Maximize! binary search greedy ternary search two pointers Statement E Codeforces Round 464 (Div. 2) {939} PROGRAMMING Analysis of Codeforces Round #464 1900
2229 Castle Defense binary search data structures greedy two pointers Statement G Educational Codeforces Round 40 (Rated for Div. 2) {954} PROGRAMMING 2100
1312 Lightsabers (medium) binary search two pointers Statement F2 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING 1900
3178 Single-use Stones binary search flows greedy two pointers Statement D Codeforces Round 476 (Div. 2) [Thanks, Telegram!] {965} PROGRAMMING Analysis of Codeforces Round #476 (Div. 2) [Thanks, Telegram!] 1900
26968 Letters binary search implementation two pointers Statement C Codeforces Round 481 (Div. 3) {978} PROGRAMMING T 1000
3768 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
523 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
22180 Three Parts of the Array binary search data structures two pointers Statement C Codeforces Round 498 (Div. 3) {1006} PROGRAMMING 60672 1300
504 Intervals of Intervals binary search data structures two pointers Statement D Codeforces Round 511 (Div. 1) {1034} PROGRAMMING Codeforces Round #511 Editorial 3500
9662 Coffee Break binary search data structures greedy two pointers Statement C Codeforces Round 509 (Div. 2) {1041} PROGRAMMING Codeforces Round #509 (Div. 2) Editorial 1500
6081 Glider binary search data structures two pointers Statement D Codeforces Round 509 (Div. 2) {1041} PROGRAMMING Codeforces Round #509 (Div. 2) Editorial 1700
2979 The Tower is Going Home binary search two pointers Statement A Lyft Level 5 Challenge 2018 - Final Round {1044} PROGRAMMING Lyft Level 5 Challenge 2018 — Final Round — Editorial 1700
4980 Maximum Subrectangle binary search implementation two pointers Statement C 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) 1600
4998 Vasya and Robot binary search two pointers Statement C Educational Codeforces Round 53 (Rated for Div. 2) {1073} PROGRAMMING 62742 1800
7616 Born This Way binary search brute force two pointers Statement B Codeforces Global Round 3 {1148} PROGRAMMING Codeforces Global Round 3 Editorial 1700
6258 Match Points binary search greedy sortings ternary search two pointers Statement C Educational Codeforces Round 64 (Rated for Div. 2) {1156} PROGRAMMING 66827 2000
7489 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
10145 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
2735 Range Deleting binary search combinatorics data structures two pointers Statement E Educational Codeforces Round 65 (Rated for Div. 2) {1167} PROGRAMMING 67058 2100
2526 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
7644 Remove the Substring (hard version) binary search greedy implementation two pointers Statement D2 Codeforces Round 579 (Div. 3) {1203} PROGRAMMING Codeforces Round #579 (Div. 3) Editorial 1800
10768 Uniqueness binary search brute force implementation two pointers Statement B Manthan, Codefest 19 (open for everyone, rated, Div. 1 + Div. 2) {1208} PROGRAMMING 69357 1500
5512 Minimizing Difference binary search constructive algorithms greedy sortings ternary search two pointers Statement E Codeforces Round 592 (Div. 2) {1244} PROGRAMMING Codeforces Round #592 (Div. 2) Tutorial 2000
7806 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
5854 Irreducible Anagrams binary search constructive algorithms data structures strings two pointers Statement B Codeforces Round 616 (Div. 1) {1290} PROGRAMMING 1000.0 Codeforces Round #616 Editorial 1900
30176 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
12824 Eugene and an array binary search data structures hashing implementation two pointers Statement C Codeforces Round 632 (Div. 2) {1333} PROGRAMMING 1250.0 Codeforces Round #632 (Div. 2) editorial
11140 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
11654 Xenia and Colorful Gems binary search greedy math sortings two pointers Statement B Codeforces Round 635 (Div. 1) {1336} PROGRAMMING 750.0 Codeforces Round #635 Editorial 1800
6190 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
32266 Ternary String binary search dp implementation two pointers Statement B Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 1200
10974 Count Triangles binary search implementation math two pointers Statement C Codeforces Round 643 (Div. 2) {1355} PROGRAMMING 1250.0 Codeforces Round #643 (Div. 2) Editorial 1800
8351 The Best Vacation binary search brute force greedy implementation two pointers Statement D Codeforces Round 645 (Div. 2) {1358} PROGRAMMING 1500.0 Codeforces Round #645 (Div. 2) Editorial 1900
4377 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
1723 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