雁过无痕

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

算法

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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