这道题是力扣原题,快乐数。https://leetcode-cn.com/problems/happy-number/