CodeForces - 1187E Tree Painting【换根DP】
You are given a tree (an undirected connected acyclic graph) consisting of n vertices. You are playing a game on this tree.Initially all vertices are white. On the first turn of the game you choose o...
原创
2019-10-08 09:47:18 ·
270 阅读 ·
0 评论