QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#362736#3840. Pass the Ball!ZhangYiDeCompile Error//C++204.7kb2024-03-23 16:56:472024-03-23 16:56:47

Details

answer.code:44:30: error: ‘acos’ was not declared in this scope
   44 |         const long double Pi=acos(-1.0);
      |                              ^~~~
answer.code: In function ‘void Poly::FFT(Comp*, int)’:
answer.code:52:30: error: ‘cos’ was not declared in this scope
   52 |                 Comp wn=Comp(cos(2*Pi/l),f*sin(2*Pi/l));
      |                              ^~~
answer.code:52:44: error: ‘sin’ was not declared in this scope
   52 |                 Comp wn=Comp(cos(2*Pi/l),f*sin(2*Pi/l));
      |                                            ^~~