题目如图所示 很容易想到的就是简单的暴力 #include <stdio.h> int main() { int i, n, m, num = 0; scanf("%d", &n); for (i = 1; i <= n; i++) { m = i; while (m) { if (m % 10...