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
3320 Exposition binary search data structures ds trees two pointers Statement E Codeforces Beta Round 6 (Div. 2 Only) {6} PROGRAMMING 1900
581 Lucky Tickets binary search data structures sortings two pointers Statement C Codeforces Beta Round 64 {70} PROGRAMMING Analysis Codeforces Beta Round #64 2200
329 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
277 Lucky Segments binary search implementation two pointers Statement D Codeforces Beta Round 91 (Div. 1 Only) {121} PROGRAMMING 2400
649 Present to Mom binary search two pointers Statement F Codeforces Beta Round 95 (Div. 2) {131} PROGRAMMING 2200
4920 Dress'em in Vests! binary search brute force greedy two pointers Statement A VK Cup 2012 Round 1 {161} PROGRAMMING 1300
12355 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
1785 Cubes binary search dp two pointers Statement E Codeforces Round 116 (Div. 2, ACM-ICPC Rules) {180} PROGRAMMING 1700
1358 Spider's Web binary search sortings two pointers Statement D Codeforces Round 133 (Div. 2) {216} PROGRAMMING 1800
2173 Olympiad binary search greedy sortings two pointers Statement D Codeforces Round 137 (Div. 2) {222} PROGRAMMING 1800
8680 To Add or Not to Add binary search sortings two pointers Statement C Codeforces Round 143 (Div. 2) {231} PROGRAMMING 1700
5828 Primes on Interval binary search number theory two pointers Statement C Codeforces Round 147 (Div. 2) {237} PROGRAMMING Codeforces Round #147 (Div. 2) Разбор Задач 1600
17864 Points on Line binary search combinatorics two pointers Statement A Codeforces Round 153 (Div. 1) {251} PROGRAMMING Editorial of Codeforces Round #153 1400
10806 Physics Practical binary search dp sortings two pointers Statement B Codeforces Round 154 (Div. 2) {253} PROGRAMMING 1400
53858 Books binary search brute force implementation two pointers Statement B Codeforces Round 171 (Div. 2) {279} PROGRAMMING Codeforces Round #171 (Div. 2) Разбор Задач 1400
8231 Eugeny and Play List binary search implementation two pointers Statement B Codeforces Round 182 (Div. 2) {302} PROGRAMMING Codeforces Round #182 tutorial 1200
488 Morning run binary search math two pointers Statement A Croc Champ 2013 - Finals (online version, Div. 1) {309} PROGRAMMING 2000
527 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
3020 Read Time binary search greedy two pointers Statement C Codeforces Round 200 (Div. 1) {343} PROGRAMMING 2100
5132 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
1565 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
13140 Counting Kangaroos is Fun binary search greedy sortings two pointers Statement A Codeforces Round 219 (Div. 1) {372} PROGRAMMING 9944 1700
989 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
697 Volcanoes binary search implementation sortings two pointers Statement B Codeforces Round 225 (Div. 1) {383} PROGRAMMING 2200
686 Mashmokh and Water Tanks binary search data structures greedy trees two pointers Statement D Codeforces Round 240 (Div. 1) {414} PROGRAMMING 2300
6128 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
780 DZY Loves Strings binary search hashing strings two pointers Statement D Codeforces Round 254 (Div. 1) {444} PROGRAMMING 2400
36488 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
7077 Maximum Value binary search math sortings two pointers Statement B Codeforces Round 276 (Div. 1) {484} PROGRAMMING Codeforces Round #276 — Editorial 2100
3543 Strip binary search data structures dp two pointers Statement B Codeforces Round 278 (Div. 1) {487} PROGRAMMING Tutorial 2300
6837 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
4481 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
26771 Kefa and Company binary search sortings two pointers Statement B Codeforces Round 321 (Div. 2) {580} PROGRAMMING Codeforces Round #321 Editorial 1500
214 BCPC binary search geometry two pointers Statement E Codeforces Round 328 (Div. 2) {592} PROGRAMMING 2800
30446 Queries about less or equal elements binary search data structures sortings two pointers Statement B Educational Codeforces Round 2 {600} PROGRAMMING Editorial 1300
2756 Gadgets for dollars and pounds binary search greedy two pointers Statement D Educational Codeforces Round 3 {609} PROGRAMMING 2000
2236 Skills binary search brute force dp greedy sortings two pointers Statement B Codeforces Round 339 (Div. 1) {613} PROGRAMMING Tutorial 2200
9689 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
1726 Professor GukiZ and Two Arrays binary search two pointers Statement D Educational Codeforces Round 6 {620} PROGRAMMING 2200
585 Startup Funding binary search constructive algorithms data structures probabilities two pointers Statement E Manthan, Codefest 16 {633} PROGRAMMING 2400
3322 Enduring Exodus binary search two pointers Statement C CROC 2016 - Elimination Round {645} PROGRAMMING 1600
3358 Image Preview binary search brute force dp two pointers Statement B Codeforces Round 345 (Div. 1) {650} PROGRAMMING 1900
9525 Hard Process binary search dp two pointers Statement C Educational Codeforces Round 11 {660} PROGRAMMING Editorial of Educational Codeforces Round 11 1600
19053 Vasya and String binary search dp strings two pointers Statement C Codeforces Round 354 (Div. 2) {676} PROGRAMMING Editorial 1500
124 ...Dary! binary search geometry two pointers Statement F Codeforces Round 362 (Div. 1) {696} PROGRAMMING 3200
15309 They Are Everywhere binary search strings two pointers Statement C Codeforces Round 364 (Div. 2) {701} PROGRAMMING Codeforces Round #364 problem analysis 1500
15295 Cellular Network binary search implementation two pointers Statement C Educational Codeforces Round 15 {702} PROGRAMMING 46324 1500
5346 Anton and Making Potions binary search dp greedy two pointers Statement C Codeforces Round 379 (Div. 2) {734} PROGRAMMING 1600
1505 Santa Claus and Tangerines binary search data structures greedy two pointers Statement E Technocup 2017 - Elimination Round 3 {748} PROGRAMMING 2000
2581 Two strings binary search hashing strings two pointers Statement C Educational Codeforces Round 17 {762} PROGRAMMING Tutorial 2100
2250 Cartons of milk binary search data structures greedy sortings two pointers Statement D Codeforces Round 398 (Div. 2) {767} PROGRAMMING 2000
6419 Alyona and Spreadsheet binary search data structures dp greedy implementation two pointers Statement C Codeforces Round 401 (Div. 2) {777} PROGRAMMING 1600
118 Intranet of Buses binary search geometry implementation two pointers Statement H Технокубок 2017 - Финал (только для онсайт-финалистов) {780} PROGRAMMING 3000
2284 Card Game Again binary search data structures number theory two pointers Statement E Educational Codeforces Round 24 {818} PROGRAMMING 52991 2000
5062 The Bakery binary search data structures divide and conquer dp two pointers Statement B Codeforces Round 426 (Div. 1) {833} PROGRAMMING 2200
8264 K-Dominant Character binary search implementation two pointers Statement C Educational Codeforces Round 32 {888} PROGRAMMING Educational Codeforces Round 32 - Editorial 1400
3549 XK Segments binary search math sortings two pointers Statement B Codeforces Round 448 (Div. 2) {895} PROGRAMMING Codeforces Round #448(Div.2) Editorial 1700
1185 Bipartite Segments binary search data structures dfs and similar ds graphs two pointers Statement C Codeforces Round 453 (Div. 1) {901} PROGRAMMING 2500
1618 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
5296 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
4642 Convenient For Everybody binary search two pointers Statement C Codeforces Round 464 (Div. 2) {939} PROGRAMMING 1600
3162 Maximize! binary search greedy ternary search two pointers Statement E Codeforces Round 464 (Div. 2) {939} PROGRAMMING Analysis of Codeforces Round #464 1900
2166 Castle Defense binary search data structures greedy two pointers Statement G Educational Codeforces Round 40 (Rated for Div. 2) {954} PROGRAMMING 2100
1238 Lightsabers (medium) binary search two pointers Statement F2 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING 1900
3116 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
25881 Letters binary search implementation two pointers Statement C Codeforces Round 481 (Div. 3) {978} PROGRAMMING T 1000
3680 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
517 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
21431 Three Parts of the Array binary search data structures two pointers Statement C Codeforces Round 498 (Div. 3) {1006} PROGRAMMING 60672 1300
456 Intervals of Intervals binary search data structures two pointers Statement D Codeforces Round 511 (Div. 1) {1034} PROGRAMMING Codeforces Round #511 Editorial 3500
9524 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
6006 Glider binary search data structures two pointers Statement D Codeforces Round 509 (Div. 2) {1041} PROGRAMMING Codeforces Round #509 (Div. 2) Editorial 1700
2910 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
4906 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
4809 Vasya and Robot binary search two pointers Statement C Educational Codeforces Round 53 (Rated for Div. 2) {1073} PROGRAMMING 62742 1800
7516 Born This Way binary search brute force two pointers Statement B Codeforces Global Round 3 {1148} PROGRAMMING Codeforces Global Round 3 Editorial 1700
6145 Match Points binary search greedy sortings ternary search two pointers Statement C Educational Codeforces Round 64 (Rated for Div. 2) {1156} PROGRAMMING 66827 2000
7207 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
9657 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
2694 Range Deleting binary search combinatorics data structures two pointers Statement E Educational Codeforces Round 65 (Rated for Div. 2) {1167} PROGRAMMING 67058 2100
2418 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
7460 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
10596 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
5242 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
7613 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
5508 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
28732 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
12640 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
10895 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
11415 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
6125 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
31255 Ternary String binary search dp implementation two pointers Statement B Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 1200
10730 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
8199 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
4299 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
1683 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