You must be logged in to edit the categories for this problem

161D - Distance in Tree (Codeforces - VK Cup 2012 Round 1) categories

Category Problems Count
1 Dynamic Programming 1209
2 DFS & BFS & Dijkstra 565
3 trees 202
4 divide and conquer 66
5 Centroid Decomposition 14