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 4 5 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
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
4533 How many trees? combinatorics divide and conquer dp Statement D Codeforces Beta Round 9 (Div. 2 Only) {9} PROGRAMMING Codeforces Beta Round #9 tutorial 2000
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
2103 Scheme dfs and similar graphs trees Statement E Codeforces Beta Round 22 (Div. 2 Only) {22} PROGRAMMING Codeforces Beta Round #22 Tutorial 2400
15777 Roads not only in Berland dsu graphs trees Statement D Codeforces Beta Round 25 (Div. 2 Only) {25} PROGRAMMING Codeforces Beta Round #25 Solution Analysis 1900
2950 Ant on the Tree constructive algorithms dfs and similar trees Statement D Codeforces Beta Round 29 (Div. 2, Codeforces format) {29} PROGRAMMING My solution @ Round #29, [without Problem E] 1900
8781 Fire Again brute force dfs and similar shortest paths Statement C Codeforces Beta Round 35 (Div. 2) {35} PROGRAMMING 1600
2216 Old Berland Language data structures greedy trees Statement C Codeforces Beta Round 37 {37} PROGRAMMING Codeforces Beta Round #37 (Tutorial) 1900
244 Baldman and the military dfs and similar graphs trees Statement E Codeforces Beta Round 41 {42} PROGRAMMING Solution of task е, Codeforces beta round #41 2700
17808 Indian Summer implementation Statement A School Team Contest 2 (Winter Computer School 2010/11) {44} PROGRAMMING School Team Contest #2 (Winter Computer School 2010/2011): tutorial of F, G and I. 1100
1074 Planting Trees constructive algorithms Statement J School Team Contest 3 (Winter Computer School 2010/11) {45} PROGRAMMING 1900
3051 Land Lot brute force implementation Statement B School Personal Contest #3 (Winter Computer School 2010/11) - Codeforces Beta Round 45 (ACM-ICPC Rules) {48} PROGRAMMING 1300
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
822 Caterpillar dfs and similar dp graphs trees Statement F Codeforces Beta Round 48 {51} PROGRAMMING 2600
2268 Trees brute force Statement C Codeforces Beta Round 54 (Div. 2) {58} PROGRAMMING Codeforces Beta Round #54 (Div.2) - разбор A-D 1800
7676 Eternal Victory dfs and similar graphs greedy shortest paths trees Statement D Codeforces Beta Round 57 (Div. 2) {61} PROGRAMMING Round 57-A 1900
15427 Enemy is weak data structures trees Statement E Codeforces Beta Round 57 (Div. 2) {61} PROGRAMMING Round 57-A 2100
592 Information Reform dp implementation trees Statement E Codeforces Beta Round 64 {70} PROGRAMMING Analysis Codeforces Beta Round #64 2700
2079 Big Maximum Sum data structures dp greedy implementation math trees Statement D Codeforces Beta Round 67 (Div. 2) {75} PROGRAMMING Codeforces Beta Round #67 (Div. 2) Editorial 2100
2322 Gift dsu graphs sortings trees Statement A All-Ukrainian School Olympiad in Informatics {76} PROGRAMMING All-Ukrainian School Olympiad in Informatics: editorial (A,B,C,D,E,F) 2300
1172 Beavermuncher-0xFF dfs and similar dp dsu greedy trees Statement C Codeforces Beta Round 69 (Div. 1 Only) {77} PROGRAMMING Codeforces Beta Round #69 tutorial 2300
402 Pairs dfs and similar dp dsu graphs implementation trees Statement E Yandex.Algorithm Open 2011: Qualification 1 {81} PROGRAMMING 2600
625 Petya and Tree binary search dfs and similar probabilities sortings trees Statement C Yandex.Algorithm 2011: Round 1 {85} PROGRAMMING Yandex.Algorithm 2011 - Round 1. Problem C. Tutorial 2200
873 Genetic engineering dp string suffix structures trees Statement C Yandex.Algorithm 2011: Round 2 {86} PROGRAMMING Problemset analysis (Yandex, Round 2) 2400
1059 Beautiful Road dfs and similar dp dsu graphs implementation sortings trees Statement D Codeforces Beta Round 73 (Div. 1 Only) {87} PROGRAMMING CodeForces Beta Round #73 div. 1 analysis (particulary with div. 2) 2300
433 Leaders dfs and similar dsu graphs trees Statement E Yandex.Algorithm 2011: Finals {97} PROGRAMMING Финал Яндекс.Алгоритм: разбор A-B 2800
153 Help King implementation probabilities trees Statement B Codeforces Beta Round 78 (Div. 1 Only) {98} PROGRAMMING 2600
797 Castle dp greedy probabilities sortings trees Statement D Codeforces Beta Round 79 (Div. 1 Only) {101} PROGRAMMING Codeforces Beta Round 79, editoral 2300
10810 Cthulhu dfs and similar dsu graphs Statement B Codeforces Beta Round 80 (Div. 1 Only) {103} PROGRAMMING Tutorial 1600
4157 Lucky Tree dp dsu trees Statement C Codeforces Beta Round 84 (Div. 1 Only) {109} PROGRAMMING Tutorial 2000
43833 Party dfs and similar graphs trees Statement A Codeforces Beta Round 87 (Div. 1 Only) {115} PROGRAMMING Tutorial 1300
417 Tree or not Tree data structures divide and conquer implementation trees Statement E Codeforces Beta Round 88 {117} PROGRAMMING Codeforces Beta Round #88 (Editorial) 2800
4145 Spiders dp greedy trees Statement F School Regional Team Contest, Saratov, 2011 {120} PROGRAMMING Tutorial for school regional team contest of Saratov 1500
806 Maze dfs and similar dp probabilities trees Statement E Codeforces Beta Round 92 (Div. 1 Only) {123} PROGRAMMING Codeforces Beta Round #92 - Analysis 2600
963 Mushroom Gnomes - 2 binary search data structures probabilities sortings Statement C Codeforces Beta Round 99 (Div. 1) {138} PROGRAMMING Codeforces Beta Round #99: editorial 2500
1041 Freezing with Style binary search data structures divide and conquer trees Statement E Codeforces Round 107 (Div. 1) {150} PROGRAMMING Tutorial 3000
572 Garden bitmasks dp graphs trees Statement E Codeforces Round 108 (Div. 2) {152} PROGRAMMING Разбор задач Codeforces Round #108 (Div. 2) 2400
19427 Distance in Tree dfs and similar dp trees Statement D VK Cup 2012 Round 1 {161} PROGRAMMING VK Cup 2012 Round 1: editorial 1800
2203 e-Government data structures dfs and similar dp strings trees Statement E VK Cup 2012 Round 2 {163} PROGRAMMING VK Cup 2012 Round 2 — Разбор 2800
1937 Beard Graph data structures dsu trees Statement D Codeforces Round 112 (Div. 2) {165} PROGRAMMING Codeforces Round #112 (Div. 2) Tutorial 2200
1529 Archaeology data structures dfs and similar trees Statement E Croc Champ 2012 - Round 2 {176} PROGRAMMING Croc Champ 2012 — Round 2 — Editorial 3000
9376 Fools and Roads data structures dfs and similar trees Statement C Codeforces Round 121 (Div. 1) {191} PROGRAMMING Разбор Codeforces Round #121 2100
961 Thwarting Demonstrations binary search data structures trees Statement E Codeforces Round 121 (Div. 1) {191} PROGRAMMING Разбор Codeforces Round #121 2200
4707 Cutting Figure constructive algorithms graphs trees Statement A Codeforces Round 122 (Div. 1) {193} PROGRAMMING Editoral Codeforces Round #122 1700
1048 Paint Tree constructive algorithms divide and conquer geometry sortings trees Statement C Codeforces Round 124 (Div. 1) {196} PROGRAMMING Разбор задач 2400
137 Game with Two Trees Statement C1 Abbyy Cup 2.0 - Final (unofficial) {207} PROGRAMMING 2400
105 Game with Two Trees Statement C2 Abbyy Cup 2.0 - Final (unofficial) {207} PROGRAMMING 2500
164 Game with Two Trees data structures Statement C3 Abbyy Cup 2.0 - Final (unofficial) {207} PROGRAMMING 2700
9071 Blood Cousins binary search data structures dfs and similar trees Statement E Codeforces Round 130 (Div. 2) {208} PROGRAMMING 4930 2400
2218 IT Restaurants dfs and similar dp trees Statement E VK Cup 2012 Finals (unofficial online-version) {212} PROGRAMMING 1800
356 Alien DNA data structures dsu trees Statement E Codeforces Round 134 (Div. 1) {217} PROGRAMMING Editorial for Codeforces Round #134 2700
12617 Choosing Capital for Treeland dfs and similar dp graphs trees Statement D Codeforces Round 135 (Div. 2) {219} PROGRAMMING User editorial for Codeforces Round #135 (Div. 2) 1900
551 Noble Knight's Path data structures trees Statement E Codeforces Round 140 (Div. 1) {226} PROGRAMMING Codeforces Round #140 Editorial 2900
2333 Cactus data structures dfs and similar dp graphs trees Statement E Codeforces Round 143 (Div. 2) {231} PROGRAMMING Tutorial Codeforces Round #143 2400
621 T-decomposition dfs and similar graphs greedy trees Statement D Codeforces Round 147 (Div. 2) {237} PROGRAMMING Codeforces Round #147 (Div. 2) Разбор Задач 2200
1367 World Eater Brothers dfs and similar dp greedy trees Statement C Codeforces Round 148 (Div. 1) {238} PROGRAMMING Editorial for Codeforces Round #148 2200
205 Tree and Table dfs and similar dp implementation trees Statement E Codeforces Round 153 (Div. 1) {251} PROGRAMMING Editorial of Codeforces Round #153 3000
1325 Little Elephant and Tree data structures dfs and similar trees Statement E Codeforces Round 157 (Div. 1) {258} PROGRAMMING Codeforces Round #157 — Editorial 2400
1669 Black and White Tree constructive algorithms dsu graphs greedy trees Statement D Codeforces Round 158 (Div. 2) {260} PROGRAMMING Codeforces Round #158 (Div. 2) Tutorial 2200
472 Roadside Trees data structures dp Statement E Codeforces Round 162 (Div. 1) {264} PROGRAMMING Tutorial 2900
17947 Roadside Trees (Simplified Edition) greedy implementation Statement B Codeforces Round 162 (Div. 2) {265} PROGRAMMING Codeforces Round #162 Tutorial 1000
5596 Zero Tree dfs and similar dp greedy trees Statement B Codeforces Round 168 (Div. 1) {274} PROGRAMMING Codeforces Round #168 Editorial 2000
1863 Little Girl and Problem on Trees data structures graphs trees Statement E Codeforces Round 169 (Div. 2) {276} PROGRAMMING Codeforces Round #169 — Unofficial Editorial 2300
1486 Binary Tree on Plane flows trees Statement E Codeforces Round 170 (Div. 1) {277} PROGRAMMING Codeforces Round #170 Tutorial 2400
5227 Game on Tree implementation math probabilities trees Statement C Codeforces Round 172 (Div. 1) {280} PROGRAMMING T 2400
4400 Sausage Maximization bitmasks data structures trees Statement E Codeforces Round 173 (Div. 2) {282} PROGRAMMING Round #173 — Editorial 2100
838 Polo the Penguin and Trees combinatorics dfs and similar trees Statement D Codeforces Round 177 (Div. 1) {288} PROGRAMMING Codeforces Round #177, editorial 2300
1677 WTF? *special graph matchings implementation trees Statement C April Fools Day Contest 2013 {290} PROGRAMMING April Fools Day Contest 2013: editorial 1800
2009 Close Vertices data structures divide and conquer trees Statement E Croc Champ 2013 - Round 2 {293} PROGRAMMING Croc Champ 2013 — Round 2 — Editorial 2700
1120 Shaass the Great dp trees Statement E Codeforces Round 178 (Div. 2) {294} PROGRAMMING Codeforces Round #178 Editorial 2700
551 Balance constructive algorithms dfs and similar graphs trees Statement C Codeforces Round 188 (Div. 1) {317} PROGRAMMING Analysis 2700
172 Princess and Her Shadow constructive algorithms shortest paths Statement E Codeforces Round 188 (Div. 1) {317} PROGRAMMING Codeforces Round #188 (разбор) 3200
6649 Kalila and Dimna in the Logging Industry dp geometry Statement C Codeforces Round 189 (Div. 1) {319} PROGRAMMING Codeforces Round #189 — Editorial 2400
9494 Ciel the Commander constructive algorithms dfs and similar divide and conquer greedy trees Statement C Codeforces Round 190 (Div. 1) {321} PROGRAMMING Codeforces Round #190 — Editorial 2500
7567 Biridian Forest dfs and similar shortest paths Statement B Codeforces Round 192 (Div. 1) {329} PROGRAMMING Codeforces Round #192 Editorial 1700
1529 Oh Sweet Beaverette brute force implementation Statement A1 ABBYY Cup 3.0 - Finals (online version) {331} PROGRAMMING ABBYY Cup 3.0 — Finals. Solutions 1400
1550 Oh Sweet Beaverette data structures sortings Statement A2 ABBYY Cup 3.0 - Finals (online version) {331} PROGRAMMING ABBYY Cup 3.0 — Finals. Solutions 1600
204 Escaping on Beaveractor data structures implementation trees Statement D3 ABBYY Cup 3.0 - Finals (online version) {331} PROGRAMMING ABBYY Cup 3.0 — Finals. Solutions 2900
6957 Book of Evil dfs and similar divide and conquer dp trees Statement D Codeforces Round 196 (Div. 2) {337} PROGRAMMING Codeforces Round #196 — Problems Analysis 2100
1133 Divisor Tree brute force number theory trees Statement E Codeforces Round 196 (Div. 2) {337} PROGRAMMING Codeforces Round #196 — Problems Analysis 2400
32871 Xenia and Bit Operations data structures trees Statement D Codeforces Round 197 (Div. 2) {339} PROGRAMMING Codeforces Round #197 — Tutorial 1700
10997 Xenia and Tree data structures divide and conquer trees Statement E Codeforces Round 199 (Div. 2) {342} PROGRAMMING Tutorial 2200
6929 Water Tree data structures dfs and similar graphs trees Statement D Codeforces Round 200 (Div. 1) {343} PROGRAMMING Codeforces Round #200 Tutorial 2100
916 Pumping Stations brute force dfs and similar divide and conquer flows graphs greedy trees Statement E Codeforces Round 200 (Div. 1) {343} PROGRAMMING Codeforces Round #200 Tutorial 2800
2286 Apple Tree dfs and similar number theory trees Statement B Codeforces Round 202 (Div. 1) {348} PROGRAMMING Editorial for Codeforces Round #202 2400
514 Pilgrims dfs and similar dp trees Statement E Codeforces Round 202 (Div. 1) {348} PROGRAMMING Editorial for Codeforces Round #202 2800
12116 Valera and Elections dfs and similar graphs trees Statement C Codeforces Round 216 (Div. 2) {369} PROGRAMMING Editorial Codeforces Round #216 (Div. 2) 1700
6549 Vessels data structures dsu implementation trees Statement D Codeforces Round 218 (Div. 2) {371} PROGRAMMING Codeforces Round #218 (Div. 2): Tutorial 1900
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
993 Inna and Sequence binary search data structures dp trees Statement D Codeforces Round 220 (Div. 2) {374} PROGRAMMING Codeforces Round #220 (Div. 2) разбор 2300
9022 Tree and Queries data structures dfs and similar trees Statement D Codeforces Round 221 (Div. 1) {375} PROGRAMMING Codeforces Round #221 Tutorial 2400
2770 New Year Tree data structures divide and conquer trees Statement F Good Bye 2013 {379} PROGRAMMING Tutorial Good Bye 2013 2400
576 Sereja and Tree graphs implementation Statement B Codeforces Round 223 (Div. 1) {380} PROGRAMMING Codeforces Round #223 — Tutorial 2500
733 Ksenia and Pawns dfs and similar graphs implementation trees Statement D Codeforces Round 224 (Div. 2) {382} PROGRAMMING Codeforces Round #224 (Div. 2) Editorial 2300
437 Ksenia and Combinatorics combinatorics dp Statement E Codeforces Round 224 (Div. 2) {382} PROGRAMMING Codeforces Round #224 (Div. 2) Editorial 2600
7588 Propagating tree data structures dfs and similar trees Statement C Codeforces Round 225 (Div. 1) {383} PROGRAMMING Tutorial 2400
136 Three Trees Statement E1 Rockethon 2014 {391} PROGRAMMING 11.0
187 Three Trees Statement E2 Rockethon 2014 {391} PROGRAMMING 13.0
1815 On Changing Tree data structures graphs trees Statement C Codeforces Round 232 (Div. 1) {396} PROGRAMMING 1500.0 Codeforces Round #232 Editorial (restored)
221 Tree and Array constructive algorithms Statement C Codeforces Round 233 (Div. 1) {398} PROGRAMMING 1500.0 Codeforces Round #233 Editorial
4000 Trees in a Row brute force implementation Statement B Codeforces Round 236 (Div. 2) {402} PROGRAMMING Editorial Codeforces Round #236 1400
242 Two Rooted Trees data structures implementation trees Statement E Codeforces Round 236 (Div. 1) {403} PROGRAMMING Editorial Codeforces Round #236 2900
1287 Hill Climbing dfs and similar geometry trees Statement D Codeforces Round 238 (Div. 1) {406} PROGRAMMING Codeforces Round #238 Tutorial 2200
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
546 Big Problems for Organizers data structures graphs trees Statement D RCC 2014 Warmup (Div. 1) {418} PROGRAMMING RCC 2014 WarmUp Analysis 2700
12337 Xor-tree dfs and similar trees Statement A Codeforces Round 245 (Div. 1) {429} PROGRAMMING Codeforces Round #245 — Editorial 1500
1041 Guess the Tree bitmasks constructive algorithms dp greedy trees Statement C Codeforces Round 245 (Div. 1) {429} PROGRAMMING Codeforces Round #245 — Editorial 2400
30003 k-Tree dp implementation trees Statement C Codeforces Round 247 (Div. 2) {431} PROGRAMMING Editorial Codeforces Round #247 (Div. 2) 1600
311 Furukawa Nagisa's Tree binary search divide and conquer sortings trees Statement E Codeforces Round 248 (Div. 1) {434} PROGRAMMING Codeforces Round #248 Editorial 3000
2897 Dungeons and Candies dsu graphs greedy trees Statement C Zepto Code Rush 2014 {436} PROGRAMMING Zepto Code Rush 2014 — solutions A-D 1800
2144 The Child and Binary Tree combinatorics divide and conquer fft number theory Statement E Codeforces Round 250 (Div. 1) {438} PROGRAMMING Tutorial 3100
955 Berland Federalization dp trees Statement D Testing Round 10 {440} PROGRAMMING 2600
7526 Valera and Fruits greedy implementation Statement B Codeforces Round 252 (Div. 2) {441} PROGRAMMING 12615 1400
1138 Adam and Tree data structures trees Statement D Codeforces Round 253 (Div. 1) {442} PROGRAMMING Codeforces #253 editorial 2500
865 DZY Loves Planting binary search dsu trees Statement E Codeforces Round 254 (Div. 1) {444} PROGRAMMING Codeforces Round #254 Editorial 2600
2121 4-point polyline brute force constructive algorithms geometry trees Statement B MemSQL Start[c]UP 2.0 - Round 1 {452} PROGRAMMING MemSQL Start[c]UP 2.0 Round 1 and 2 Editorials 1800
6976 A Lot of Games dfs and similar dp games implementation strings trees Statement B Codeforces Round 260 (Div. 1) {455} PROGRAMMING Codeforces Round #260 — Editorial 2100
6524 Civilization dfs and similar dp dsu ternary search trees Statement C Codeforces Round 260 (Div. 1) {455} PROGRAMMING Codeforces Round #260 — Editorial 2200
126 An easy problem about trees dp games greedy trees Statement F MemSQL Start[c]UP 2.0 - Round 2 {457} PROGRAMMING MemSQL Start[c]UP 2.0 Round 1 and 2 Editorials 3000
36538 Pashmak and Garden implementation Statement A Codeforces Round 261 (Div. 2) {459} PROGRAMMING Codeforces Round #261 Editorial 1300
7086 Appleman and Tree dfs and similar dp trees Statement B Codeforces Round 263 (Div. 1) {461} PROGRAMMING Tutorial 2200
1746 Caisa and Tree brute force dfs and similar math number theory trees Statement E Codeforces Round 264 (Div. 2) {463} PROGRAMMING CF 264 Div 2 Tutorial 2400
2649 Information Graph dfs and similar dsu graphs trees Statement E Codeforces Round 266 (Div. 2) {466} PROGRAMMING Editorial Codeforces Round #266 (Div. 2) 2400
6580 Design Tutorial: Inverse the Problem dfs and similar dsu shortest paths trees Statement D Codeforces Round 270 {472} PROGRAMMING Editorial 1900
4237 Pillars binary search data structures dp sortings trees Statement E Codeforces Round 271 (Div. 2) {474} PROGRAMMING Codeforces Round #271 (Div. 2) Editorial 2200
7773 Interesting Array constructive algorithms data structures trees Statement B Codeforces Round 275 (Div. 1) {482} PROGRAMMING Codeforces Round #275 Editorial 2000
596 Random Function and Tree combinatorics dp trees Statement D Codeforces Round 275 (Div. 1) {482} PROGRAMMING Codeforces Round #275 Editorial 2600
190 ELCA data structures trees Statement E Codeforces Round 275 (Div. 1) {482} PROGRAMMING Codeforces Round #275 Editorial 3200
4391 Valid Sets dfs and similar dp math trees Statement D Codeforces Round 277 (Div. 2) {486} PROGRAMMING Codeforces Round #277(Div. 2) Editorial 2300
2865 Tourists data structures dfs and similar graphs trees Statement E Codeforces Round 278 (Div. 1) {487} PROGRAMMING Tutorial 3100
1919 Treeland Tour data structures dfs and similar dp trees Statement F Codeforces Round 279 (Div. 2) {490} PROGRAMMING Codeforces Round #279 (Div. 2) Editorial 2500
1757 Vanya and Field math Statement E Codeforces Round 280 (Div. 2) {492} PROGRAMMING Разбор задач 2200
670 Birthday data structures dfs and similar dp trees Statement D Codeforces Round 282 (Div. 1) {494} PROGRAMMING 15148 2700
3282 New Year Santa Network combinatorics dfs and similar graphs trees Statement D Good Bye 2014 {500} PROGRAMMING Tutorial 2 1900
169 New Year Running number theory trees Statement G Good Bye 2014 {500} PROGRAMMING Tutorial 2 3000
6069 Misha and Forest constructive algorithms data structures greedy sortings trees Statement C Codeforces Round 285 (Div. 2) {501} PROGRAMMING Tutorial 1700
1069 Misha and LCP on Tree binary search dfs and similar hashing string suffix structures trees Statement E Codeforces Round 285 (Div. 1) {504} PROGRAMMING 15743 3000
4568 Guess Your Way Out! implementation math trees Statement C Codeforces Round 287 (Div. 2) {507} PROGRAMMING Editorial 1700
1190 Progress Monitoring dp Statement F Codeforces Round 289 (Div. 2, ACM ICPC Rules) {509} PROGRAMMING Tutorial CodeForces Round 289 (Div.2) (Second Winter Computer Camp Selection 2015) 2600
1137 Fox And Travelling dp trees Statement D Codeforces Round 290 (Div. 1) {512} PROGRAMMING 2900
650 Constrained Tree dfs and similar Statement D1 Rockethon 2015 {513} PROGRAMMING 16260 2400
400 Constrained Tree constructive algorithms data structures Statement D2 Rockethon 2015 {513} PROGRAMMING 16260 2500
2465 Drazil and Park data structures Statement E Codeforces Round 292 (Div. 2) {515} PROGRAMMING Codeforces Round #292 Editorial 2600
1531 Drazil and Morning Exercise dfs and similar dp dsu trees two pointers Statement D Codeforces Round 292 (Div. 1) {516} PROGRAMMING 16468 2800
8463 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
19020 Reposts *special dfs and similar dp graphs trees Statement A VK Cup 2015 - Qualification Round 1 {522} PROGRAMMING Разбор задач VK Cup 2015 — Квалификация 1 1700
865 Spiders Evil Plan greedy trees Statement G ZeptoLab Code Rush 2015 {526} PROGRAMMING ZeptoLab Code Rush 2015 — Editorial 3300
2695 Work Group dfs and similar dp graphs strings trees Statement B VK Cup 2015 - Round 2 (unofficial online mirror, Div. 1 only) {533} PROGRAMMING 2000
486 Berland Miners binary search data structures dfs and similar greedy trees Statement A VK Cup 2015 - Round 2 (unofficial online mirror, Div. 1 only) {533} PROGRAMMING 3000
452 Tavas on the Path data structures divide and conquer trees Statement E Codeforces Round 299 (Div. 1) {536} PROGRAMMING Codeforces Round #299 Editorial 3100
1651 Demiurges Play Again dfs and similar dp math trees Statement E Codeforces Round 300 {538} PROGRAMMING Codeforces Round #300 Editorial (+challenges) 2200
2529 Infinite Inversions binary search data structures implementation sortings trees Statement E Codeforces Round 301 (Div. 2) {540} PROGRAMMING Tutorial 2400
3276 Road Improvement dp trees Statement D Codeforces Round 302 (Div. 1) {543} PROGRAMMING Editorial Codeforces Round #302 2300
33303 Woodcutters dp greedy Statement C Codeforces Round 303 (Div. 2) {545} PROGRAMMING Codeforces Round #303 (Div.2) editorial 1500
5627 Paths and Trees graphs greedy shortest paths Statement E Codeforces Round 303 (Div. 2) {545} PROGRAMMING Codeforces Round #303 (Div.2) editorial 2100
2624 Mike and Friends data structures string suffix structures strings trees Statement E Codeforces Round 305 (Div. 1) {547} PROGRAMMING Codeforces Round #305 Editorial 2800
2997 Case of Computer Network dfs and similar graphs trees Statement E Codeforces Round 310 (Div. 1) {555} PROGRAMMING Codeforces Round #310 Editorial 2800
1220 Ann and Half-Palindrome data structures dp graphs string suffix structures strings trees Statement E Codeforces Round 311 (Div. 2) {557} PROGRAMMING Codeforces Round #311 (Div.2) Editorial 2700
11020 Lala Land and Apple Trees brute force implementation sortings Statement A Codeforces Round 312 (Div. 2) {558} PROGRAMMING Codeforces Round #312 (Div. 2) Editorial 1200
1066 Matching Names dfs and similar strings trees Statement A VK Cup 2015 - Finals, online mirror {566} PROGRAMMING Editorial for VK Cup 2015 — Finals 2300
885 Logistical Questions dfs and similar divide and conquer trees Statement C VK Cup 2015 - Finals, online mirror {566} PROGRAMMING Editorial for VK Cup 2015 — Finals 3000
710 Restoring Map bitmasks constructive algorithms trees Statement E VK Cup 2015 - Finals, online mirror {566} PROGRAMMING Editorial for VK Cup 2015 — Finals 3200
9145 Tree Requests binary search bitmasks constructive algorithms dfs and similar graphs trees Statement D Codeforces Round 316 (Div. 2) {570} PROGRAMMING Codeforces Round #316 Editorial 2400
808 Campus binary search data structures dsu trees Statement D Codeforces Round 317 [AimFund Thanks-Round] (Div. 1) {571} PROGRAMMING Codeforces Round #317 [AimFund Thanks-Round] Editorial 3000
1042 Bear and Drawing constructive algorithms dfs and similar trees Statement C Codeforces Round 318 [RussianCodeCup Thanks-Round] (Div. 1) {573} PROGRAMMING Codeforces Round #318 [RussianCodeCup Thanks-Round] Editorial 2600
1256 Bribes dfs and similar graphs trees Statement B Bubble Cup 8 - Finals [Online Mirror] {575} PROGRAMMING Bubble Cup finals 2015 Results and Editorial 2300
1924 Invariance of Tree constructive algorithms dfs and similar greedy trees Statement B Codeforces Round 319 (Div. 1) {576} PROGRAMMING Editorial Codeforces Round #319 2300
653 Mirror Box matrices trees Statement F Codeforces Round 320 (Div. 1) [Bayan Thanks-Round] {578} PROGRAMMING Codeforces Round #320 [Bayan Thanks-Round] Editorial 3400
56184 Kefa and Park dfs and similar graphs trees Statement C 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
4800 Duff in the Army data structures trees Statement C Codeforces Round 326 (Div. 1) {587} PROGRAMMING Codeforces Round #326 (Editorial) 2200
2975 Super M dfs and similar dp graphs trees Statement D Codeforces Round 328 (Div. 2) {592} PROGRAMMING Codeforces Round #328 Problem Analysis 2200
1430 Happy Tree Party data structures dfs and similar graphs math trees Statement D Codeforces Round 329 (Div. 2) {593} PROGRAMMING 2300
730 Wilbur and Trees dp math probabilities sortings Statement D Codeforces Round 331 (Div. 2) {596} PROGRAMMING Codeforces Round #331 Editorial 2500
765 Sandy and Nuts bitmasks dp trees Statement E Codeforces Round 332 (Div. 2) {599} PROGRAMMING Editorial Codeforces Round #332 (Div. 2) 2100
18651 Lomsat gelral data structures dfs and similar dsu trees Statement E Educational Codeforces Round 2 {600} PROGRAMMING Editorial 2300
1247 Acyclic Organic Compounds data structures dfs and similar dsu hashing strings trees Statement D Codeforces Round 333 (Div. 1) {601} PROGRAMMING Codeforces Round #333 — editorial 2400
1550 Pastoral Oddities data structures divide and conquer dsu math trees Statement E Codeforces Round 334 (Div. 1) {603} PROGRAMMING Codeforces Round #334 Bonus Editorial: More Ideas on Div. 1 E 2900
3855 Lazy Student constructive algorithms data structures graphs Statement B Codeforces Round 335 (Div. 1) {605} PROGRAMMING Codeforces Round #335 Problem Analysis 1800
647 Power Tree data structures trees Statement D Codeforces Round 336 (Div. 1) {607} PROGRAMMING Codeforces Round #336 Editorial 2600
10397 Minimum spanning tree for each edge data structures dfs and similar dsu graphs trees Statement E Educational Codeforces Round 3 {609} PROGRAMMING Editorial 2100
4095 Kingdom and its Cities dfs and similar divide and conquer dp graphs sortings trees Statement D Codeforces Round 339 (Div. 1) {613} PROGRAMMING Tutorial 2800
7812 Link/Cut Tree brute force implementation Statement A Codeforces Round 339 (Div. 2) {614} PROGRAMMING Tutorial 1500
2465 Running Track dp greedy strings trees Statement C Codeforces Round 338 (Div. 2) {615} PROGRAMMING Codeforces Round #338 (Div. 2) editorial 1900
1911 Hamiltonian Spanning Tree dfs and similar dp graph matchings greedy trees Statement D Wunder Fund Round 2016 (Div. 1 + Div. 2 combined) {618} PROGRAMMING Wunder Fund Round 2016 Editorials 2200
7220 New Year Tree bitmasks data structures trees Statement E Educational Codeforces Round 6 {620} PROGRAMMING Editorial of Educational Codeforces Round 6 2100
2477 Ants in Leaves dfs and similar greedy sortings trees Statement E Educational Codeforces Round 7 {622} PROGRAMMING Editorial of Educational Codeforces Round 7 2300
1003 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
251 Island Puzzle dfs and similar dsu graphs trees Statement F 8VC Venture Cup 2016 - Final Round {627} PROGRAMMING 8VC Venture Cup 2016 — Final Round Editorial 3400
1170 Famil Door and Roads combinatorics data structures dfs and similar dp probabilities trees Statement E Codeforces Round 343 (Div. 2) {629} PROGRAMMING Editorial of Codeforces Round #343 (Div.2) 2400
1287 Magic Matrix brute force divide and conquer graphs matrices trees Statement F Educational Codeforces Round 9 {632} PROGRAMMING 43493 2400
1400 The Chocolate Spree dfs and similar dp graphs trees Statement F Manthan, Codefest 16 {633} PROGRAMMING Manthan, Codefest 16: Editorials 2500
877 Yash And Trees bitmasks data structures dfs and similar math number theory Statement G Manthan, Codefest 16 {633} PROGRAMMING Manthan, Codefest 16: Editorials 2700
2322 Road Improvement *special dfs and similar graphs greedy trees Statement C VK Cup 2016 - Qualification Round 2 {638} PROGRAMMING 2100
7007 Bear and Forgotten Tree 3 constructive algorithms graphs trees Statement B VK Cup 2016 - Round 1 {639} PROGRAMMING Tutorial 1600
450 Bear and Chemistry data structures dfs and similar graphs trees Statement F VK Cup 2016 - Round 1 {639} PROGRAMMING Tutorial 3300
119 Little Artem and Graph Statement G VK Cup 2016 - Round 2 {641} PROGRAMMING VK Cup 2016 — Раунд 2 (editorial) 3300
702 Bear and Destroying Subtrees dp math probabilities trees Statement E VK Cup 2016 - Round 3 {643} PROGRAMMING VK Cup 2016 — Round 3 — Editorial 2600
1602 Zip-line binary search data structures dp hashing Statement D Codeforces Round 345 (Div. 1) {650} PROGRAMMING Codeforces Round #345: editorial 2600
682 Clockwork Bomb data structures dfs and similar dsu greedy trees Statement E Codeforces Round 345 (Div. 1) {650} PROGRAMMING Codeforces Round #345: editorial 3100
2891 Pursuit For Artifacts dfs and similar dsu graphs trees Statement E Educational Codeforces Round 10 {652} PROGRAMMING Editorial of Educational Codeforces Round 10 2300
2944 Delivery Bears binary search flows graphs Statement D IndiaHacks 2016 - Online Edition (Div. 1 + Div. 2) {653} PROGRAMMING IndiaHacks Finals 2016 — Editorial 2100
1743 Bear and Forgotten Tree 2 dfs and similar dsu graphs trees Statement E IndiaHacks 2016 - Online Edition (Div. 1 + Div. 2) {653} PROGRAMMING IndiaHacks Finals 2016 — Editorial 2400
4319 Дерево data structures trees Statement D Codeforces Round 353 (Div. 2) {675} PROGRAMMING Tutorial 1800
1892 Gifts by the List constructive algorithms dfs and similar graphs trees Statement D Codeforces Round 357 (Div. 2) {681} PROGRAMMING 45425 2100
8108 Alyona and the Tree dfs and similar dp graphs trees Statement C Codeforces Round 358 (Div. 2) {682} PROGRAMMING 45491 1700
5420 Kay and Snowflake data structures dfs and similar dp trees Statement B Codeforces Round 359 (Div. 1) {685} PROGRAMMING Codeforces Round #359 Editorial 2000
5040 Brain Network (medium) dfs and similar graphs trees Statement C2 Helvetic Coding Contest 2016 online mirror (teams, unrated) {690} PROGRAMMING Tutotial 1600
1013 Brain Network (hard) trees Statement C3 Helvetic Coding Contest 2016 online mirror (teams, unrated) {690} PROGRAMMING Tutotial 2200
93 Tree of Life (medium) constructive algorithms hashing trees Statement F2 Helvetic Coding Contest 2016 online mirror (teams, unrated) {690} PROGRAMMING 3000
61 Tree of Life (hard) trees Statement F3 Helvetic Coding Contest 2016 online mirror (teams, unrated) {690} PROGRAMMING Tutotial 3200
6468 Lorenzo Von Matterhorn brute force data structures implementation trees Statement A Codeforces Round 362 (Div. 1) {696} PROGRAMMING Codeforces Round #362 (Editorial) 1500
3822 Puzzles dfs and similar math probabilities trees Statement B Codeforces Round 362 (Div. 1) {696} PROGRAMMING Codeforces Round #362 (Editorial) 1800
629 ...Wait for it... data structures dsu trees Statement E Codeforces Round 362 (Div. 1) {696} PROGRAMMING Codeforces Round #362 (Editorial) 2900
6205 Fix a Tree constructive algorithms dfs and similar dsu graphs trees Statement B Codeforces Round 363 (Div. 1) {698} PROGRAMMING 46148 1700
4653 Connecting Universities dfs and similar dp graphs trees Statement B Codeforces Round 364 (Div. 1) {700} PROGRAMMING 46283 2100
348 Iron Man data structures geometry trees Statement E Codeforces Round 366 (Div. 1) {704} PROGRAMMING Tutorial 3500
12715 Vasiliy's Multiset binary search bitmasks data structures trees Statement D Codeforces Round 367 (Div. 2) {706} PROGRAMMING Tutorial 1800
4416 Centroids data structures dfs and similar dp graphs greedy trees Statement C AIM Tech Round 3 (Div. 1) {708} PROGRAMMING Editorial 2500
9390 Coloring Trees dp Statement C Codeforces Round 369 (Div. 2) {711} PROGRAMMING 46830 1700
2626 Digit Tree dfs and similar divide and conquer dsu trees Statement C Codeforces Round 372 (Div. 1) {715} PROGRAMMING Codeforces Round #372 Editorial 2800
495 Andrew and Chemistry dp hashing trees Statement D Codeforces Round 373 (Div. 1) {718} PROGRAMMING Codeforces Round #373 — Editorial 2900
3358 Generating Sets binary search data structures dfs and similar greedy strings trees Statement D Intel Code Challenge Elimination Round (Div. 1 + Div. 2, combined) {722} PROGRAMMING Tutorial 1900
1522 Xor-matic Number of the Graph bitmasks graphs math number theory trees Statement G Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined) {724} PROGRAMMING Tutorial 2600
531 Uniformly Branched Trees combinatorics dp trees Statement F Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined) {724} PROGRAMMING Tutorial 2800
1340 Drivers Dissatisfaction data structures dsu graphs trees Statement F Codeforces Round 378 (Div. 2) {733} PROGRAMMING Codeforces Round #378 (Div. 2) editorial 2500
5304 Anton and Tree dfs and similar dp trees Statement E Codeforces Round 379 (Div. 2) {734} PROGRAMMING Tutorial of Codeforces Round #379 (Div. 2) 2100
1007 Ostap and Tree dp trees Statement E Codeforces Round 382 (Div. 2) {735} PROGRAMMING Codeforces Round #382 Editorial 2800
5144 Alyona and a tree binary search data structures dfs and similar graphs trees Statement B Codeforces Round 381 (Div. 1) {739} PROGRAMMING 48582 2000
3664 Arpa’s letter-marked tree and Mehrdad’s Dokhtar-kosh paths data structures dfs and similar trees Statement D Codeforces Round 383 (Div. 1) {741} PROGRAMMING Codeforces Round #383 editorial 2700
4738 Chloe and pleasant prizes dfs and similar dp graphs trees Statement D Codeforces Round 384 (Div. 2) {743} PROGRAMMING Codeforces Round #384 Editorial 1800
1641 New Roads constructive algorithms graphs trees Statement G Codeforces Round 386 (Div. 2) {746} PROGRAMMING Codeforces Round #386 (Div.2) Editorial 2100
723 Santa Clauses and a Soccer Championship constructive algorithms dfs and similar graphs trees Statement F Technocup 2017 - Elimination Round 3 {748} PROGRAMMING Codeforces Round 389 (Div.2) Editorial 2500
597 New Year and Finding Roots constructive algorithms implementation interactive trees Statement F Good Bye 2016 {750} PROGRAMMING Good Bye 2016 — hints and codes 2700
567 Dasha and cyclic table bitmasks brute force fft strings trees Statement E Codeforces Round 390 (Div. 2) {754} PROGRAMMING 2800
15128 PolandBall and Forest dfs and similar dsu graphs interactive trees Statement C 8VC Venture Cup 2017 - Elimination Round {755} PROGRAMMING 8VC Venture Cup 2017 — Elimination Round [Editorial] 1300
651 Can Bash Save the Day? data structures divide and conquer graphs trees Statement G Codecraft-17 and Codeforces Round 391 (Div. 1 + Div. 2, combined) {757} PROGRAMMING CodeCraft-17 and Codeforces Round #391 (Div. 1 + Div. 2, combined) Editorial 2500
552 Broken Tree dfs and similar dp graphs greedy trees Statement E Codeforces Round 392 (Div. 2) {758} PROGRAMMING Codeforces Round #392 (Div. 2) Editorial 2900
2381 Dasha and Puzzle constructive algorithms dfs and similar graphs greedy trees Statement E Codeforces Round 394 (Div. 2) {761} PROGRAMMING Codeforces Round #394 (Div. 2) [Editorial] 2000
480 Tree nesting combinatorics graphs trees Statement F Educational Codeforces Round 17 {762} PROGRAMMING Tutorial 2900
11917 Timofey and a tree dfs and similar dp dsu graphs implementation trees Statement A Codeforces Round 395 (Div. 1) {763} PROGRAMMING Codeforces Round #395 [Editorial] 1600
553 Timofey and our friends animals data structures divide and conquer dsu Statement E Codeforces Round 395 (Div. 1) {763} PROGRAMMING Codeforces Round #395 [Editorial] 2800
648 Timofey and a flat tree data structures graphs hashing shortest paths trees Statement D Codeforces Round 395 (Div. 1) {763} PROGRAMMING Codeforces Round #395 [Editorial] 2800
1336 Tree Folding dfs and similar dp greedy implementation trees Statement E Codeforces Round 397 by Kaspersky Lab and Barcelona Bootcamp (Div. 1 + Div. 2 combined) {765} PROGRAMMING Codeforces Round #397 Editorial 2200
3509 Mahmoud and a xor trip bitmasks constructive algorithms data structures dfs and similar dp math trees Statement E Codeforces Round 396 (Div. 2) {766} PROGRAMMING Codeforces round #396 editorial 2200
4662 Garland dfs and similar graphs greedy trees Statement C Codeforces Round 398 (Div. 2) {767} PROGRAMMING Codeforces Round #398 (Div. 2) Editorial 2000
406 The Winds of Winter binary search data structures Statement G Divide by Zero 2017 and Codeforces Round 399 (Div. 1 + Div. 2, combined) {768} PROGRAMMING Editorial Divide by Zero and Codeforces Round #399 (Div. 1+2, combined) 3000
3560 Bear and Tree Jumps dfs and similar dp trees Statement C VK Cup 2017 - Round 1 {771} PROGRAMMING VK Cup 2017 Round 1 and CF Round 405 — Editorial 2100
220 Verifying Kingdom binary search divide and conquer interactive trees Statement E VK Cup 2017 - Round 2 {772} PROGRAMMING VK Cup Round 2 + Codeforces Round #409 Tutorial 3200
512 Sherlock's bet to Moriarty constructive algorithms data structures divide and conquer geometry graphs implementation trees Statement F ICM Technex 2017 and Codeforces Round 400 (Div. 1 + Div. 2, combined) {776} PROGRAMMING ICM Technex 2017 and Codeforces Round #400 (Div. 1 + Div. 2, combined) Editorial 2700