2018年10月29日

In case of failure

摘要: In case of failure http://acm.hdu.edu.cn/showproblem.php?pid=2966 Time Limit: 60000/30000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)To 阅读全文

posted @ 2018-10-29 21:22 Fighting_sh 阅读(270) 评论(0) 推荐(0) 编辑

The Closest M Points

摘要: The Closest M Points http://acm.hdu.edu.cn/showproblem.php?pid=4347 参考博客:https://blog.csdn.net/acdreamers/article/details/44664645#commentBox Time Lim 阅读全文

posted @ 2018-10-29 19:50 Fighting_sh 阅读(191) 评论(0) 推荐(0) 编辑

2018年10月28日

Pocket Cube

摘要: Pocket Cube http://acm.hdu.edu.cn/showproblem.php?pid=5983 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submi 阅读全文

posted @ 2018-10-28 17:23 Fighting_sh 阅读(287) 评论(0) 推荐(0) 编辑

2018年10月27日

善意的投票(最大流)

摘要: 善意的投票 https://www.lydsy.com/JudgeOnline/problem.php?id=1934 Description 幼儿园里有n个小朋友打算通过投票来决定睡不睡午觉。对他们来说,这个问题并不是很重要,于是他们决定发扬谦让精神。虽然每个人都有自己的主见,但是为了照顾一下自己 阅读全文

posted @ 2018-10-27 16:28 Fighting_sh 阅读(198) 评论(0) 推荐(0) 编辑

2018年10月26日

清明梦超能力者黄YY(idx数组)

摘要: 清明梦超能力者黄YY https://www.nowcoder.com/acm/contest/206/I 题目描述 黄YY是一个清明梦超能力者,同时也是一个记忆大师。他能够轻松控制自己在梦中的一切,在醒来之后还能清晰的记得梦中所有的细节,这让他的朋友们都十分羡慕。 又是一个晚上,黄YY又到了自己的 阅读全文

posted @ 2018-10-26 22:49 Fighting_sh 阅读(578) 评论(0) 推荐(0) 编辑

Inside Triangle

摘要: Inside Triangle https://hihocoder.com/contest/hiho225/problem/1 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 Determine i 阅读全文

posted @ 2018-10-26 15:02 Fighting_sh 阅读(233) 评论(0) 推荐(0) 编辑

2018年10月25日

孤岛营救问题(BFS+状压DP)

摘要: 孤岛营救问题 https://www.luogu.org/problemnew/show/P4011 用状压DP标记拿到钥匙的数量 1 #include<iostream> 2 #include<cstring> 3 #include<string> 4 #include<algorithm> 5 阅读全文

posted @ 2018-10-25 23:05 Fighting_sh 阅读(336) 评论(0) 推荐(0) 编辑

餐巾计划问题(费用流)

摘要: 餐巾计划问题 https://www.luogu.org/problemnew/show/P1251 题目描述 一个餐厅在相继的 N 天里,每天需用的餐巾数不尽相同。假设第 i 天需要 ri​块餐巾( i=1,2,...,N)。餐厅可以购买新的餐巾,每块餐巾的费用为 p 分;或者把旧餐巾送到快洗部, 阅读全文

posted @ 2018-10-25 11:43 Fighting_sh 阅读(333) 评论(0) 推荐(0) 编辑

2018年10月24日

Lunch Time(费用流变型题,以时间为费用)

摘要: Lunch Time http://acm.hdu.edu.cn/showproblem.php?pid=4807 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submis 阅读全文

posted @ 2018-10-24 22:14 Fighting_sh 阅读(295) 评论(0) 推荐(0) 编辑

2018年10月23日

Coding Contest(费用流变形题,double)

摘要: Coding Contest http://acm.hdu.edu.cn/showproblem.php?pid=5988 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Su 阅读全文

posted @ 2018-10-23 22:26 Fighting_sh 阅读(409) 评论(0) 推荐(0) 编辑

导航