摘要: 第一题 class Solution { public: int countEven(int num) { int ans = 0; for(int i=1;i<=num;i++) { int res = 0; int x = i; while(x) { res+= (x%10); x/=10; } 阅读全文
posted @ 2022-03-04 20:58 Shendu.CC 阅读(42) 评论(1) 推荐(1) 编辑