雁过无痕

  C++博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::

算法

算法
posted @ 2013-03-21 22:00 flyinghearts 阅读(6921) | 评论 (4)  编辑

posted @ 2012-03-18 21:16 flyinghearts 阅读(3070) | 评论 (1)  编辑

posted @ 2012-02-28 22:14 flyinghearts 阅读(2380) | 评论 (11)  编辑

posted @ 2011-09-23 19:45 flyinghearts 阅读(2836) | 评论 (7)  编辑

posted @ 2011-07-20 23:49 flyinghearts 阅读(2356) | 评论 (2)  编辑

posted @ 2011-07-20 23:39 flyinghearts 阅读(1142) | 评论 (0)  编辑

posted @ 2011-07-20 23:30 flyinghearts 阅读(872) | 评论 (0)  编辑

posted @ 2011-07-14 23:28 flyinghearts 阅读(1598) | 评论 (0)  编辑

posted @ 2011-07-11 22:47 flyinghearts 阅读(2177) | 评论 (3)  编辑

posted @ 2011-07-07 23:16 flyinghearts 阅读(3724) | 评论 (9)  编辑

posted @ 2011-05-27 21:04 flyinghearts 阅读(1999) | 评论 (2)  编辑

posted @ 2011-05-05 20:54 flyinghearts 阅读(3981) | 评论 (8)  编辑

posted @ 2011-04-11 23:54 flyinghearts 阅读(1904) | 评论 (0)  编辑

posted @ 2011-04-01 23:36 flyinghearts 阅读(1387) | 评论 (2)  编辑

posted @ 2010-12-23 23:09 flyinghearts 阅读(4857) | 评论 (3)  编辑

posted @ 2010-12-03 20:51 flyinghearts 阅读(3451) | 评论 (14)  编辑

posted @ 2010-12-02 23:36 flyinghearts 阅读(8661) | 评论 (11)  编辑

posted @ 2010-09-01 23:25 flyinghearts 阅读(6434) | 评论 (5)  编辑

posted @ 2010-08-15 23:48 flyinghearts 阅读(941) | 评论 (0)  编辑

posted @ 2010-08-15 23:35 flyinghearts 阅读(909) | 评论 (0)  编辑

posted @ 2010-08-15 23:20 flyinghearts 阅读(2298) | 评论 (0)  编辑

posted @ 2010-07-21 00:25 flyinghearts 阅读(1029) | 评论 (0)  编辑

posted @ 2010-06-23 23:28 flyinghearts 阅读(4680) | 评论 (11)  编辑

     摘要: 如果n为偶数,则将它除以2,如果n为奇数,则将它加1或者减1。问对于一个给定的n,怎样才能用最少的步骤将它变到1。
  阅读全文
posted @ 2010-06-21 12:46 flyinghearts 阅读(2180) | 评论 (5)  编辑