Codeforces Round 615 (Div. 3) F. Three Paths on a Tree Hints : Three Paths on a Tree Code : Three Paths on a Tree ToDo : Three Paths on a Tree Comments : Three Paths on a Tree Blog : Three Paths on a Tree