ACM-tarjan-lca
fzw_captain
hold on tight
展开
-
POJ 1470 Closest Common Ancestors
Closest Common Ancestors Description Write a program that takes as input a rooted tree and a list of pairs of vertices. For each pair (u,v) the program determines the closest common ancestor of原创 2015-06-18 19:39:06 · 337 阅读 · 0 评论 -
POJ 3694 Network
Network Time Limit: 5000MS Memory Limit: 65536K Description A network administrator manages a large network. The network consists of N computers and M links between pairs of computers. Any pair o原创 2015-08-06 21:01:10 · 319 阅读 · 0 评论