摘要: JAVA: public final boolean isHappy(int n) { int next = next(n); while (n != 1 && n != next) { n = next(n); next = next(next(next)); } return n == 1; } 阅读全文
posted @ 2020-08-12 00:30 牛有肉 阅读(187) 评论(0) 推荐(0) 编辑