例如,
n = 3432, result 4 n = 45, result 2 n = 33215, result 5 n = -357, result 3
我想我可以把它变成一个字符串然后得到字符串的长度,但这看起来很复杂和黑客.
c math
c ×1
math ×1