CodeForces - 1101D:GCD Counting (树分治)
You are given a tree consisting of n">n">n vertices. A number is written on each vertex; the number ...
You are given a tree consisting of n">n">n vertices. A number is written on each vertex; the number ...