
最大流
oopslb
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
hdu4292food
Food Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 6626 Accepted Submission(s): 2250 Problem Description You, a part-time dining原创 2018-01-24 11:42:18 · 172 阅读 · 0 评论 -
2018牛客多校五 room (最小费用最大流)
https://www.nowcoder.com/acm/contest/143/E 题意:有n个寝室,每个寝室有四个人,给你第一年和第二年住在一个寝室的人,问要让第一年变成第二年的样子最少需要多少学生换。 思路:把一个寝室当成两个点来看,分别为第一年和第二年的,然后暴力跑每个寝室这两年的学生不一样的个数乘2当做费用,然后用最小费用最大流做 代码: #include<bits/std...原创 2018-08-04 16:40:54 · 212 阅读 · 0 评论 -
UVA753 A Plug for UNIX
C - A Plug for UNIX You are in charge of setting up the press room for the inaugural meeting of the United Nations Internet eXecutive (UNIX), which has an international mandate to make the f原创 2018-01-25 21:20:43 · 237 阅读 · 0 评论 -
hdu3416Marriage Match IV
Marriage Match IV Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4780 Accepted Submission(s): 1432 Problem Description Do not since原创 2018-01-26 21:13:13 · 163 阅读 · 0 评论 -
hdu3605Escape
Escape Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 11707 Accepted Submission(s): 2847 Problem Description 2012 If this is the en原创 2018-01-26 20:23:00 · 158 阅读 · 0 评论 -
hdu2732 Leapin' Lizards
Leapin' Lizards Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3289 Accepted Submission(s): 1352 Problem Description Your platoon o原创 2018-01-26 20:18:58 · 237 阅读 · 0 评论 -
hdu4289Control
Control Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3935 Accepted Submission(s): 1648 Problem Description You, the head of Dep原创 2018-01-26 20:08:19 · 162 阅读 · 0 评论 -
poj1459Power Network
Power Network Time Limit: 2000MS Memory Limit: 32768K Total Submissions: 29460 Accepted: 15278 Description A power network consists of nodes (power stations, consum原创 2018-01-26 20:02:20 · 230 阅读 · 0 评论 -
hdu3081Marriage Match II
Marriage Match II Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4550 Accepted Submission(s): 1506 Problem Description Presumably,原创 2018-01-26 19:52:16 · 197 阅读 · 0 评论 -
uva10480Sabotage
The regime of a small but wealthy dictatorship has been abruptly overthrown by an unexpected rebellion. Because of the enormous disturbances this is causing in world economy, an imperialist military s原创 2018-01-26 19:47:12 · 274 阅读 · 4 评论 -
hdu4280Island Transport
Island Transport Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 10240 Accepted Submission(s): 3292 Problem Description In the v原创 2018-01-25 21:30:55 · 187 阅读 · 0 评论 -
poj2516
Minimum Cost Time Limit: 4000MS Memory Limit: 65536K Total Submissions: 17761 Accepted: 6243 Description Dearboy, a goods victualer, now comes to a big problem, and原创 2018-01-25 21:28:51 · 163 阅读 · 0 评论 -
hdu1533Going Home
第五次入围!——我校晋级第42届ACM国际大学生程序设计竞赛全球总决赛 Going Home Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 6139 Accepted Submission(s): 32原创 2018-01-25 21:24:13 · 196 阅读 · 0 评论 -
poj3281Dining
Dining Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 20254 Accepted: 9009 Description Cows are such finicky eaters. Each cow has a preference for certa原创 2018-01-25 13:09:47 · 168 阅读 · 0 评论 -
poj3436ACM Computer Factory
ACM Computer Factory Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8672 Accepted: 3155 Special Judge Description As you know, all the computers use原创 2018-01-25 13:03:25 · 215 阅读 · 0 评论 -
hdu 6437 Problem L.Videos (最小费用最大流)
http://acm.hdu.edu.cn/showproblem.php?pid=6437 题意: 一天有N个小时,有m个节目(每种节目都有类型),有k个人,连续看相同类型的节目会扣w快乐值 每一种节目有都一个播放区间[s,t]。每个人同一时间只能看一个节目,看完可以获得快乐值。问最多可以获得多少快乐? 思路: 我们可以将每部电影拆成两个点来看,建立源点和汇点,还有次源点,因为要...原创 2018-08-25 19:40:49 · 177 阅读 · 0 评论