雁过无痕

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

算法

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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