#include"stdio.h"
int main()
{
int n,a,b,c;
for(n=100;n<=999;n++)
{
a=n/100;
b=(n-a100)/10;
c=n-a100-b10;
if(n==aaa+bbb+cc*c)
printf("%d",n);
}
}
10-29
8151
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-12
4861
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
#include"stdio.h"
int main()
{
int n,a,b,c;
for(n=100;n<=999;n++)
{
a=n/100;
b=(n-a100)/10;
c=n-a100-b10;
if(n==aaa+bbb+cc*c)
printf("%d",n);
}
}