递推练习
文章平均质量分 77
a1647566717
这个作者很懒,什么都没留下…
展开
-
hdu 2044-2050 递推求解专题练习
hdu 2044 一只小蜜蜂... 这是个典型的斐波那契数列。往右侧的方向,可以发现与n相连的是n+1、n+2。 #include __int64 d[53]; intmain() { int i,j; int cases;原创 2011-08-08 08:43:36 · 648 阅读 · 0 评论 -
hdu2050
sum=2*n*n-n+1; 折线分割平面 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 6436 Ac原创 2011-08-11 20:34:45 · 468 阅读 · 0 评论 -
Lot
Lot Time Limit:1000MS Memory Limit:65536K Total Submit:45 Accepted:17 Description Out of N soldiers, standing in one line, it is required to choose several to send them scouting. In order to do原创 2012-03-18 10:44:46 · 594 阅读 · 0 评论