int fun(int n) { int m = 0; while (n) { m++; n /= 10; } return m; }
输入一个数n(1<=n<=1e18)
输出最少操作次数
55
3
选用22、22、11可以相加得到55
19
-1