Function: 判断一个数字是否为快乐数字 19 就是快乐数字 11就不是快乐数字 19 1 1+9 9=82 8 8+2 2=68 6 6+8 8=100 1 1+0 0+0 0=1 11 1 1+1 1=2 2 2=4 4 4=16 1 1+6 6=37 3 3+7 7=58 5 5+8 8=89 8 8+9 9=145 1 1+4 4+5 5=42 4 4+2 2=20 2 2+0 0=2 这里结果 1 1+1 1=2 和 2 2+0 0=2 重复,所以不是快乐数字 @author crossoverJie Date: 04/01/2018 14:12 @sin
source not stored for this graph (policy: none)
nothing calls this directly
no outgoing calls
no test coverage detected