上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 24 下一页
摘要: 1001 Abandoned country 先做最小生成树(边权不同保证唯一)。 然后打牌一下sz,单边贡献为边权乘两头sz积。 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <vector> 5 阅读全文
posted @ 2016-07-21 21:26 Aguin 阅读(243) 评论(0) 推荐(1) 编辑
摘要: 7.17 HDU 5456 Matches Puzzle Game 没有最丑只有更丑。 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <algorithm> 5 using namespace st 阅读全文
posted @ 2016-07-17 23:03 Aguin 阅读(201) 评论(0) 推荐(1) 编辑
摘要: 假装自己复活辣。 7.10 CF 689 D Friends and Subsequences 二分。 1 #include <iostream> 2 #include <cstdio> 3 #include <algorithm> 4 using namespace std; 5 typedef 阅读全文
posted @ 2016-07-10 15:55 Aguin 阅读(173) 评论(1) 推荐(0) 编辑
摘要: 最近状态超差。省赛惶恐。 强行插队的后果就是主刀沉迷考研副刀沉迷英语辅助沉迷力学。 趁着马上到来的公费旅游调养一下生息。然而马上要考试了。 5.7 xdu 1158 Orz Fatality 不是很懂数学。 1 #include <iostream> 2 #include <cstdio> 3 us 阅读全文
posted @ 2016-05-07 20:43 Aguin 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 诈个尸。 1.飞行员配对方案问题 二分图匹配。 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <algorithm> 5 #include <queue> 6 using namespace std 阅读全文
posted @ 2016-04-15 19:29 Aguin 阅读(552) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 24 下一页