摘要:
BZOJ 1690 假设求出∑a/∑b>L L∑b-∑a<0 => ∑(Lb-a)<0即可说明有比L优的解 可以二分L,∑(Lb-a)<0可以通过Dfs_Spfa找负环 1 #include <cstdio> 2 #include <cstring> 3 using namespace std; 4 阅读全文
posted @ 2016-05-10 22:19 yyjxx2010xyu 阅读(159) 评论(0) 推荐(0)
posted @ 2016-05-10 22:19 yyjxx2010xyu 阅读(159) 评论(0) 推荐(0)