POJ 1330 LCA+并查集求最近公共祖先

来源:互联网 发布:软件安全保密 编辑:程序博客网 时间:2024/05/15 08:48

Problem:


http://poj.org/problem?id=1330

 

 

my code: