leetcode之计算1的个数-CSDN博客public long CountOne2(long n) { long count = 0; long i = 1; long current = 0,after = 0,before = 0; while((n / i) != 0) { ...... admin2023-10-14