# include & lt; Math. H>
Int isPrime (int n);
Int main ()
{
Int n, I, p, q;
The scanf (" % d ", & amp; n);
For (I=2; I & lt;=n/2; I++) {
If (isPrime (I) & amp; & IsPrime (n - I)) {
Printf (" % d=% d + % d ", n, I, n - I);
break;
}
}
return 0;
}
Int isPrime (int n)
{
Int I, div.
For (div=2; Div & lt;=SQRT (n); Div++) {
{if (n % div==0)
break;
return 0;
}
If (div==n)
return 1;
}
}
CodePudding user response:
The result is not the same as that you have ambiguity code, must be modified,,,CodePudding user response:
The building Lord primes judging function has a problem