http://acm.hdu.edu.cn/showproblem.php?pid=1978
How many ways
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 3022 Accepted Submission(s...
分类:
其他好文 时间:
2014-10-30 11:42:58
阅读次数:
233
You are climbing a stair case. It takes n steps to reach to the top.
Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?
每一次你可以爬一层或者两层,计算爬n层你...
分类:
其他好文 时间:
2014-10-30 00:24:42
阅读次数:
202
You are climbing a stair case. It takes n steps to reach to the top.
Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?
简单递推
class Solution {
pub...
分类:
其他好文 时间:
2014-10-29 22:21:11
阅读次数:
175
# 查询tomcat的主IDps -ef | grep tomcatls -l /proc/ID/fd 通过查询Tomcat的线程ID, 找到Tomcat线程打开了哪些文件?打开文件全部正常 =》 增加 ulimit不正常 = 》调整程序
分类:
系统相关 时间:
2014-10-29 14:23:58
阅读次数:
214
You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb...
分类:
其他好文 时间:
2014-10-29 12:48:28
阅读次数:
170
【Hibernate】之关于使用连接表实现一对多关联映射基于中间表实现的一对多的关联映射,还是比较常见的。Person(人)和Group(组)Annotations配置@Entity
@Table(name="t_group")
publicclassGroup{
privateIntegerid;
privateStringname;
privateSet<Person>persons=newHas..
分类:
Web程序 时间:
2014-10-29 11:01:11
阅读次数:
188
【Hibernate】之关于使用连接表实现一对多关联映射...
分类:
Web程序 时间:
2014-10-29 11:00:32
阅读次数:
227
Problem DescriptionThere are many lamps in a line. All of them are off at first. A series of operations are carried out on these lamps. On the i-th op...
分类:
其他好文 时间:
2014-10-29 01:39:28
阅读次数:
433
DescriptionThe farm has many hills upon which Farmer John would like to place guards to ensure the safety of his valuable milk-cows. He wonders how ma...
分类:
其他好文 时间:
2014-10-29 01:34:28
阅读次数:
249
【Hibernate】之关于多对一单向关联映射在项目的开发中多对一的单向关联映射是最常见的,关联映射!这个着重详细讲解一下!例如,我们现在一个组(Group)和人(Person)(Person表)idname1张三2李四(Group表)idnamep_id1财务组12财务组2由上表我们发现,是不是出现数据的重复?..
分类:
Web程序 时间:
2014-10-28 18:11:55
阅读次数:
240