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 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
3858 Exposition binary search data structures dsu trees two pointers Statement E Codeforces Beta Round 6 (Div. 2 Only) {6} PROGRAMMING Beta Round #6 - Разбор задач 1900
4491 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
5265 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
2065 Scheme dfs and similar graphs trees Statement E Codeforces Beta Round 22 (Div. 2 Only) {22} PROGRAMMING Codeforces Beta Round #22 Tutorial 2400
15455 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
2931 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
8550 Fire Again brute force dfs and similar shortest paths Statement C Codeforces Beta Round 35 (Div. 2) {35} PROGRAMMING 1600
2139 Old Berland Language data structures greedy trees Statement C Codeforces Beta Round 37 {37} PROGRAMMING Codeforces Beta Round #37 (Tutorial) 1900
243 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
17178 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
1072 Planting Trees constructive algorithms Statement J School Team Contest 3 (Winter Computer School 2010/11) {45} PROGRAMMING 1900
3031 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
811 Caterpillar dfs and similar dp graphs trees Statement F Codeforces Beta Round 48 {51} PROGRAMMING 2600
2260 Trees brute force Statement C Codeforces Beta Round 54 (Div. 2) {58} PROGRAMMING Codeforces Beta Round #54 (Div.2) - разбор A-D 1800
7613 Eternal Victory dfs and similar graphs greedy shortest paths trees Statement D Codeforces Beta Round 57 (Div. 2) {61} PROGRAMMING Round 57-A 1900
15035 Enemy is weak data structures trees Statement E Codeforces Beta Round 57 (Div. 2) {61} PROGRAMMING Round 57-A 2100
587 Information Reform dp implementation trees Statement E Codeforces Beta Round 64 {70} PROGRAMMING Analysis Codeforces Beta Round #64 2700
2047 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
2133 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
1169 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
398 Pairs dfs and similar dp dsu graphs implementation trees Statement E Yandex.Algorithm Open 2011: Qualification 1 {81} PROGRAMMING 2600
614 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
857 Genetic engineering dp string suffix structures trees Statement C Yandex.Algorithm 2011: Round 2 {86} PROGRAMMING Problemset analysis (Yandex, Round 2) 2400
1051 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
428 Leaders dfs and similar dsu graphs trees Statement E Yandex.Algorithm 2011: Finals {97} PROGRAMMING Финал Яндекс.Алгоритм: разбор A-B 2800
152 Help King implementation probabilities trees Statement B Codeforces Beta Round 78 (Div. 1 Only) {98} PROGRAMMING 2600
790 Castle dp greedy probabilities sortings trees Statement D Codeforces Beta Round 79 (Div. 1 Only) {101} PROGRAMMING Codeforces Beta Round 79, editoral 2300
10545 Cthulhu dfs and similar dsu graphs Statement B Codeforces Beta Round 80 (Div. 1 Only) {103} PROGRAMMING Tutorial 1600
4088 Lucky Tree dp dsu trees Statement C Codeforces Beta Round 84 (Div. 1 Only) {109} PROGRAMMING Tutorial 2000
43060 Party dfs and similar graphs trees Statement A Codeforces Beta Round 87 (Div. 1 Only) {115} PROGRAMMING Tutorial 1300
414 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
4107 Spiders dp greedy trees Statement F School Regional Team Contest, Saratov, 2011 {120} PROGRAMMING Tutorial for school regional team contest of Saratov 1500
802 Maze dfs and similar dp probabilities trees Statement E Codeforces Beta Round 92 (Div. 1 Only) {123} PROGRAMMING Codeforces Beta Round #92 - Analysis 2600
960 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
1034 Freezing with Style binary search data structures divide and conquer trees Statement E Codeforces Round 107 (Div. 1) {150} PROGRAMMING Tutorial 3000
565 Garden bitmasks dp graphs trees Statement E Codeforces Round 108 (Div. 2) {152} PROGRAMMING Разбор задач Codeforces Round #108 (Div. 2) 2400
19042 Distance in Tree dfs and similar dp trees Statement D VK Cup 2012 Round 1 {161} PROGRAMMING VK Cup 2012 Round 1: editorial 1800
2164 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
1926 Beard Graph data structures dsu trees Statement D Codeforces Round 112 (Div. 2) {165} PROGRAMMING Codeforces Round #112 (Div. 2) Tutorial 2200
1511 Archaeology data structures dfs and similar trees Statement E Croc Champ 2012 - Round 2 {176} PROGRAMMING Croc Champ 2012 — Round 2 — Editorial 3000
9158 Fools and Roads data structures dfs and similar trees Statement C Codeforces Round 121 (Div. 1) {191} PROGRAMMING Разбор Codeforces Round #121 2100
956 Thwarting Demonstrations binary search data structures trees Statement E Codeforces Round 121 (Div. 1) {191} PROGRAMMING Разбор Codeforces Round #121 2200
4670 Cutting Figure constructive algorithms graphs trees Statement A Codeforces Round 122 (Div. 1) {193} PROGRAMMING Editoral Codeforces Round #122 1700
1039 Paint Tree constructive algorithms divide and conquer geometry sortings trees Statement C Codeforces Round 124 (Div. 1) {196} PROGRAMMING Разбор задач 2400
132 Game with Two Trees Statement C1 Abbyy Cup 2.0 - Final (unofficial) {207} PROGRAMMING 2400
104 Game with Two Trees Statement C2 Abbyy Cup 2.0 - Final (unofficial) {207} PROGRAMMING 2500
163 Game with Two Trees data structures Statement C3 Abbyy Cup 2.0 - Final (unofficial) {207} PROGRAMMING 2700
8832 Blood Cousins binary search data structures dfs and similar trees Statement E Codeforces Round 130 (Div. 2) {208} PROGRAMMING 4930 2400
2188 IT Restaurants dfs and similar dp trees Statement E VK Cup 2012 Finals (unofficial online-version) {212} PROGRAMMING 1800
353 Alien DNA data structures dsu trees Statement E Codeforces Round 134 (Div. 1) {217} PROGRAMMING Editorial for Codeforces Round #134 2700
12413 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
544 Noble Knight's Path data structures trees Statement E Codeforces Round 140 (Div. 1) {226} PROGRAMMING Codeforces Round #140 Editorial 2900
2310 Cactus data structures dfs and similar dp graphs trees Statement E Codeforces Round 143 (Div. 2) {231} PROGRAMMING Tutorial Codeforces Round #143 2400
617 T-decomposition dfs and similar graphs greedy trees Statement D Codeforces Round 147 (Div. 2) {237} PROGRAMMING Codeforces Round #147 (Div. 2) Разбор Задач 2200
1362 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
1313 Little Elephant and Tree data structures dfs and similar trees Statement E Codeforces Round 157 (Div. 1) {258} PROGRAMMING Codeforces Round #157 — Editorial 2400
1662 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
469 Roadside Trees data structures dp Statement E Codeforces Round 162 (Div. 1) {264} PROGRAMMING Tutorial 2900
17919 Roadside Trees (Simplified Edition) greedy implementation Statement B Codeforces Round 162 (Div. 2) {265} PROGRAMMING Codeforces Round #162 Tutorial 1000
5559 Zero Tree dfs and similar dp greedy trees Statement B Codeforces Round 168 (Div. 1) {274} PROGRAMMING Codeforces Round #168 Editorial 2000
1850 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
1477 Binary Tree on Plane flows trees Statement E Codeforces Round 170 (Div. 1) {277} PROGRAMMING Codeforces Round #170 Tutorial 2400
5081 Game on Tree implementation math probabilities trees Statement C Codeforces Round 172 (Div. 1) {280} PROGRAMMING T 2400
4294 Sausage Maximization bitmasks data structures trees Statement E Codeforces Round 173 (Div. 2) {282} PROGRAMMING Round #173 — Editorial 2100
837 Polo the Penguin and Trees combinatorics dfs and similar trees Statement D Codeforces Round 177 (Div. 1) {288} PROGRAMMING Codeforces Round #177, editorial 2300
1668 WTF? *special graph matchings implementation trees Statement C April Fools Day Contest 2013 {290} PROGRAMMING April Fools Day Contest 2013: editorial 1800
1963 Close Vertices data structures divide and conquer trees Statement E Croc Champ 2013 - Round 2 {293} PROGRAMMING Croc Champ 2013 — Round 2 — Editorial 2700
1112 Shaass the Great dp trees Statement E Codeforces Round 178 (Div. 2) {294} PROGRAMMING Codeforces Round #178 Editorial 2700
546 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
6543 Kalila and Dimna in the Logging Industry dp geometry Statement C Codeforces Round 189 (Div. 1) {319} PROGRAMMING Codeforces Round #189 — Editorial 2400
9337 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
7469 Biridian Forest dfs and similar shortest paths Statement B Codeforces Round 192 (Div. 1) {329} PROGRAMMING Codeforces Round #192 Editorial 1700
1524 Oh Sweet Beaverette brute force implementation Statement A1 ABBYY Cup 3.0 - Finals (online version) {331} PROGRAMMING ABBYY Cup 3.0 — Finals. Solutions 1400
1542 Oh Sweet Beaverette data structures sortings Statement A2 ABBYY Cup 3.0 - Finals (online version) {331} PROGRAMMING ABBYY Cup 3.0 — Finals. Solutions 1600
202 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
6878 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
1127 Divisor Tree brute force number theory trees Statement E Codeforces Round 196 (Div. 2) {337} PROGRAMMING Codeforces Round #196 — Problems Analysis 2400
32362 Xenia and Bit Operations data structures trees Statement D Codeforces Round 197 (Div. 2) {339} PROGRAMMING Codeforces Round #197 — Tutorial 1700
10765 Xenia and Tree data structures divide and conquer trees Statement E Codeforces Round 199 (Div. 2) {342} PROGRAMMING Tutorial 2200
6811 Water Tree data structures dfs and similar graphs trees Statement D Codeforces Round 200 (Div. 1) {343} PROGRAMMING Codeforces Round #200 Tutorial 2100
910 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
2280 Apple Tree dfs and similar number theory trees Statement B Codeforces Round 202 (Div. 1) {348} PROGRAMMING Editorial for Codeforces Round #202 2400
511 Pilgrims dfs and similar dp trees Statement E Codeforces Round 202 (Div. 1) {348} PROGRAMMING Editorial for Codeforces Round #202 2800
12002 Valera and Elections dfs and similar graphs trees Statement C Codeforces Round 216 (Div. 2) {369} PROGRAMMING Editorial Codeforces Round #216 (Div. 2) 1700
6458 Vessels data structures dsu implementation trees Statement D Codeforces Round 218 (Div. 2) {371} PROGRAMMING Codeforces Round #218 (Div. 2): Tutorial 1900
1127 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
987 Inna and Sequence binary search data structures dp trees Statement D Codeforces Round 220 (Div. 2) {374} PROGRAMMING Codeforces Round #220 (Div. 2) разбор 2300
8850 Tree and Queries data structures dfs and similar trees Statement D Codeforces Round 221 (Div. 1) {375} PROGRAMMING Codeforces Round #221 Tutorial 2400
2737 New Year Tree data structures divide and conquer trees Statement F Good Bye 2013 {379} PROGRAMMING Tutorial Good Bye 2013 2400
572 Sereja and Tree graphs implementation Statement B Codeforces Round 223 (Div. 1) {380} PROGRAMMING Codeforces Round #223 — Tutorial 2500
726 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
430 Ksenia and Combinatorics combinatorics dp Statement E Codeforces Round 224 (Div. 2) {382} PROGRAMMING Codeforces Round #224 (Div. 2) Editorial 2600
7494 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
186 Three Trees Statement E2 Rockethon 2014 {391} PROGRAMMING 13.0
1796 On Changing Tree data structures graphs trees Statement C Codeforces Round 232 (Div. 1) {396} PROGRAMMING 1500.0 Codeforces Round #232 Editorial (restored)
219 Tree and Array constructive algorithms Statement C Codeforces Round 233 (Div. 1) {398} PROGRAMMING 1500.0 Codeforces Round #233 Editorial
3991 Trees in a Row brute force implementation Statement B Codeforces Round 236 (Div. 2) {402} PROGRAMMING Editorial Codeforces Round #236 1400
241 Two Rooted Trees data structures implementation trees Statement E Codeforces Round 236 (Div. 1) {403} PROGRAMMING Editorial Codeforces Round #236 2900
1263 Hill Climbing dfs and similar geometry trees Statement D Codeforces Round 238 (Div. 1) {406} PROGRAMMING Codeforces Round #238 Tutorial 2200
747 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
545 Big Problems for Organizers data structures graphs trees Statement D RCC 2014 Warmup (Div. 1) {418} PROGRAMMING RCC 2014 WarmUp Analysis 2700
12216 Xor-tree dfs and similar trees Statement A Codeforces Round 245 (Div. 1) {429} PROGRAMMING Codeforces Round #245 — Editorial 1500
1029 Guess the Tree bitmasks constructive algorithms dp greedy trees Statement C Codeforces Round 245 (Div. 1) {429} PROGRAMMING Codeforces Round #245 — Editorial 2400
29622 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
2881 Dungeons and Candies dsu graphs greedy trees Statement C Zepto Code Rush 2014 {436} PROGRAMMING Zepto Code Rush 2014 — solutions A-D 1800
2126 The Child and Binary Tree combinatorics divide and conquer fft number theory Statement E Codeforces Round 250 (Div. 1) {438} PROGRAMMING Tutorial 3100
939 Berland Federalization dp trees Statement D Testing Round 10 {440} PROGRAMMING 2600
7505 Valera and Fruits greedy implementation Statement B Codeforces Round 252 (Div. 2) {441} PROGRAMMING 12615 1400
1130 Adam and Tree data structures trees Statement D Codeforces Round 253 (Div. 1) {442} PROGRAMMING Codeforces #253 editorial 2500
855 DZY Loves Planting binary search dsu trees Statement E Codeforces Round 254 (Div. 1) {444} PROGRAMMING Codeforces Round #254 Editorial 2600
2105 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
6814 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
6447 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
36331 Pashmak and Garden implementation Statement A Codeforces Round 261 (Div. 2) {459} PROGRAMMING Codeforces Round #261 Editorial 1300
6975 Appleman and Tree dfs and similar dp trees Statement B Codeforces Round 263 (Div. 1) {461} PROGRAMMING Tutorial 2200
1739 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
2611 Information Graph dfs and similar dsu graphs trees Statement E Codeforces Round 266 (Div. 2) {466} PROGRAMMING Editorial Codeforces Round #266 (Div. 2) 2400
6487 Design Tutorial: Inverse the Problem dfs and similar dsu shortest paths trees Statement D Codeforces Round 270 {472} PROGRAMMING Editorial 1900
4143 Pillars binary search data structures dp sortings trees Statement E Codeforces Round 271 (Div. 2) {474} PROGRAMMING Codeforces Round #271 (Div. 2) Editorial 2200
7664 Interesting Array constructive algorithms data structures trees Statement B Codeforces Round 275 (Div. 1) {482} PROGRAMMING Codeforces Round #275 Editorial 2000
590 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
4375 Valid Sets dfs and similar dp math trees Statement D Codeforces Round 277 (Div. 2) {486} PROGRAMMING Codeforces Round #277(Div. 2) Editorial 2300
2822 Tourists data structures dfs and similar graphs trees Statement E Codeforces Round 278 (Div. 1) {487} PROGRAMMING Tutorial 3100
1906 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
1753 Vanya and Field math Statement E Codeforces Round 280 (Div. 2) {492} PROGRAMMING Разбор задач 2200
667 Birthday data structures dfs and similar dp trees Statement D Codeforces Round 282 (Div. 1) {494} PROGRAMMING 15148 2700
3274 New Year Santa Network combinatorics dfs and similar graphs trees Statement D Good Bye 2014 {500} PROGRAMMING Tutorial 2 1900
168 New Year Running number theory trees Statement G Good Bye 2014 {500} PROGRAMMING Tutorial 2 3000
6054 Misha and Forest constructive algorithms data structures greedy sortings trees Statement C Codeforces Round 285 (Div. 2) {501} PROGRAMMING Tutorial 1700
1059 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
4554 Guess Your Way Out! implementation math trees Statement C Codeforces Round 287 (Div. 2) {507} PROGRAMMING Editorial 1700
1178 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
1133 Fox And Travelling dp trees Statement D Codeforces Round 290 (Div. 1) {512} PROGRAMMING 2900
647 Constrained Tree dfs and similar Statement D1 Rockethon 2015 {513} PROGRAMMING 16260 2400
398 Constrained Tree constructive algorithms data structures Statement D2 Rockethon 2015 {513} PROGRAMMING 16260 2500
2418 Drazil and Park data structures Statement E Codeforces Round 292 (Div. 2) {515} PROGRAMMING Codeforces Round #292 Editorial 2600
1521 Drazil and Morning Exercise dfs and similar dp dsu trees two pointers Statement D Codeforces Round 292 (Div. 1) {516} PROGRAMMING 16468 2800
8296 A and B and Lecture Rooms binary search data structures dfs and similar dp trees Statement E Codeforces Round 294 (Div. 2) {519} PROGRAMMING 2300
18755 Reposts *special dfs and similar dp graphs trees Statement A VK Cup 2015 - Qualification Round 1 {522} PROGRAMMING Разбор задач VK Cup 2015 — Квалификация 1 1700
859 Spiders Evil Plan greedy trees Statement G ZeptoLab Code Rush 2015 {526} PROGRAMMING ZeptoLab Code Rush 2015 — Editorial 3300
2683 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
485 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
449 Tavas on the Path data structures divide and conquer trees Statement E Codeforces Round 299 (Div. 1) {536} PROGRAMMING Codeforces Round #299 Editorial 3100
1634 Demiurges Play Again dfs and similar dp math trees Statement E Codeforces Round 300 {538} PROGRAMMING Codeforces Round #300 Editorial (+challenges) 2200
2486 Infinite Inversions binary search data structures implementation sortings trees Statement E Codeforces Round 301 (Div. 2) {540} PROGRAMMING Tutorial 2400
3234 Road Improvement dp trees Statement D Codeforces Round 302 (Div. 1) {543} PROGRAMMING Editorial Codeforces Round #302 2300
32719 Woodcutters dp greedy Statement C Codeforces Round 303 (Div. 2) {545} PROGRAMMING Codeforces Round #303 (Div.2) editorial 1500
5507 Paths and Trees graphs greedy shortest paths Statement E Codeforces Round 303 (Div. 2) {545} PROGRAMMING Codeforces Round #303 (Div.2) editorial 2100
2577 Mike and Friends data structures string suffix structures strings trees Statement E Codeforces Round 305 (Div. 1) {547} PROGRAMMING Codeforces Round #305 Editorial 2800
2946 Case of Computer Network dfs and similar graphs trees Statement E Codeforces Round 310 (Div. 1) {555} PROGRAMMING Codeforces Round #310 Editorial 2800
1211 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
10983 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
1060 Matching Names dfs and similar strings trees Statement A VK Cup 2015 - Finals, online mirror {566} PROGRAMMING Editorial for VK Cup 2015 — Finals 2300
881 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
709 Restoring Map bitmasks constructive algorithms trees Statement E VK Cup 2015 - Finals, online mirror {566} PROGRAMMING Editorial for VK Cup 2015 — Finals 3200
8973 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
806 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
1039 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
1237 Bribes dfs and similar graphs trees Statement B Bubble Cup 8 - Finals [Online Mirror] {575} PROGRAMMING Bubble Cup finals 2015 Results and Editorial 2300
1915 Invariance of Tree constructive algorithms dfs and similar greedy trees Statement B Codeforces Round 319 (Div. 1) {576} PROGRAMMING Editorial Codeforces Round #319 2300
645 Mirror Box matrices trees Statement F Codeforces Round 320 (Div. 1) [Bayan Thanks-Round] {578} PROGRAMMING Codeforces Round #320 [Bayan Thanks-Round] Editorial 3400
55100 Kefa and Park dfs and similar graphs trees Statement C Codeforces Round 321 (Div. 2) {580} PROGRAMMING Codeforces Round #321 Editorial 1500
1029 Zublicanes and Mumocrates dp trees two pointers Statement F Codeforces Round 322 (Div. 2) {581} PROGRAMMING Codeforces Round #322 (Div.2) Editorial 2600
4705 Duff in the Army data structures trees Statement C Codeforces Round 326 (Div. 1) {587} PROGRAMMING Codeforces Round #326 (Editorial) 2200
2953 Super M dfs and similar dp graphs trees Statement D Codeforces Round 328 (Div. 2) {592} PROGRAMMING Codeforces Round #328 Problem Analysis 2200
1421 Happy Tree Party data structures dfs and similar graphs math trees Statement D Codeforces Round 329 (Div. 2) {593} PROGRAMMING 2300
728 Wilbur and Trees dp math probabilities sortings Statement D Codeforces Round 331 (Div. 2) {596} PROGRAMMING Codeforces Round #331 Editorial 2500
760 Sandy and Nuts bitmasks dp trees Statement E Codeforces Round 332 (Div. 2) {599} PROGRAMMING Editorial Codeforces Round #332 (Div. 2) 2100
18197 Lomsat gelral data structures dfs and similar dsu trees Statement E Educational Codeforces Round 2 {600} PROGRAMMING Editorial 2300
1243 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
1539 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
3845 Lazy Student constructive algorithms data structures graphs Statement B Codeforces Round 335 (Div. 1) {605} PROGRAMMING Codeforces Round #335 Problem Analysis 1800
641 Power Tree data structures trees Statement D Codeforces Round 336 (Div. 1) {607} PROGRAMMING Codeforces Round #336 Editorial 2600
10186 Minimum spanning tree for each edge data structures dfs and similar dsu graphs trees Statement E Educational Codeforces Round 3 {609} PROGRAMMING Editorial 2100
4005 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
7788 Link/Cut Tree brute force implementation Statement A Codeforces Round 339 (Div. 2) {614} PROGRAMMING Tutorial 1500
2459 Running Track dp greedy strings trees Statement C Codeforces Round 338 (Div. 2) {615} PROGRAMMING Codeforces Round #338 (Div. 2) editorial 1900
1876 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
7037 New Year Tree bitmasks data structures trees Statement E Educational Codeforces Round 6 {620} PROGRAMMING Editorial of Educational Codeforces Round 6 2100
2448 Ants in Leaves dfs and similar greedy sortings trees Statement E Educational Codeforces Round 7 {622} PROGRAMMING Editorial of Educational Codeforces Round 7 2300
979 Preorder Test binary search dfs and similar dp graphs greedy trees Statement D 8VC Venture Cup 2016 - Final Round {627} PROGRAMMING 8VC Venture Cup 2016 — Final Round Editorial 2600
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
1148 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
1279 Magic Matrix brute force divide and conquer graphs matrices trees Statement F Educational Codeforces Round 9 {632} PROGRAMMING 43493 2400
1372 The Chocolate Spree dfs and similar dp graphs trees Statement F Manthan, Codefest 16 {633} PROGRAMMING Manthan, Codefest 16: Editorials 2500
874 Yash And Trees bitmasks data structures dfs and similar math number theory Statement G Manthan, Codefest 16 {633} PROGRAMMING Manthan, Codefest 16: Editorials 2700
2244 Road Improvement *special dfs and similar graphs greedy trees Statement C VK Cup 2016 - Qualification Round 2 {638} PROGRAMMING 2100
6976 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
116 Little Artem and Graph Statement G VK Cup 2016 - Round 2 {641} PROGRAMMING VK Cup 2016 — Раунд 2 (editorial) 3300
698 Bear and Destroying Subtrees dp math probabilities trees Statement E VK Cup 2016 - Round 3 {643} PROGRAMMING VK Cup 2016 — Round 3 — Editorial 2600
1592 Zip-line binary search data structures dp hashing Statement D Codeforces Round 345 (Div. 1) {650} PROGRAMMING Codeforces Round #345: editorial 2600
678 Clockwork Bomb data structures dfs and similar dsu greedy trees Statement E Codeforces Round 345 (Div. 1) {650} PROGRAMMING Codeforces Round #345: editorial 3100
2840 Pursuit For Artifacts dfs and similar dsu graphs trees Statement E Educational Codeforces Round 10 {652} PROGRAMMING Editorial of Educational Codeforces Round 10 2300
2916 Delivery Bears binary search flows graphs Statement D IndiaHacks 2016 - Online Edition (Div. 1 + Div. 2) {653} PROGRAMMING IndiaHacks Finals 2016 — Editorial 2100
1735 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
4245 Дерево data structures trees Statement D Codeforces Round 353 (Div. 2) {675} PROGRAMMING Tutorial 1800
1874 Gifts by the List constructive algorithms dfs and similar graphs trees Statement D Codeforces Round 357 (Div. 2) {681} PROGRAMMING 45425 2100
8066 Alyona and the Tree dfs and similar dp graphs trees Statement C Codeforces Round 358 (Div. 2) {682} PROGRAMMING 45491 1700
5314 Kay and Snowflake data structures dfs and similar dp trees Statement B Codeforces Round 359 (Div. 1) {685} PROGRAMMING Codeforces Round #359 Editorial 2000
4989 Brain Network (medium) dfs and similar graphs trees Statement C2 Helvetic Coding Contest 2016 online mirror (teams, unrated) {690} PROGRAMMING Tutotial 1600
1007 Brain Network (hard) trees Statement C3 Helvetic Coding Contest 2016 online mirror (teams, unrated) {690} PROGRAMMING Tutotial 2200
91 Tree of Life (medium) constructive algorithms hashing trees Statement F2 Helvetic Coding Contest 2016 online mirror (teams, unrated) {690} PROGRAMMING 3000
59 Tree of Life (hard) trees Statement F3 Helvetic Coding Contest 2016 online mirror (teams, unrated) {690} PROGRAMMING Tutotial 3200
6452 Lorenzo Von Matterhorn brute force data structures implementation trees Statement A Codeforces Round 362 (Div. 1) {696} PROGRAMMING Codeforces Round #362 (Editorial) 1500
3794 Puzzles dfs and similar math probabilities trees Statement B Codeforces Round 362 (Div. 1) {696} PROGRAMMING Codeforces Round #362 (Editorial) 1800
626 ...Wait for it... data structures dsu trees Statement E Codeforces Round 362 (Div. 1) {696} PROGRAMMING Codeforces Round #362 (Editorial) 2900
6167 Fix a Tree constructive algorithms dfs and similar dsu graphs trees Statement B Codeforces Round 363 (Div. 1) {698} PROGRAMMING 46148 1700
4631 Connecting Universities dfs and similar dp graphs trees Statement B Codeforces Round 364 (Div. 1) {700} PROGRAMMING 46283 2100
347 Iron Man data structures geometry trees Statement E Codeforces Round 366 (Div. 1) {704} PROGRAMMING Tutorial 3500
12434 Vasiliy's Multiset binary search bitmasks data structures trees Statement D Codeforces Round 367 (Div. 2) {706} PROGRAMMING Tutorial 1800
4334 Centroids data structures dfs and similar dp graphs greedy trees Statement C AIM Tech Round 3 (Div. 1) {708} PROGRAMMING Editorial 2500
9315 Coloring Trees dp Statement C Codeforces Round 369 (Div. 2) {711} PROGRAMMING 46830 1700
2573 Digit Tree dfs and similar divide and conquer dsu trees Statement C Codeforces Round 372 (Div. 1) {715} PROGRAMMING Codeforces Round #372 Editorial 2800
493 Andrew and Chemistry dp hashing trees Statement D Codeforces Round 373 (Div. 1) {718} PROGRAMMING Codeforces Round #373 — Editorial 2900
3344 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
1500 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
520 Uniformly Branched Trees combinatorics dp trees Statement F Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined) {724} PROGRAMMING Tutorial 2800
1295 Drivers Dissatisfaction data structures dsu graphs trees Statement F Codeforces Round 378 (Div. 2) {733} PROGRAMMING Codeforces Round #378 (Div. 2) editorial 2500
5089 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
997 Ostap and Tree dp trees Statement E Codeforces Round 382 (Div. 2) {735} PROGRAMMING Codeforces Round #382 Editorial 2800
5098 Alyona and a tree binary search data structures dfs and similar graphs trees Statement B Codeforces Round 381 (Div. 1) {739} PROGRAMMING 48582 2000
3583 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
4706 Chloe and pleasant prizes dfs and similar dp graphs trees Statement D Codeforces Round 384 (Div. 2) {743} PROGRAMMING Codeforces Round #384 Editorial 1800
1634 New Roads constructive algorithms graphs trees Statement G Codeforces Round 386 (Div. 2) {746} PROGRAMMING Codeforces Round #386 (Div.2) Editorial 2100
711 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
592 New Year and Finding Roots constructive algorithms implementation interactive trees Statement F Good Bye 2016 {750} PROGRAMMING Good Bye 2016 — hints and codes 2700
561 Dasha and cyclic table bitmasks brute force fft strings trees Statement E Codeforces Round 390 (Div. 2) {754} PROGRAMMING 2800
14941 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
646 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
2367 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
478 Tree nesting combinatorics graphs trees Statement F Educational Codeforces Round 17 {762} PROGRAMMING Tutorial 2900
11854 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
551 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
644 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
3453 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
4630 Garland dfs and similar graphs greedy trees Statement C Codeforces Round 398 (Div. 2) {767} PROGRAMMING Codeforces Round #398 (Div. 2) Editorial 2000
402 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
3542 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
219 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
511 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