标签:void des == includes c++ print ++ oid printf
int main(void){
int a,b,c,d,i=0;
for(a=0;a<=9;a++)
for(b=0;b<=9;b++)
for(c=0;c<=9;c++)
for(d=0;d<=9;d++)
if((10a+b)(10c+d)==(10b+a)(10d+c))
{printf("%d%d%d%d=%d%d%d%d ",a,b,c,d,b,a,d,c);
i++;
if(i%3==0)
printf("\n");
}
}
标签:void des == includes c++ print ++ oid printf
原文地址:https://www.cnblogs.com/LanYuauAn/p/14023556.html