
网络流
文章平均质量分 68
czdb
这个作者很懒,什么都没留下…
展开
-
Sentry Robots UVA - 12549 (最小点覆盖,网络流)
题目链接:点击打开链接 题目大意:懒得说了 题目思路:看题目的的问法,我们很容易想到是最小点覆盖或者边覆盖的问题,我们可以发现对于某个重要的点(x,y),只用x,y其中一个点备选中就行,是不是发现了,就是最小点覆盖的定义:求最小数量的点,使得包括每条边的至少一个端点,所以,我们对于每一个重要位置的左边,根据行列建图,从x联向y,容量为1,然后求最小点覆盖,但是这里还有一个地方就是会有障碍点原创 2017-10-08 14:49:28 · 354 阅读 · 0 评论 -
Tile Cut(2018湖南第三次多校,K题,网络流拆点)
Problem K — limit 10 seconds Tile Cut When Frodo, Sam, Merry, and Pippin are at the Green Dragon Inn drinking ale, they like to play a little game with parchment and pen to decide who buys the next...原创 2018-04-17 15:34:49 · 328 阅读 · 0 评论 -
2018 ACM-ICPC 中国大学生程序设计竞赛线上赛 F.Clever King(最大权闭合子图)
Description: In order to increase the happiness index of people's lives, King Y has decided to develop the manufacturing industry vigorously. There are total n kinds of products that King can choose ...原创 2018-05-08 14:04:56 · 383 阅读 · 0 评论