HDU
不想悲伤到天明
这个作者很懒,什么都没留下…
展开
-
一人的旅行(HDU2066)
Problem Description 虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中 会遇见很多人(白马王子,^0^),很多事,还能丰富自己的阅历,还可以看美丽的风景……草儿想去很多地方,她想要去东京铁塔看夜景,去威尼斯看电影,去阳明山上看海芋,去纽约纯粹看雪景,去巴黎喝咖啡写信,去北京探望孟姜女……眼看寒假就快到了,这么一大段时...原创 2018-08-02 20:08:09 · 102 阅读 · 0 评论 -
最短路径问题 HDU - 3790
最短路径问题 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 37191 Accepted Submission(s): 10911 Problem D...原创 2018-11-14 20:36:50 · 124 阅读 · 0 评论 -
Color the ball HDU - 1556 (差分前缀和)
题解: 用到差分数组和差分数组的前缀和. #include <iostream> #include <cstdio> #include <algorithm> #include <cmath> #include <set> #include <cstring> #include <stack>原创 2019-02-07 13:43:35 · 368 阅读 · 0 评论 -
Revenge of Segment Tree(思维)
Revenge of Segment Tree Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1796 Accepted Submission(s): 666 Problem Descr...原创 2019-02-21 20:37:37 · 129 阅读 · 0 评论 -
FatMouse's Speed HDU - 1160 (线性dp)
FatMouse's Speed FatMouse believes that the fatter a mouse is, the faster it runs. To disprove this, you want to take the data on a collection of mice...原创 2019-02-11 10:44:23 · 213 阅读 · 0 评论 -
To the Max POJ - 1050
Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the whole array. The sum of a rectangle is the sum of...原创 2019-02-11 15:58:41 · 269 阅读 · 0 评论 -
最少拦截系统 HDU - 1257 (贪心+LIS)
最少拦截系统 某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还在试用阶段,所以只有一套系统,因此有可能不能拦截所有的导弹. 怎么办呢?多搞几套系统...原创 2019-02-11 21:51:30 · 310 阅读 · 0 评论