Codeforces problemset search & solutions
Exclude tags.

Review the problem statement from Codeforces (link will open a new tab). When you've matched your problem, go to the solutions.

Search on plain tags, ratings, names, and problem text. Example: brute force or binary search

1 2 3 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
17704 Alice, Bob and Chocolate greedy two pointers Statement C Codeforces Beta Round 6 (Div. 2 Only) {6} PROGRAMMING Round #6 - Tutorial (A,B,C,E) 1500
3905 Exposition binary search data structures dsu trees two pointers Statement E Codeforces Beta Round 6 (Div. 2 Only) {6} PROGRAMMING Beta Round #6 - Разбор задач 1900
5304 Two Paths dfs and similar dp graphs shortest paths trees two pointers Statement D Codeforces Beta Round 14 (Div. 2) {14} PROGRAMMING Codeforces Beta Round #14 tutorial 2100
447 Race brute force implementation two pointers Statement E Codeforces Beta Round 42 (Div. 2) {43} PROGRAMMING Разбор задач A, B, C, D CodeForces Beta Round #42 2200
2889 Hamsters and Tigers two pointers Statement C School Personal Contest #2 (Winter Computer School 2010/11) - Codeforces Beta Round 43 (ACM-ICPC Rules) {46} PROGRAMMING School Individual Contest #2 (WCS 2010/11) - Codeforces Beta Round #43 (ACM-ICPC Rules): A, C, F and G tutorial 1700
324 Galaxy Union dp trees two pointers Statement G School Personal Contest #3 (Winter Computer School 2010/11) - Codeforces Beta Round 45 (ACM-ICPC Rules) {48} PROGRAMMING 2600
825 Very simple problem geometry two pointers Statement E Codeforces Beta Round 51 {55} PROGRAMMING Round 51, A 2400
4381 Where Are My Flakes? implementation two pointers Statement A Codeforces Beta Round 56 {60} PROGRAMMING Solutions for Codeforces Beta Round #56 1300
632 Lucky Tickets binary search data structures sortings two pointers Statement C Codeforces Beta Round 64 {70} PROGRAMMING Analysis Codeforces Beta Round #64 2200
803 Mice greedy two pointers Statement B All-Ukrainian School Olympiad in Informatics {76} PROGRAMMING All-Ukrainian School Olympiad in Informatics: editorial (A,B,C,D,E,F) 2200
396 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
2122 Beaver data structures dp greedy hashing strings two pointers Statement C Codeforces Beta Round 71 {79} PROGRAMMING Codeforces Beta Round #71 Editorial 1800
17015 Powerful array data structures implementation math two pointers Statement D Yandex.Algorithm 2011: Round 2 {86} PROGRAMMING Problemset analysis (Yandex, Round 2) 2700
1267 Vasya and Types implementation strings Statement B Codeforces Beta Round 73 (Div. 1 Only) {87} PROGRAMMING CodeForces Beta Round #73 div. 1 analysis (particulary with div. 2) 1900
332 Lucky Segments binary search implementation two pointers Statement D Codeforces Beta Round 91 (Div. 1 Only) {121} PROGRAMMING Tutorial 2400
730 Present to Mom binary search two pointers Statement F Codeforces Beta Round 95 (Div. 2) {131} PROGRAMMING Some ideas for Round #95 (Div 2) 2200
188 Hellish Constraints brute force dp two pointers Statement E Codeforces Beta Round 99 (Div. 1) {138} PROGRAMMING Codeforces Beta Round #99: editorial 2900
5497 Dress'em in Vests! binary search brute force greedy two pointers Statement A VK Cup 2012 Round 1 {161} PROGRAMMING VK Cup 2012 Round 1: editorial 1300
615 Conveyor sortings two pointers Statement C VK Cup 2012 Round 2 {163} PROGRAMMING VK Cup 2012 Round 2 — Разбор 2200
529 Ancient Berland Hieroglyphs two pointers Statement B VK Cup 2012 Round 3 {164} PROGRAMMING VK Cup 2012 Round 3 — Разбор 2300
13892 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
393 Shoe Store dp graph matchings greedy sortings two pointers Statement D Codeforces Round 113 (Div. 2) {166} PROGRAMMING Codeforces Round #113 (Div. 2) Tutorial 2400
1527 Geometry Horse greedy implementation sortings two pointers Statement C Codeforces Round 115 {175} PROGRAMMING Codeforces Round #115 — editorial A-E 1600
2078 Cubes binary search dp two pointers Statement E Codeforces Round 116 (Div. 2, ACM-ICPC Rules) {180} PROGRAMMING 1700
2665 Non-Secret Cypher two pointers Statement D Codeforces Round 120 (Div. 2) {190} PROGRAMMING Codeforces Round #120 (Div.2) — editorial 1900
310 Transportation greedy sortings two pointers Statement E Codeforces Round 128 (Div. 2) {203} PROGRAMMING 2400
1451 Little Elephant and Strings data structures implementation string suffix structures two pointers Statement E Codeforces Round 129 (Div. 1) {204} PROGRAMMING Tutorial 2800
1504 Spider's Web binary search sortings two pointers Statement D Codeforces Round 133 (Div. 2) {216} PROGRAMMING Editorial for Codeforces Round #133 1800
1727 Little Elephant and Inversions data structures two pointers Statement E Codeforces Round 136 (Div. 1) {220} PROGRAMMING Codeforces Round #136 — Editorial 2400
2349 Olympiad binary search greedy sortings two pointers Statement D Codeforces Round 137 (Div. 2) {222} PROGRAMMING Разбор задач Codeforces Round #137 (Div. 2) 1800
7960 Array bitmasks implementation two pointers Statement B Codeforces Round 138 (Div. 2) {224} PROGRAMMING Tutorial 1500
3759 Shifts brute force two pointers Statement A Codeforces Round 142 (Div. 1) {229} PROGRAMMING Codeforces Round #142 Problem Analysis 1600
2624 Towers dp greedy two pointers Statement D Codeforces Round 142 (Div. 1) {229} PROGRAMMING Codeforces Round #142 Problem Analysis 2000
9766 To Add or Not to Add binary search sortings two pointers Statement C Codeforces Round 143 (Div. 2) {231} PROGRAMMING Tutorial Codeforces Round #143 1700
6791 Primes on Interval binary search number theory two pointers Statement C Codeforces Round 147 (Div. 2) {237} PROGRAMMING Codeforces Round #147 (Div. 2) Разбор Задач 1600
233 Cubes data structures dp geometry two pointers Statement D Codeforces Round 150 (Div. 1) {243} PROGRAMMING Editorial for Codeforces Round #150 2700
1016 Building Bridge geometry ternary search two pointers Statement D CROC-MBTU 2012, Final Round (Online version, Div. 2) {250} PROGRAMMING CROC-MBTU 2012, Final Round, Editorial 2000
21530 Points on Line binary search combinatorics two pointers Statement A Codeforces Round 153 (Div. 1) {251} PROGRAMMING Editorial of Codeforces Round #153 1400
12415 Physics Practical binary search dp sortings two pointers Statement B Codeforces Round 154 (Div. 2) {253} PROGRAMMING Codeforces Round #154 (Div. 2) — tutorial 1400
927 Table with Letters - 2 brute force two pointers Statement D Codeforces Round 154 (Div. 2) {253} PROGRAMMING Codeforces Round #154 (Div. 2) — tutorial 2000
440 Maxim and Calculator brute force dp two pointers Statement E Codeforces Round 160 (Div. 1) {261} PROGRAMMING Codeforces Round #160 tutorial 2800
11832 Escape from Stones constructive algorithms data structures implementation two pointers Statement A Codeforces Round 162 (Div. 1) {264} PROGRAMMING Tutorial 1400
452 Colorful Stones dp two pointers Statement D Codeforces Round 162 (Div. 1) {264} PROGRAMMING Tutorial for E 2400
73582 Books binary search brute force implementation two pointers Statement B Codeforces Round 171 (Div. 2) {279} PROGRAMMING Codeforces Round #171 (Div. 2) Разбор Задач 1400
8946 Ladder dp implementation two pointers Statement C Codeforces Round 171 (Div. 2) {279} PROGRAMMING Unofficial editorial for Codeforces Round #171 (Div. 2) 1700
5287 Maximum Xor Secondary data structures implementation two pointers Statement B Codeforces Round 172 (Div. 1) {280} PROGRAMMING T 2000
3421 Nearest Fraction brute force implementation two pointers Statement B Codeforces Round 172 (Div. 2) {281} PROGRAMMING Codeforces Round #172 Editorial 1700
261 Ksusha and Square geometry math probabilities two pointers Statement D Croc Champ 2013 - Round 2 {293} PROGRAMMING Croc Champ 2013 — Round 2 — Editorial 2700
9434 Eugeny and Play List binary search implementation two pointers Statement B Codeforces Round 182 (Div. 2) {302} PROGRAMMING Codeforces Round #182 tutorial 1200
532 Morning run binary search math two pointers Statement A Croc Champ 2013 - Finals (online version, Div. 1) {309} PROGRAMMING Чемпионат КРОК 2013 — Финальный раунд — Разбор 2000
820 Context Advertising dp two pointers Statement B Croc Champ 2013 - Finals (online version, Div. 1) {309} PROGRAMMING Чемпионат КРОК 2013 — Финальный раунд — Разбор 2100
578 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
8325 Strings of Power implementation strings two pointers Statement B Codeforces Round 188 (Div. 2) {318} PROGRAMMING 7956 1300
3217 Read Time binary search greedy two pointers Statement C Codeforces Round 200 (Div. 1) {343} PROGRAMMING Codeforces Round #200 Tutorial 2100
5756 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
631 Empty Rectangles divide and conquer two pointers Statement E Codeforces Round 213 (Div. 1) {364} PROGRAMMING Codeforces Round #213 Editorial 3000
1738 Dima and Trap Graph binary search data structures dfs and similar dsu shortest paths two pointers Statement D Codeforces Round 214 (Div. 2) {366} PROGRAMMING Codeforces Round #214 (Div. 2) — Tutorial 2400
1448 Subway Innovation greedy math two pointers Statement E Codeforces Round 218 (Div. 2) {371} PROGRAMMING Codeforces Round #218 (Div. 2): Tutorial 2200
15695 Counting Kangaroos is Fun binary search greedy sortings two pointers Statement A Codeforces Round 219 (Div. 1) {372} PROGRAMMING 9944 1700
1131 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
90853 Sereja and Dima greedy implementation two pointers Statement A Codeforces Round 223 (Div. 2) {381} PROGRAMMING Codeforces Round #223 — Tutorial 800
785 Volcanoes binary search implementation sortings two pointers Statement B Codeforces Round 225 (Div. 1) {383} PROGRAMMING Tutorial 2200
3811 Multitasking greedy implementation sortings two pointers Statement B Codeforces Round 225 (Div. 2) {384} PROGRAMMING Codeforces Round #225 — Editorial 1500
953 Diverse Substrings dp strings two pointers Statement C Testing Round 9 {386} PROGRAMMING 2100
12984 George and Round brute force greedy two pointers Statement B Codeforces Round 227 (Div. 2) {387} PROGRAMMING Editorial Codeforces Round #227 (Div. 2) 1200
1810 Genetic Engineering implementation two pointers Statement A Rockethon 2014 {391} PROGRAMMING 3.0 Rockethon 2014 Editorial
273 Hamming Triples implementation math two pointers Statement E Codeforces Round 238 (Div. 1) {406} PROGRAMMING Codeforces Round #238 Tutorial 2700
749 Mashmokh and Water Tanks binary search data structures greedy trees two pointers Statement D Codeforces Round 240 (Div. 1) {414} PROGRAMMING Codeforces Round #240 Editorial 2300
10095 Guess a number! greedy implementation two pointers Statement A Codeforces Round 241 (Div. 2) {416} PROGRAMMING Codeforces Round #241 — editorial 1400
1399 Bug in Code data structures graphs implementation two pointers Statement C Coder-Strike 2014 - Finals (online edition, Div. 1) {420} PROGRAMMING Editorial Coder-Strike 2014 Finals 1900
17106 Checkposts dfs and similar graphs two pointers Statement C Codeforces Round 244 (Div. 2) {427} PROGRAMMING Codeforces Round #244 (Div. 2) Editorial 1700
4128 Balls Game brute force two pointers Statement B Codeforces Round 245 (Div. 2) {430} PROGRAMMING Codeforces Round #245 — Editorial 1400
12281 Prefixes and Suffixes dp string suffix structures strings two pointers Statement D Codeforces Round 246 (Div. 2) {432} PROGRAMMING Codeforces Round #246 (Div. 2) Editorial 2000
6893 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
863 DZY Loves Strings binary search hashing strings two pointers Statement D Codeforces Round 254 (Div. 1) {444} PROGRAMMING Codeforces Round #254 Editorial 2400
13567 DZY Loves Sequences dp implementation two pointers Statement A Codeforces Round #FF (Div. 1) {446} PROGRAMMING Codeforces Round #FF(255) Editorial 1700
42175 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
7757 Maximum Value binary search math sortings two pointers Statement B Codeforces Round 276 (Div. 1) {484} PROGRAMMING Codeforces Round #276 — Editorial 2100
4240 Strip binary search data structures dp two pointers Statement B Codeforces Round 278 (Div. 1) {487} PROGRAMMING Tutorial 2300
57192 BerSU Ball dfs and similar dp graph matchings greedy sortings two pointers Statement B Codeforces Round 277.5 (Div. 2) {489} PROGRAMMING Codeforces Round #277.5 (Div. 2) Editorial [A-D for now] 1300
7527 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
1301 Name That Tune dp probabilities two pointers Statement B Codeforces Round 284 (Div. 1) {498} PROGRAMMING Codeforces Round #284 Editorial 2500
7348 Mr. Kitayuta, the Treasure Hunter dfs and similar dp two pointers Statement C Codeforces Round 286 (Div. 2) {505} PROGRAMMING Tutorial 2100
5452 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
1531 Drazil and Morning Exercise dfs and similar dp dsu trees two pointers Statement D Codeforces Round 292 (Div. 1) {516} PROGRAMMING 16468 2800
6914 A and B and Interesting Substrings data structures dp two pointers Statement D Codeforces Round 294 (Div. 2) {519} PROGRAMMING Editorial 1900
1006 Social Network greedy two pointers Statement D VK Cup 2015 - Round 1 {524} PROGRAMMING 2100
2433 Correcting Mistakes constructive algorithms dp greedy hashing strings two pointers Statement E VK Cup 2015 - Round 2 (unofficial online mirror, Div. 1 only) {533} PROGRAMMING Разбор VK Cup Round 2 1800
15084 Modulo Sum combinatorics data structures dp two pointers Statement B Codeforces Round 319 (Div. 2) {577} PROGRAMMING Editorial Codeforces Round #319 1800
32228 Kefa and Company binary search sortings two pointers Statement B Codeforces Round 321 (Div. 2) {580} PROGRAMMING Codeforces Round #321 Editorial 1500
1040 Zublicanes and Mumocrates dp trees two pointers Statement F Codeforces Round 322 (Div. 2) {581} PROGRAMMING Codeforces Round #322 (Div.2) Editorial 2600
234 BCPC binary search geometry two pointers Statement E Codeforces Round 328 (Div. 2) {592} PROGRAMMING Codeforces Round #328 Problem Analysis 2800
760 Edo and Magnets brute force greedy implementation two pointers Statement C Codeforces Round 330 (Div. 1) {594} PROGRAMMING Codeforces Round #330 (Div.1 + Div.2) Editorial 2700
39760 Queries about less or equal elements binary search data structures sortings two pointers Statement B Educational Codeforces Round 2 {600} PROGRAMMING Editorial 1300
12165 Approximating a Constant Range dp implementation two pointers Statement B Codeforces Round 333 (Div. 2) {602} PROGRAMMING Codeforces Round #333 — editorial 1400
3185 Gadgets for dollars and pounds binary search greedy two pointers Statement D Educational Codeforces Round 3 {609} PROGRAMMING 2000
1736 Vika and Segments constructive algorithms data structures geometry two pointers Statement D Codeforces Round 337 (Div. 2) {610} PROGRAMMING Codeforces Round #337 (Div.2) Editorial 2300
464 New Year and Cake geometry two pointers Statement G Good Bye 2015 {611} PROGRAMMING Tutorial 2900
2484 Skills binary search brute force dp greedy sortings two pointers Statement B Codeforces Round 339 (Div. 1) {613} PROGRAMMING Tutorial 2200
12497 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
1836 Double Knapsack constructive algorithms two pointers Statement F Wunder Fund Round 2016 (Div. 1 + Div. 2 combined) {618} PROGRAMMING Wunder Fund Round 2016 Editorials 2900
2010 Professor GukiZ and Two Arrays binary search two pointers Statement D Educational Codeforces Round 6 {620} PROGRAMMING Editorial of Educational Codeforces Round 6 2200
711 Orchestra two pointers Statement E 8VC Venture Cup 2016 - Final Round {627} PROGRAMMING 8VC Venture Cup 2016 — Final Round Editorial 3000
623 Startup Funding binary search constructive algorithms data structures probabilities two pointers Statement E Manthan, Codefest 16 {633} PROGRAMMING Manthan, Codefest 16: Editorials 2400
2849 Processing Queries *special constructive algorithms data structures two pointers Statement B CROC 2016 - Qualification {644} PROGRAMMING 2200
4326 Enduring Exodus binary search two pointers Statement C CROC 2016 - Elimination Round {645} PROGRAMMING Editorial for CROC 2016 Elimination Round 1600
3497 Image Preview binary search brute force dp two pointers Statement B Codeforces Round 345 (Div. 1) {650} PROGRAMMING Codeforces Round #345: editorial 1900
3777 Foe Pairs combinatorics sortings two pointers Statement C Educational Codeforces Round 10 {652} PROGRAMMING Editorial of Educational Codeforces Round 10 1800
10809 Hard Process binary search dp two pointers Statement C Educational Codeforces Round 11 {660} PROGRAMMING Editorial of Educational Codeforces Round 11 1600
22813 Vasya and String binary search dp strings two pointers Statement C Codeforces Round 354 (Div. 2) {676} PROGRAMMING Editorial 1500
718 Alyona and Triangles geometry two pointers Statement E Codeforces Round 358 (Div. 2) {682} PROGRAMMING 45491 2600
136 ...Dary! binary search geometry two pointers Statement F Codeforces Round 362 (Div. 1) {696} PROGRAMMING Codeforces Round #362 (Editorial) 3200
20006 They Are Everywhere binary search strings two pointers Statement C Codeforces Round 364 (Div. 2) {701} PROGRAMMING Codeforces Round #364 problem analysis 1500
23256 Cellular Network binary search implementation two pointers Statement C Educational Codeforces Round 15 {702} PROGRAMMING 46324 1500
13053 Complete the Word greedy two pointers Statement B Codeforces Round 372 (Div. 2) {716} PROGRAMMING Codeforces Round #372 Editorial 1400
609 Cyclic Cipher chinese remainder theorem data structures implementation number theory two pointers Statement F Intel Code Challenge Elimination Round (Div. 1 + Div. 2, combined) {722} PROGRAMMING Tutorial 2800
3564 Epidemic in Monstropolis constructive algorithms dp greedy two pointers Statement C Codeforces Round 378 (Div. 2) {733} PROGRAMMING Codeforces Round #378 (Div. 2) editorial 1800
1066 Sleep in Class constructive algorithms data structures math two pointers Statement E Codeforces Round 378 (Div. 2) {733} PROGRAMMING Codeforces Round #378 (Div. 2) editorial 2500
5700 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
150 Hongcow Masters the Cyclic Shift strings two pointers Statement E Codeforces Round 385 (Div. 1) {744} PROGRAMMING Codeforces Round #385 Editorial 3100
905 Music in Car data structures greedy two pointers Statement F Codeforces Round 386 (Div. 2) {746} PROGRAMMING Codeforces Round #386 (Div.2) Editorial 2500
1605 Santa Claus and Tangerines binary search data structures greedy two pointers Statement E Technocup 2017 - Elimination Round 3 {748} PROGRAMMING Codeforces Round 389 (Div.2) Editorial 2000
6264 Voting greedy implementation two pointers Statement C Codeforces Round 388 (Div. 2) {749} PROGRAMMING Tutorial 1600
6041 Dasha and Password brute force dp implementation Statement C Codeforces Round 394 (Div. 2) {761} PROGRAMMING Codeforces Round #394 (Div. 2) [Editorial] 1600
10685 USB vs. PS/2 greedy implementation sortings two pointers Statement B Educational Codeforces Round 17 {762} PROGRAMMING Tutorial 1400
3002 Two strings binary search hashing strings two pointers Statement C Educational Codeforces Round 17 {762} PROGRAMMING Tutorial 2100
2415 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
3446 News About Credit *special greedy two pointers Statement B VK Cup 2017 - Qualification 1 {769} PROGRAMMING Tutorial 1600
89 Bear and Isomorphic Points geometry two pointers Statement F VK Cup 2017 - Round 1 {771} PROGRAMMING VK Cup 2017 Round 1 and CF Round 405 — Editorial 3200
295 Significant Cups *special binary search data structures two pointers Statement B VK Cup 2017 - Wild Card Round 1 {774} PROGRAMMING VK Cup 2017 — Уайлд-кард раунд 1 — Разбор 2300
6835 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
133 Intranet of Buses binary search geometry implementation two pointers Statement H Технокубок 2017 - Финал (только для онсайт-финалистов) {780} PROGRAMMING Technocup 2017 Finals and Codeforces Round #403 Editorial 3000
10226 Functions again dp two pointers Statement A Codeforces Round 407 (Div. 1) {788} PROGRAMMING Codeforces Round #407(Div.1 + Div.2) Editorial 1500
1055 Aquarium decoration data structures greedy two pointers Statement E Playrix Codescapes Cup (Codeforces Round 413, rated, Div. 1 + Div. 2) {799} PROGRAMMING Playrix Codescapes Cup Problems Analysis 2500
7784 An impassioned circulation of affection brute force dp strings two pointers Statement C Codeforces Round 418 (Div. 2) {814} PROGRAMMING Codeforces Round #418 (Div. 2) Editorial 1600
2690 Card Game Again binary search data structures number theory two pointers Statement E Educational Codeforces Round 24 {818} PROGRAMMING 52991 2000
1316 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
6571 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
11247 Kirill And The Game brute force two pointers Statement A Codeforces Round 430 (Div. 2) {842} PROGRAMMING Tutorial Codeforces Round #430 (Div. 2) 1300
2677 Random Query data structures math probabilities two pointers Statement F Educational Codeforces Round 28 {846} PROGRAMMING 54357 2000
2009 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
2759 Jury Meeting greedy sortings two pointers Statement B Codeforces Round 433 (Div. 1, based on Olympiad of Metropolises) {853} PROGRAMMING Codeforces Round #433 Editorial 1900
3663 Strange Game On Matrix greedy two pointers Statement C Educational Codeforces Round 30 {873} PROGRAMMING 55171 1600
5394 Sorting the Coins dsu implementation sortings two pointers Statement B Codeforces Round 441 (Div. 1, by Moscow Team Olympiad) {875} PROGRAMMING Codeforces Round #441. Editorial. 1500
553 Ratings and Reality Shows data structures two pointers Statement D Codeforces Round 444 (Div. 2) {887} PROGRAMMING Codeforces Round #444 (Div. 2) Editorial 2500
9015 K-Dominant Character binary search implementation two pointers Statement C Educational Codeforces Round 32 {888} PROGRAMMING Educational Codeforces Round 32 - Editorial 1400
10025 Wrath greedy implementation two pointers Statement B Codeforces Round 446 (Div. 2) {892} PROGRAMMING Codeforces Round #446 Editorial 1200
3830 XK Segments binary search math sortings two pointers Statement B Codeforces Round 448 (Div. 2) {895} PROGRAMMING Codeforces Round #448(Div.2) Editorial 1700
3547 Segments Removal data structures dsu flows implementation two pointers Statement E Codeforces Round 452 (Div. 2) {899} PROGRAMMING Codeforces Round #452 (Div.2) Editorial 2100
1302 Bipartite Segments binary search data structures dfs and similar dsu graphs two pointers Statement C Codeforces Round 453 (Div. 1) {901} PROGRAMMING Codeforces Round #453 (Div. 1 & Div. 2) Editorial 2500
2067 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
10006 Swap Adjacent Elements dfs and similar greedy math sortings two pointers Statement C Educational Codeforces Round 37 (Rated for Div. 2) {920} PROGRAMMING T 1500
5623 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
4931 Convenient For Everybody binary search two pointers Statement C Codeforces Round 464 (Div. 2) {939} PROGRAMMING Analysis of Codeforces Round #464 1600
3545 Maximize! binary search greedy ternary search two pointers Statement E Codeforces Round 464 (Div. 2) {939} PROGRAMMING Analysis of Codeforces Round #464 1900
2410 Castle Defense binary search data structures greedy two pointers Statement G Educational Codeforces Round 40 (Rated for Div. 2) {954} PROGRAMMING 58519 2100
1452 Lightsabers (medium) binary search two pointers Statement F2 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING helvetic-coding-contest-2018-editorial.pdf 1900
26507 Lecture Sleep data structures dp implementation two pointers Statement B Educational Codeforces Round 41 (Rated for Div. 2) {961} PROGRAMMING Educational Codeforces Round 41 Editorial 1300
3358 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
30077 Letters binary search implementation two pointers Statement C Codeforces Round 481 (Div. 3) {978} PROGRAMMING T 1000
4170 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
540 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
25561 Three Parts of the Array binary search data structures two pointers Statement C Codeforces Round 498 (Div. 3) {1006} PROGRAMMING 60672 1300
13099 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
589 Intervals of Intervals binary search data structures two pointers Statement D Codeforces Round 511 (Div. 1) {1034} PROGRAMMING Codeforces Round #511 Editorial 3500
10716 Vasya and Arrays greedy two pointers Statement D Educational Codeforces Round 50 (Rated for Div. 2) {1036} PROGRAMMING 61727 1600
10266 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
6441 Glider binary search data structures two pointers Statement D Codeforces Round 509 (Div. 2) {1041} PROGRAMMING Codeforces Round #509 (Div. 2) Editorial 1700
7462 Petya and Array data structures divide and conquer two pointers Statement D Codeforces Round 510 (Div. 2) {1042} PROGRAMMING Tutorial 1800
4772 Mysterious Crime brute force combinatorics math meet-in-the-middle two pointers Statement D Codeforces Round 519 by Botan Investments {1043} PROGRAMMING Codeforces Round #519 Editorial 1700
3081 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
5224 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
9395 Heaters greedy two pointers Statement B Codeforces Round 515 (Div. 3) {1066} PROGRAMMING 62419 1500
5467 Vasya and Robot binary search two pointers Statement C Educational Codeforces Round 53 (Rated for Div. 2) {1073} PROGRAMMING 62742 1800
11042 Brutality greedy sortings two pointers Statement C Educational Codeforces Round 59 (Rated for Div. 2) {1107} PROGRAMMING Educational Codeforces Round 59 Editorial 1300
1746 Diana and Liana greedy implementation two pointers Statement A Codeforces Round 543 (Div. 1, based on Technocup 2019 Final Round) {1120} PROGRAMMING Разбор задач финала Технокубка 2019 и Codeforces Round #543 2200
540 Most Dangerous Shark data structures dp two pointers Statement G Codeforces Round 541 (Div. 2) {1131} PROGRAMMING Codeforces Round #541 Editorial 2900
28517 Balanced Team sortings two pointers Statement C Codeforces Round 544 (Div. 3) {1133} PROGRAMMING Codeforces Round #544 (Div. 3) Editorial 1300
6497 K Balanced Teams dp sortings two pointers Statement E Codeforces Round 544 (Div. 3) {1133} PROGRAMMING Codeforces Round #544 (Div. 3) Editorial 2000
7975 Born This Way binary search brute force two pointers Statement B Codeforces Global Round 3 {1148} PROGRAMMING Codeforces Global Round 3 Editorial 1700
1832 Earth Wind and Fire constructive algorithms greedy math sortings two pointers Statement E Codeforces Global Round 3 {1148} PROGRAMMING Codeforces Global Round 3 Editorial 2300
6707 Match Points binary search greedy sortings ternary search two pointers Statement C Educational Codeforces Round 64 (Rated for Div. 2) {1156} PROGRAMMING 66827 2000
4074 Special Segments of Permutation data structures divide and conquer dsu two pointers Statement E Educational Codeforces Round 64 (Rated for Div. 2) {1156} PROGRAMMING 66827 2400
2890 Maximum Balanced Circle constructive algorithms dp greedy two pointers Statement F Codeforces Round 555 (Div. 3) {1157} PROGRAMMING 66737 2300
8380 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
11089 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
2933 Range Deleting binary search combinatorics data structures two pointers Statement E Educational Codeforces Round 65 (Rated for Div. 2) {1167} PROGRAMMING 67058 2100
3814 Good Triple brute force two pointers Statement B Codeforces Round 562 (Div. 1) {1168} PROGRAMMING Codeforces Round #562 — Editorial 2000
714 Yet Another Partiton Problem data structures divide and conquer dp geometry two pointers Statement G Educational Codeforces Round 66 (Rated for Div. 2) {1175} PROGRAMMING Editorial 2700
2830 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
5190 Count Pairs math matrices number theory two pointers Statement B Codeforces Round 572 (Div. 1) {1188} PROGRAMMING Editorial of Codeforces Round #572 2200
9821 Tokitsukaze and Discard Items implementation two pointers Statement A Codeforces Round 573 (Div. 1) {1190} PROGRAMMING E 1500
2688 Tokitsukaze and Strange Rectangle data structures divide and conquer sortings two pointers Statement D Codeforces Round 573 (Div. 1) {1190} PROGRAMMING E 2200
1223 Crossword Expert combinatorics dp number theory probabilities two pointers Statement F Educational Codeforces Round 68 (Rated for Div. 2) {1194} PROGRAMMING Разбор Educational Codeforces Round 68 2500
3553 OpenStreetMap data structures two pointers Statement E Codeforces Round 574 (Div. 2) {1195} PROGRAMMING Разбор Codeforces Round #574 (Div. 2) 2100
10479 RGB Substring (hard version) data structures dp implementation two pointers Statement D2 Codeforces Round 575 (Div. 3) {1196} PROGRAMMING Editorial 1600
10174 MP3 sortings two pointers Statement A Codeforces Round 576 (Div. 1) {1198} PROGRAMMING E 1700
4404 White Lines brute force data structures dp implementation two pointers Statement D Codeforces Round 578 (Div. 2) {1200} PROGRAMMING Codeforces Round #578 (Div. 2) Editorial 1900
8153 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
11691 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
3987 Into Blocks (easy version) data structures dsu greedy implementation two pointers Statement G1 Codeforces Round 584 - Dasha Code Championship - Elimination Round (rated, open for everyone, Div. 1 + Div. 2) {1209} PROGRAMMING 69791 2000
4475 Sequence Sorting dp greedy two pointers Statement D Technocup 2020 - Elimination Round 1 {1223} PROGRAMMING Сodeforces Round 591 (and Technocup 2020 — Elimination Round 1) Editorial 2000
12226 TV Subscriptions (Hard Version) implementation two pointers Statement B2 Technocup 2020 - Elimination Round 2 {1225} PROGRAMMING 70898 1300
23132 Balanced Tunnel data structures sortings two pointers Statement B Codeforces Global Round 5 {1237} PROGRAMMING T 1300
6476 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
779 Discarding Game dp greedy two pointers Statement G 2019-2020 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Teams Preferred) {1250} PROGRAMMING 2400
21624 Broken Keyboard brute force strings two pointers Statement A Educational Codeforces Round 75 (Rated for Div. 2) {1251} PROGRAMMING 70860 1000
14424 Minimize The Integer greedy two pointers Statement C Educational Codeforces Round 75 (Rated for Div. 2) {1251} PROGRAMMING 70860 1500
1366 Songwriter greedy two pointers Statement E 2019-2020 ICPC, Asia Jakarta Regional Contest (Online Mirror, ICPC Rules, Teams Preferred) {1252} PROGRAMMING T 2300
5033 Send Boxes to Alice (Easy Version) constructive algorithms greedy math number theory ternary search two pointers Statement B1 Codeforces Round 601 (Div. 1) {1254} PROGRAMMING Codeforces Round #601 Editorial 2000
3430 Send Boxes to Alice (Hard Version) constructive algorithms greedy math number theory ternary search two pointers Statement B2 Codeforces Round 601 (Div. 1) {1254} PROGRAMMING Codeforces Round #601 Editorial 2100
17179 Dominated Subarray greedy implementation sortings strings two pointers Statement C Educational Codeforces Round 76 (Rated for Div. 2) {1257} PROGRAMMING Educational Codeforces Round 76 Editorial 1200
8188 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
13549 Beautiful Numbers data structures implementation math two pointers Statement B Codeforces Round 604 (Div. 2) {1265} PROGRAMMING Codeforces Round #604 Editorial 1300
3878 Decreasing Debts constructive algorithms data structures graphs greedy implementation math two pointers Statement D Codeforces Global Round 6 {1266} PROGRAMMING Codeforces Global Round 6 Editorial 2000
2342 Two Bracket Sequences dp strings two pointers Statement F Codeforces Round 605 (Div. 3) {1272} PROGRAMMING Codeforces Round #605 (Div. 3) Editorial 2400
4616 Petya and Exam greedy sortings two pointers Statement C Codeforces Round 610 (Div. 2) {1282} PROGRAMMING 72461 1800
2005 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
4036 Messenger Simulator data structures two pointers Statement E Educational Codeforces Round 80 (Rated for Div. 2) {1288} PROGRAMMING Educational Codeforces Round 80 Editorial 2100
7246 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
17806 Air Conditioner dp greedy implementation sortings two pointers Statement C Codeforces Round 620 (Div. 2) {1304} PROGRAMMING 1500.0 Codeforces Round #620 (Div. 2) Editorial 1500
6694 Shortest and Longest LIS constructive algorithms graphs greedy two pointers Statement D Codeforces Round 620 (Div. 2) {1304} PROGRAMMING 1750.0 Codeforces Round #620 (Div. 2) Editorial 1800
12515 Kuroni and Simple Strings constructive algorithms greedy strings two pointers Statement B Ozon Tech Challenge 2020 (Div.1 + Div.2, Rated, T-shirts + prizes!) {1305} PROGRAMMING 1000.0 Ozon Tech Challenge 2020 Editorial 1300
1032 Attack on Red Kingdom games two pointers Statement F Educational Codeforces Round 83 (Rated for Div. 2) {1312} PROGRAMMING 74640
721 Concatenation with intersection data structures hashing strings two pointers Statement E Codeforces Round 622 (Div. 2) {1313} PROGRAMMING 2500.0 Editorial 2800
34381 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
2484 Bombs data structures two pointers Statement E Codeforces Global Round 7 {1326} PROGRAMMING 2500.0 74961 2400
2058 AND Segments bitmasks combinatorics data structures dp two pointers Statement F Educational Codeforces Round 84 (Rated for Div. 2) {1327} PROGRAMMING Educational Codeforces Round 84 Editorial 2500
13526 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
4585 Kate and imperfection greedy implementation math number theory sortings two pointers Statement F Codeforces Round 632 (Div. 2) {1333} PROGRAMMING 2500.0 Codeforces Round #632 (Div. 2) editorial
11775 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
9426 Three Blocks Palindrome (hard version) brute force data structures dp two pointers Statement E2 Codeforces Round 634 (Div. 3) {1335} PROGRAMMING 75993 2000
12256 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
6371 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
44372 Alternating Subsequence dp greedy two pointers Statement C Codeforces Round 636 (Div. 3) {1343} PROGRAMMING 76352 1100
13566 Constant Palindrome Sum brute force data structures greedy two pointers Statement D Codeforces Round 636 (Div. 3) {1343} PROGRAMMING 76352 1800
24115 Special Elements brute force implementation two pointers Statement E Codeforces Round 640 (Div. 4) {1352} PROGRAMMING 77161 1500
35444 Ternary String binary search dp implementation two pointers Statement B Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 1200
12111 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
8744 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
29445 New Theatre Square brute force dp greedy implementation two pointers Statement B Educational Codeforces Round 88 (Rated for Div. 2) {1359} PROGRAMMING Educational Codeforces Round 88 Editorial 1000
10780 Yet Another Yet Another Task data structures dp implementation two pointers Statement D Educational Codeforces Round 88 (Rated for Div. 2) {1359} PROGRAMMING Educational Codeforces Round 88 Editorial 2000
31460 XXXXX brute force data structures number theory two pointers Statement A Codeforces Round 649 (Div. 2) {1364} PROGRAMMING 750.0 Codeforces round #649 editorial 1200
26527 Most socially-distanced subsequence greedy two pointers Statement B Codeforces Round 649 (Div. 2) {1364} PROGRAMMING 1000.0 Codeforces round #649 editorial 1300
4636 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
28338 Shuffle math two pointers Statement B Educational Codeforces Round 89 (Rated for Div. 2) {1366} PROGRAMMING Educational Codeforces Round 89 Editorial
1878 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
3636 Flying Sort (Easy Version) dp greedy two pointers Statement F1 Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
1435 Omkar and Last Floor dp two pointers Statement E Codeforces Round 655 (Div. 2) {1372} PROGRAMMING 2500.0 Codeforces Round #655 Editorial 2900
1087 Reading Books (hard version) binary search data structures greedy sortings ternary search two pointers Statement E2 Codeforces Round 653 (Div. 3) {1374} PROGRAMMING 79517