annyshen

Results 1 comments of annyshen

``` function countNum(n, count = 0) { for (let i = 0; i -1) { arr.push(pos); pos = i.toString().indexOf('1', pos + 1); } count += arr.length;//再判断1出现的次数 } return count; }...