Rikka with Minimum Spanning Trees

Problem Name:
Rikka with Minimum Spanning Trees
Site:CodeForces
Links:
Tags:
Problem setters: