# include
# include
#include
Int (d)
{
Double I;
I=rand ();
If (I & gt; 0.5)
return 1;
The else
return -1;
}
Void main ()
{
Double smax.
Double _Complex z=0.0 + 1.0 * _Complex_I;
int t;
Smax=0;
For (int I=1; i <=100; I++) {
Double s;
S=0;
For (int q=0; Q & lt;=3199; Q++)
{
T=d ();
S=s + t * (exp (3.125 * * z q) 2.7183);
}
If (s & gt; Smax)
Smax=s;
}
Printf (" % d ", smax);
}
CodePudding user response:
_Complex replaced with lowercaseCodePudding user response:
Have what problem to what wrong you posted me run here is correct