博客园  :: 首页  :: 新随笔  :: 订阅 订阅  :: 管理

2015年4月22日

摘要: Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive integer... 阅读全文

posted @ 2015-04-22 19:08 NUST小文 阅读(140) 评论(0) 推荐(0) 编辑

摘要: Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at... 阅读全文

posted @ 2015-04-22 19:06 NUST小文 阅读(109) 评论(0) 推荐(0) 编辑