摘要: class Solution { public: int NumberOf1Between1AndN_Solution(int n) { long count = 0; for(long m = 1;m <= n;m *= 10){ count += (n / m + 8) / 10 * m + ( 阅读全文
posted @ 2021-08-29 15:07 deviant 阅读(44) 评论(0) 推荐(0)