摘要: 19 is a happy number12+ 92= 8282+ 22= 6862+ 82= 10012+ 02+ 02= 1class Solution {public: bool isHappy(int n) { int sum=0;//每次循环的和 bool hasAppe... 阅读全文
posted @ 2015-05-12 22:09 默默成长 阅读(109) 评论(0) 推荐(0) 编辑