摘要: 题目:https://codeforces.com/contest/1092/problem/D1 https://codeforces.com/contest/1092/problem/D2 https://codeforces.com/contest/1092/problem/E 很有趣的题; 阅读全文
posted @ 2018-12-21 22:35 Zinn 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 题目:https://www.lydsy.com/JudgeOnline/problem.php?id=5120 https://www.luogu.org/problemnew/show/P4003 神奇的费用流建图; 首先,网格图,相邻之间有关系,所以先二分染色一下; 然后发现问题就是染色后黑白 阅读全文
posted @ 2018-12-21 20:45 Zinn 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 题目:https://www.lydsy.com/JudgeOnline/problem.php?id=1070 需要考虑前面修的车对后面等待的车造成的时间增加; 其实可以从每个人修车的顺序考虑,如果这辆车作为最后一辆被一个人修,那么它对后面的车无影响,而每提前一位,影响时间就增加一份; 也就是如果 阅读全文
posted @ 2018-12-21 12:12 Zinn 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 题目:https://www.lydsy.com/JudgeOnline/problem.php?id=4066 https://www.lydsy.com/JudgeOnline/problem.php?id=2683 高仿:https://www.cnblogs.com/Narh/p/96055 阅读全文
posted @ 2018-12-21 00:28 Zinn 阅读(161) 评论(0) 推荐(0) 编辑