#Balancing

POJ 1655 Balancing Act【树的重心】

TimeLimit:1000MS MemoryLimit:65536KTotalSubmissions:14251 Accepted:6027DescriptionConsideratreeTwithN(1<=N<=20,000)nodesnumbered1...N.Deletingan...