Codeforces 739B Alyona and a tree (树上差分+二分)
D. Alyona and a treetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAlyona has a tree with n vertices. The