POJ 3310 Caterpillar
Description: An undirected graph is called a caterpillar if it is connected, has no cycles, and there is a path in the graph where every node is either on this path or a neighbor of a node on the path.
原创
2017-10-12 15:07:44 ·
388 阅读 ·
0 评论