You must be logged in to add problems to this category

trees problems
Problem Name Online Judge Year Contest Difficulty Level
1 Party Categories Codeforces Codeforces Beta Round #87 (Div. 1 Only) & Codeforces Beta Round #87 (Div. 2 Only) 1
2 Chocolate Categories SPOJ 1
3 Nice Binary Trees Categories SPOJ 1
4 Pashmak and Garden Categories Codeforces Codeforces Round #261 (Div. 2) 1
5 Longest path in a tree Categories SPOJ 1
6 Kefa and Park Categories Codeforces Codeforces Round #321 (Div. 2) 1
7 k-Tree Categories Codeforces Codeforces Round #247 (Div. 2) 1
8 Xenia and Bit Operations Categories Codeforces Codeforces Round #197 (Div. 2) 1
9 Binary Search Tree Categories UVA 2
10 Tree _order Categories SPOJ 2
11 Journey Categories Codeforces Codeforces Round #428 (Div. 2) 2
12 Xor-tree Categories Codeforces Codeforces Round #245 (Div. 1) & Codeforces Round #245 (Div. 2) 2
13 Reposts Categories Codeforces VK Cup 2015 - Qualification Round 1 2
14 Bear and Forgotten Tree 3 Categories Codeforces VK Cup 2016 - Round 1 2
15 Fibonacci System Categories Live Archive 2008 Europe - Northeastern 2
16 Timofey and a tree Categories Codeforces Codeforces Round #395 (Div. 1) & Codeforces Round #395 (Div. 2) 2
17 Anton and Making Potions Categories Codeforces Codeforces Round #379 (Div. 2) 3
18 Choosing Capital for Treeland Categories Codeforces Codeforces Round #135 (Div. 2) 3
19 Distance in Tree Categories Codeforces VK Cup 2012 Round 1 3
20 Valera and Elections Categories Codeforces Codeforces Round #216 (Div. 2) 3
21 AVL Tree Categories SPOJ 3
22 Misha and Forest Categories Codeforces Codeforces Round #285 (Div. 2) & Codeforces Round #285 (Div. 1) 3
23 Alyona and the Tree Categories Codeforces Codeforces Round #358 (Div. 2) 3
24 Vasiliy's Multiset Categories Codeforces Codeforces Round #367 (Div. 2) 3
25 Ants Colony Categories UVA 3
26 Interesting Array Categories Codeforces Codeforces Round #275 (Div. 1) & Codeforces Round #275 (Div. 2) 3
27 Okabe and Boxes Categories Codeforces Codeforces Round #420 (Div. 2) 3
28 Ciel the Commander Categories Codeforces Codeforces Round #190 (Div. 1) & Codeforces Round #190 (Div. 2) 4
29 New Year Santa Network Categories Codeforces Good Bye 2014 4
30 Xenia and Tree Categories Codeforces Codeforces Round #199 (Div. 2) 4
31 A Lot of Games Categories Codeforces Codeforces Round #260 (Div. 1) & Codeforces Round #260 (Div. 2) 4
32 Vessels Categories Codeforces Codeforces Round #218 (Div. 2) 4
33 Zero Tree Categories Codeforces Codeforces Round #168 (Div. 1) & Codeforces Round #168 (Div. 2) 4
34 Design Tutorial: Inverse the Problem Categories Codeforces Codeforces Round #270 4
35 A and B and Lecture Rooms Categories Codeforces Codeforces Round #294 (Div. 2) 4
36 Tree Construction Categories Codeforces Codeforces Round #353 (Div. 2) 4
37 Closest distance Categories SPOJ 4
38 Tree Requests Categories Codeforces Codeforces Round #316 (Div. 2) 4
39 Book of Evil Categories Codeforces Codeforces Round #196 (Div. 2) & Codeforces Round #196 (Div. 1) 4
40 Chloe and pleasant prizes Categories Codeforces Codeforces Round #384 (Div. 2) 4
41 Eternal Victory Categories Codeforces Codeforces Beta Round #57 (Div. 2) 4
42 Propagating tree Categories Codeforces Codeforces Round #225 (Div. 1) & Codeforces Round #225 (Div. 2) 4
43 Roads not only in Berland Categories Codeforces Codeforces Beta Round #25 (Div. 2 Only) 4
44 Count Minimum Spanning Trees Categories SPOJ 4
45 Appleman and Tree Categories Codeforces Codeforces Round #263 (Div. 1) & Codeforces Round #263 (Div. 2) 4
46 Alyona and a tree Categories Codeforces Codeforces Round #381 (Div. 1) & Codeforces Round #381 (Div. 2) 4
47 Lomsat gelral Categories Codeforces Educational Codeforces Round 2 4
48 Enemy is weak Categories Codeforces Codeforces Beta Round #57 (Div. 2) 4
49 Garland Categories Codeforces Codeforces Round #398 (Div. 2) 4
50 Ilya And The Tree Categories Codeforces Codeforces Round #430 (Div. 2) 4
51 Civilization Categories Codeforces Codeforces Round #260 (Div. 1) & Codeforces Round #260 (Div. 2) 4
52 Connecting Universities Categories Codeforces Codeforces Round #364 (Div. 1) & Codeforces Round #364 (Div. 2) 4
53 Fools and Roads Categories Codeforces Codeforces Round #121 (Div. 1) & Codeforces Round #121 (Div. 2) 4
54 4-point polyline Categories Codeforces MemSQL Start[c]UP 2.0 - Round 1 5
55 Duff in the Army Categories Codeforces Codeforces Round #326 (Div. 1) & Codeforces Round #326 (Div. 2) 5
56 An overnight dance in discotheque Categories Codeforces Codeforces Round #418 (Div. 2) 5
57 Dungeons and Candies Categories Codeforces Zepto Code Rush 2014 5
58 Two Paths Categories Codeforces Codeforces Beta Round #14 (Div. 2) 5
59 Super M Categories Codeforces Codeforces Round #328 (Div. 2) 5
60 Vasya and a Tree Categories Codeforces Educational Codeforces Round 54 (Rated for Div. 2) 5
61 Misha, Grisha and Underground Categories Codeforces Codeforces Round #425 (Div. 2) 5
62 Minimum spanning tree for each edge Categories Codeforces Educational Codeforces Round 3 5
63 Blood Cousins Categories Codeforces Codeforces Round #130 (Div. 2) 5
64 Spiders Categories Codeforces School Regional Team Contest, Saratov, 2011 5
65 Water Tree Categories Codeforces Codeforces Round #200 (Div. 1) 5
66 Valid Sets Categories Codeforces Codeforces Round #277 (Div. 2) 5
67 Pillars Categories Codeforces Codeforces Round #271 (Div. 2) 5
68 Count on a Treap Categories CodeChef 5
69 Lucky Tree Categories Codeforces Codeforces Beta Round #84 (Div. 1 Only) & Codeforces Beta Round #84 (Div. 2 Only) 5
70 Running Track Categories Codeforces Codeforces Round #338 (Div. 2) 5
71 Cutting Figure Categories Codeforces Codeforces Round #122 (Div. 1) & Codeforces Round #122 (Div. 2) 5
72 Kay and Snowflake Categories Codeforces Codeforces Round #359 (Div. 1) & Codeforces Round #359 (Div. 2) 5
73 Tree and Queries Categories Codeforces Codeforces Round #221 (Div. 1) 5
74 Petr# Categories Codeforces Codeforces Beta Round #86 (Div. 1 Only) & Codeforces Beta Round #86 (Div. 2 Only) 5
75 Sausage Maximization Categories Codeforces Codeforces Round #173 (Div. 2) 5
76 Exposition Categories Codeforces Codeforces Beta Round #6 (Div. 2 Only) 5
77 Hamiltonian Spanning Tree Categories Codeforces Wunder Fund Round 2016 (Div. 1 + Div. 2 combined) 6
78 Information Graph Categories Codeforces Codeforces Round #266 (Div. 2) 6
79 New Year Tree Categories Codeforces Good Bye 2013 6
80 Avoiding a disaster Categories A2 Online Judge 6
81 Road Improvement Categories Codeforces Codeforces Round #302 (Div. 1) 6
82 Invariance of Tree Categories Codeforces Codeforces Round #319 (Div. 1) & Codeforces Round #319 (Div. 2) 6
83 WTF? Categories Codeforces April Fools Day Contest 2013 6
84 Gifts by the List Categories Codeforces Codeforces Round #357 (Div. 2) 6
85 Ants in Leaves Categories Codeforces Educational Codeforces Round 7 6
86 Work Group Categories Codeforces VK Cup 2015 - Round 2 (unofficial online mirror, Div. 1 only) 6
87 Karen and Supermarket Categories Codeforces Codeforces Round #419 (Div. 1) & Codeforces Round #419 (Div. 2) 6
88 Apple Tree Categories Codeforces Codeforces Round #202 (Div. 1) & Codeforces Round #202 (Div. 2) 6
89 Mahmoud and a xor trip Categories Codeforces Codeforces Round #396 (Div. 2) 6
90 Demiurges Play Again Categories Codeforces Codeforces Round #300 6
91 Game on Tree Categories Codeforces Codeforces Round #172 (Div. 1) & Codeforces Round #172 (Div. 2) 6
92 On Changing Tree Categories Codeforces Codeforces Round #232 (Div. 1) & Codeforces Round #232 (Div. 2) 6
93 Ant on the Tree Categories Codeforces Codeforces Beta Round #29 (Div. 2, Codeforces format) 6
94 Caisa and Tree Categories Codeforces Codeforces Round #264 (Div. 2) 6
95 Infinite Inversions Categories Codeforces Codeforces Round #301 (Div. 2) 6
96 Hill Climbing Categories Codeforces Codeforces Round #238 (Div. 1) 7
97 Black and White Tree Categories Codeforces Codeforces Round #158 (Div. 2) 7
98 Paint Tree Categories Codeforces Codeforces Round #124 (Div. 1) & Codeforces Round #124 (Div. 2) 7
99 Bribes Categories Codeforces Bubble Cup 8 - Finals [Online Mirror] 7
100 Beavermuncher-0xFF Categories Codeforces Codeforces Beta Round #69 (Div. 1 Only) & Codeforces Beta Round #69 (Div. 2 Only) 7
101 Peterson Polyglot Categories Codeforces Codeforces Round #402 (Div. 1) & Codeforces Round #402 (Div. 2) 7
102 Pursuit For Artifacts Categories Codeforces Educational Codeforces Round 10 7
103 Little Elephant and Tree Categories Codeforces Codeforces Round #157 (Div. 1) 7
104 Ksenia and Pawns Categories Codeforces Codeforces Round #224 (Div. 2) 7
105 Case of Computer Network Categories Codeforces Codeforces Round #310 (Div. 1) 7
106 Ralph And His Tour in Binary Country Categories Codeforces Codeforces Round #447 (Div. 2) 7
107 Cactus Categories Codeforces Codeforces Round #143 (Div. 2) 7
108 Beard Graph Categories Codeforces Codeforces Round #112 (Div. 2) 7
109 Happy Tree Party Categories Codeforces Codeforces Round #329 (Div. 2) 7
110 Guess the Tree Categories Codeforces Codeforces Round #245 (Div. 1) & Codeforces Round #245 (Div. 2) 7
111 Little Girl and Problem on Trees Categories Codeforces Codeforces Round #169 (Div. 2) 7
112 Road Improvement Categories Codeforces VK Cup 2016 - Qualification Round 2 7
113 Old Berland Language Categories Codeforces Codeforces Beta Round #37 7
114 New Roads Categories Codeforces Codeforces Round #386 (Div. 2) 7
115 Ann and Half-Palindrome Categories Codeforces Codeforces Round #311 (Div. 2) 7
116 World Eater Brothers Categories Codeforces Codeforces Round #148 (Div. 1) & Codeforces Round #148 (Div. 2) 7
117 Inna and Sequence Categories Codeforces Codeforces Round #220 (Div. 2) 7
118 Divisor Tree Categories Codeforces Codeforces Round #196 (Div. 2) & Codeforces Round #196 (Div. 1) 7
119 Iahub and Xors Categories Codeforces Codeforces Round #198 (Div. 1) 7
120 Treeland Tour Categories Codeforces Codeforces Round #279 (Div. 2) 7
121 Blood Cousins Return Categories Codeforces Codeforces Round #151 (Div. 2) 7
122 Famil Door and Roads Categories Codeforces Codeforces Round #343 (Div. 2) 7
123 Bear and Drawing Categories Codeforces Codeforces Round #318 [RussianCodeCup Thanks-Round] (Div. 1) & Codeforces Round #318 [RussianCodeCup Thanks-Round] (Div. 2) 7
124 Acyclic Organic Compounds Categories Codeforces Codeforces Round #333 (Div. 1) 7
125 Tree Categories A2 Online Judge 7
126 Gift Categories Codeforces All-Ukrainian School Olympiad in Informatics 7
127 Big Maximum Sum Categories Codeforces Codeforces Beta Round #67 (Div. 2) 7
128 Beautiful Road Categories Codeforces Codeforces Beta Round #73 (Div. 1 Only) 8
129 Birthday Categories Codeforces Codeforces Round #282 (Div. 1) 8
130 Magic Matrix Categories Codeforces Educational Codeforces Round 9 8
131 Arpa’s letter-marked tree and Mehrdad’s Dokhtar-kosh paths Categories Codeforces Codeforces Round #383 (Div. 1) 8
132 Drazil and Morning Exercise Categories Codeforces Codeforces Round #292 (Div. 1) 8
133 e-Government Categories Codeforces VK Cup 2012 Round 2 8
134 The Chocolate Spree Categories Codeforces Manthan, Codefest 16 8
135 Scheme Categories Codeforces Codeforces Beta Round #22 (Div. 2 Only) 8
136 Close Vertices Categories Codeforces Croc Champ 2013 - Round 2 8
137 Preorder Test Categories Codeforces 8VC Venture Cup 2016 - Final Round 8
138 Choosing Subtree is Fun Categories Codeforces Codeforces Round #219 (Div. 1) 8
139 Castle Categories Codeforces Codeforces Beta Round #79 (Div. 1 Only) 8
140 Adam and Tree Categories Codeforces Codeforces Round #253 (Div. 1) 8
141 IT Restaurants Categories Codeforces VK Cup 2012 Finals (unofficial online-version) 8
142 Kingdom and its Cities Categories Codeforces Codeforces Round #339 (Div. 1) 8
143 Petya and Tree Categories Codeforces Yandex.Algorithm 2011 Round 1 8
144 Tourists Categories Codeforces Codeforces Round #278 (Div. 1) 8
145 Thwarting Demonstrations Categories Codeforces Codeforces Round #121 (Div. 1) 8
146 Shaass the Great Categories Codeforces Codeforces Round #178 (Div. 2) 8
147 Archaeology Categories Codeforces Croc Champ 2012 - Round 2 8
148 DZY Loves Planting Categories Codeforces Codeforces Round #254 (Div. 1) 8
149 Genetic engineering Categories Codeforces Yandex.Algorithm 2011 Round 2 8
150 Matching Names Categories Codeforces VK Cup 2015 - Finals, online mirror 8
151 Zublicanes and Mumocrates Categories Codeforces Codeforces Round #322 (Div. 2) 8
152 Balance Categories Codeforces Codeforces Round #188 (Div. 1) & Codeforces Round #188 (Div. 2) 8
153 Polo the Penguin and Trees Categories Codeforces Codeforces Round #177 (Div. 1) 8
154 Singer House Categories Codeforces Codeforces Round #424 (Div. 1, rated, based on VK Cup Finals) 9
155 Big Problems for Organizers Categories Codeforces RCC 2014 Warmup (Div. 1) 9
156 Pastoral Oddities Categories Codeforces Codeforces Round #334 (Div. 1) 9
157 Clockwork Bomb Categories Codeforces Codeforces Round #345 (Div. 1) 9
158 Noble Knight's Path Categories Codeforces Codeforces Round #140 (Div. 1) 9
159 Caterpillar Categories Codeforces Codeforces Beta Round #48 9
160 Berland Federalization Categories Codeforces Testing Round #10 9
161 Timofey and a flat tree Categories Codeforces Codeforces Round #395 (Div. 1) 9
162 Pairs Categories Codeforces Yandex.Algorithm Open 2011 Qualification 1 9
163 Maze Categories Codeforces Codeforces Beta Round #92 (Div. 1 Only) 9
164 Tavas on the Path Categories Codeforces Codeforces Round #299 (Div. 1) 9
165 Surprise me! Categories Codeforces Codeforces Round #415 (Div. 1) 9
166 Freezing with Style Categories Codeforces Codeforces Round #107 (Div. 1) 9
167 Information Reform Categories Codeforces Codeforces Beta Round #64 9
168 Arkady and a Nobody-men Categories Codeforces Codeforces Round #434 (Div. 1, based on Technocup 2018 Elimination Round 1) 9
169 Alien DNA Categories Codeforces Codeforces Round #134 (Div. 1) 9
170 Garden Categories Codeforces Codeforces Round #108 (Div. 2) 9
171 Pilgrims Categories Codeforces Codeforces Round #202 (Div. 1) 9
172 Random Function and Tree Categories Codeforces Codeforces Round #275 (Div. 1) 9
173 Fox And Travelling Categories Codeforces Codeforces Round #290 (Div. 1) 9
174 Logistical Questions Categories Codeforces VK Cup 2015 - Finals, online mirror 10
175 Perpetual Motion Machine Categories Codeforces Codeforces Round #424 (Div. 1, rated, based on VK Cup Finals) 10
176 Berland Miners Categories Codeforces VK Cup 2015 - Round 2 (unofficial online mirror, Div. 1 only) 10
177 Tree and XOR Categories Codeforces Mail.Ru Cup 2018 Round 2 10
178 Galaxy Union Categories Codeforces School Personal Contest #3 (Winter Computer School 2010/11) - Codeforces Beta Round #45 (ACM-ICPC Rules) 10
179 Tree and Table Categories Codeforces Codeforces Round #153 (Div. 1) 10
180 Nikita and game Categories Codeforces Codeforces Round #430 (Div. 2) 10
181 Tree or not Tree Categories Codeforces Codeforces Beta Round #88 10
182 ELCA Categories Codeforces Codeforces Round #275 (Div. 1) 10
183 Leaders Categories Codeforces Yandex.Algorithm 2011 Finals 10
184 Restoring Map Categories Codeforces VK Cup 2015 - Finals, online mirror 10
185 Restore the Tree Categories Codeforces Codeforces Round #440 (Div. 1, based on Technocup 2018 Elimination Round 2) 10
186 Escaping on Beaveractor Categories Codeforces ABBYY Cup 3.0 - Finals (online version) 10
187 Help King Categories Codeforces Codeforces Beta Round #78 (Div. 1 Only) & Codeforces Beta Round #78 (Div. 2 Only) 10
188 New Year Running Categories Codeforces Good Bye 2014 10
189 Iron Man Categories Codeforces Codeforces Round #366 (Div. 1) 10
190 Mirror Box Categories Codeforces Codeforces Round #320 (Div. 1) [Bayan Thanks-Round] 10
191 An easy problem about trees Categories Codeforces MemSQL Start[c]UP 2.0 - Round 2 10
192 In a Trap Categories Codeforces Codeforces Round #429 (Div. 1) 10
193 Red-Black Cobweb Categories Codeforces Codeforces Round #426 (Div. 1) 10
194 Island Puzzle Categories Codeforces 8VC Venture Cup 2016 - Final Round 10
195 Campus Categories Codeforces Codeforces Round #317 [AimFund Thanks-Round] (Div. 1) 10
196 Sloth Categories Codeforces Codeforces Round #446 (Div. 1) 10
197 Misha and LCP on Tree Categories Codeforces Codeforces Round #285 (Div. 1) 10
198 Rap God Categories Codeforces Codeforces Round #406 (Div. 1) 10
199 Spiders Evil Plan Categories Codeforces ZeptoLab Code Rush 2015 10
200 Furukawa Nagisa's Tree Categories Codeforces Codeforces Round #248 (Div. 1) 10
201 ALT Categories Codeforces Codeforces Round #406 (Div. 1) 10
202 Bear and Chemistry Categories Codeforces VK Cup 2016 - Round 1 10