循环不需要写到9999,因为i*9要小于等于9999,所以循环到1111即可。暴力解: #include <iostream> using namespace std; int main() { int a, b, c, d; int temp; int aa,bb,cc,dd; for (int i = 1000; i < 1111; i++){ temp = i; d = temp%10; temp /= 10; c = temp%10; temp /= 10...