摘要:
题目链接 差分约束系统 注意每人至少一颗糖,所以从S连出去的边边权要为1 注意在输入的时候特判不然会T 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring> 5 #include<cstd 阅读全文
posted @ 2016-02-19 15:59
HugeGun
阅读(182)
评论(1)
推荐(0)
摘要:
题目链接 简单的三分套三分,精度要求也不高,随便玩。。。 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring> 5 #include<cstdio> 6 #include<string> 阅读全文
posted @ 2016-02-19 11:43
HugeGun
阅读(144)
评论(0)
推荐(0)
摘要:
题目链接 题解:http://www.cnblogs.com/jianglangcaijin/p/3443689.html 求逆元还是快速幂好用 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cst 阅读全文
posted @ 2016-02-19 08:11
HugeGun
阅读(179)
评论(0)
推荐(0)
摘要:
题目链接 恶心线段树 既然要翻转我就对0、1分别用一个information结构体存信息,翻转就直接swap 注意标记的优先次序。。。(坑 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstrin 阅读全文
posted @ 2016-02-19 07:38
HugeGun
阅读(369)
评论(0)
推荐(0)

浙公网安备 33010602011771号