这是用树形并查集的:时间上也不会很好看。。更别说用链表了0..
题目编号:331-家族 查看该题
状态: Accepted
测评机: Xeond[6]
得分: 100分
提交日期: 2008-8-27 15:12:00
有效耗时: 1576毫秒
测试结果1: 通过本测试点|有效耗时171:ms
测试结果2: 通过本测试点|有效耗时46:ms
测试结果3: 通过本测试点|有效耗时46:ms
测试结果4: 通过本测试点|有效耗时156:ms
测试结果5: 通过本测试点|有效耗时172:ms
测试结果6: 通过本测试点|有效耗时172:ms
测试结果7: 通过本测试点|有效耗时203:ms
测试结果8: 通过本测试点|有效耗时203:ms
测试结果9: 通过本测试点|有效耗时204:ms
测试结果10: 通过本测试点|有效耗时203:ms
这是用树形并查集的