雁过无痕

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

算法

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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