爱情中有人哭有人笑,哭有哭的伤心,笑有笑的美好但愿彼此流下美好的,哭如果是伤心的但愿彼此流下美好的,哭如果是伤心的那也要期待笑的临了,笑如果是美好的那就保持住这一刻虽然是一刻但也是彼此拥有的不管未来如此的迷茫和缭乱至少还有彼此一刻可以留恋,当我们多已经老去的时候,也许有天在晒太阳时,你会突然的想起,生命中还有一个我让你哭让你笑让你爱让你恨那时也许我也在另外的地方回忆着你世界有没有对和错,没有错过很
转载
2010-01-07 21:58:23
338阅读
发现了个很适合做背景音乐的钢琴曲哦
名字超级喜欢
叫kiss the rain
rain工作累了的时候可以听一听哦
转载
2007-10-24 14:41:00
112阅读
注解本身没有功能的,就和 xml 一样。注解和 xml 都是一种元数据,元数据即解释数据的数据,这就是所谓配置。本文主要罗列 Spring|Spring MVC相关注解的简介。Spring部分1、声明bean的注解@Component 组件,没有明确的角色@Service 在业务逻辑层使用(service层)@Repository 在数据访问层使用(dao层)@Controller 在展现层使用,
Spring OXM简介O/X Mapping 是什么? Spring 3.0 的一个新特性是 O/X Mapper。然而O/X Mapping并不是新鲜的事物,Spring也是调用了第三方的O/X Mapping框架来完成他本身的工作。O=Object,X=XML,也就是对象与XML的映射器(转换器)。编组和解组 进行 O/X 映射时,您经常会看到编组(marshalling)和解组(unm
转载
2024-03-20 16:48:00
49阅读
another classic problem. use double direction two pointers. class ...
转载
2020-09-13 23:00:00
84阅读
2评论
another classic problem. use double direction two pointers. class ...
转载
2020-09-13 23:00:00
45阅读
2评论
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
转载
2014-11-25 17:23:00
61阅读
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.For example,Given [0,1,0,2,1,0,1,3,2,1,2,1], retur
原创
2014-01-09 04:18:55
433阅读
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
转载
2014-08-15 09:38:00
48阅读
2评论
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.For example, Given [0,1,0,2,1,
原创
2015-09-15 09:37:49
371阅读
题目 Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raini
原创
2021-08-07 09:45:20
90阅读
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.For example,Given[0,1,0,2,1,0,1,3,2,1,2,1], return6.The above elevation map is represented by array [0,1,0,2,1,0,1,3,2,1,2,1]. In this case, 6 units of
转载
2013-10-11 11:58:00
86阅读
2评论
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
原创
2021-08-07 11:53:32
140阅读
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
转载
2014-07-03 21:47:00
72阅读
2评论
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
转载
2014-06-26 14:36:00
132阅读
HDU_3340
这个题目要查询一个区间内的面积和,很容易联想到用线段树去做,但关键的问题在于由于有添加一个多边形的操作,那么我们如何下传标记去修改一个区间的面积和?
由于涉及到下传标记就涉及到标记叠加,因此我们要设法把面积的增量转化成用可以叠加的标记进行计算的形式。
在计算几何求面积的时候有一种方法是转换成梯形的有向面积累加计算,而梯形的面积主要取决于两个底和高的长度。对
转载
2012-04-13 23:34:00
94阅读
最近学习+工作的日子辛苦你了,看着你有些憔悴的样子心疼却又帮不上忙,如果你选择cz的话,我想家里人应该也会支持吧,我当然是会全力以赴支持的。如果有多种理由让你不能做出这样的选择的话,那只能在现有基础上尽量压缩减少工作内容,积极调动群众的力量了,不是很了解你的工作内容,不过相信事物只要动脑筋想想的话,都会有一些可以改进的地方。和领导谈一下带个新手培养一个接班人什么的也应该算是一件利国利民的事吧。不过
转载
2008-04-02 14:45:00
69阅读
2评论
Given n non-negative integers representing an elevation map whe
原创
2023-07-26 16:47:15
64阅读
这道题做的比较艰辛,一开始自己想的是一个用stack的解法,感觉过于繁琐(出栈,入栈,计算容积),但未尝不是一个好的尝试,这个方法还是有点小问题,过后会好好想清楚。看了网上提示完成了最终的方法,这个方法两次遍历数组,第一次遍历找每个元素右边最大的元素,第二次遍历寻找每个元素左边最大的元素,同时计算该
转载
2014-05-14 04:37:00
102阅读
2评论