C语言列出所有水仙花数出现问题,请大佬支招 #include<math.h> #include<stdio.h> void main() { int a; for (a = 100;a<=999;a++) { if (a * a * a == pow(a % 10, 3) + pow(a % 10, 3) + pow(a % 100, 3)) printf("%d\n", a); } } 用VS 2019打的,觉得算法没有问题,但是运行结果是这样的。 明明没有结果啊,求大佬支招哪里出了问题。