雁过无痕

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

算法

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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