随笔分类 -  并查集

摘要:题目链接:https://www.patest.cn/contests/gplt/L2-007 阅读全文
posted @ 2017-04-05 16:30 爱记录一切美好的微笑 阅读(106) 评论(0) 推荐(0)
摘要:Description New Year is coming in Line World! In this world, there are n cells numbered by integers from 1 to n, as a 1 × n board. People live in cell 阅读全文
posted @ 2016-08-04 21:00 爱记录一切美好的微笑 阅读(304) 评论(0) 推荐(0)
摘要:poj 1182 食物链 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 62711 Accepted: 18404 Description 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C 阅读全文
posted @ 2016-08-01 10:50 爱记录一切美好的微笑 阅读(244) 评论(0) 推荐(0)