Home > Back-end >  4, genuflect is begged c + +
4, genuflect is begged c + +

Time:09-16

Agghh agghh agghh agghh ohoo, help children   , thank you thank you

CodePudding user response:

 
#include

Int main ()
{
For (int I=0, j, k, x. i <8; I++)
For (j=I + 1; J & lt; 9. J++)
For (k=j + 1; K & lt; 10; K++)
If ((x=(k - I) * 99)==I * 100 * 10 + k + j) printf (" % d \ n ", x);

return 0;
}

CodePudding user response:

Only this one: 954-459=495

CodePudding user response:

The three digits into the digital first, and then calculate