![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
POJ
文章平均质量分 67
SindarDawn
QZOIer,FTCer,UESTC ACMer,梦想成为大神的Yuta
展开
-
poj1182 食物链[并查集]
食物链 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 65279 Accepted: 19216 Description动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到原创 2016-10-24 15:36:19 · 417 阅读 · 0 评论 -
POJ1330 Nearest Common Ancestors[LCA]
Nearest Common Ancestors Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 26637 Accepted: 13746 DescriptionA rooted tree is a well-known data structure in computer science and原创 2016-10-17 14:07:12 · 349 阅读 · 0 评论