Doing Homework again Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K…
分类:online judge HDU
HDU 1045 [Fire Net]暴力DFS
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1045 题目大意:有一张图上有墙或空地,放置炮台,同一直线不能放,问最多能放几个炮。 关键思想:暴力DFS,判断是否可放时考…
HDU 2544 最短路
最短路 Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Tot…
HDU 1088 [Write a simple HTML Browser] 字符串处理
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1088 题目大意:给一段网页源文本,要求转换成可视文本。规则:word挤不下就换行,否则正常输出。遇到<br>换…
hdu 5234 Happy birthday 背包 dp
Happy birthday Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://acm.hdu.edu.cn/showproblem.php?p…
HDU 5154 Harry and Magical Computer bfs
Harry and Magical Computer Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/3…
HDU 1198 Farm Irrigation(并查集)
Farm Irrigation Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Jav…
HDU 1038[Biker's Trip Odometer]简单计算
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1038 题目大意:给轮子直径,转数,时间。要求输出走过的距离和时速(mile为单位) 关键思想:纯算 代码如下: #incl…
hdu 5565 Clarke and baton 二分
Clarke and baton Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://acm.hdu.edu.cn/showproblem.php?pid=5565 D…
HDU 3338 Kakuro Extension(最大流)
Kakuro Extension Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Ja…
HDU 5985 Lucky Coins 数学
Lucky Coins 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5985 Description Bob has collected a lot of coins …
HDU 5900 QSC and Master 区间DP
QSC and Master 题目连接: http://acm.split.hdu.edu.cn/showproblem.php?pid=5900 Description Every school has some le…