QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#167086#7110. Kuririn MIRACLEucup-team1239Compile Error//C++233.4kb2023-09-07 02:30:242023-09-07 02:30:25

Details

answer.code: In function ‘int32_t main()’:
answer.code:74:69: error: expected primary-expression before ‘long’
   74 |             if( (a*d+b)>((db)0) || (vx-v)/vy<-tan(mid) || mid<=(PI/(long double 2)) ){
      |                                                                     ^~~~
answer.code:74:69: error: expected ‘)’ before ‘long’
   74 |             if( (a*d+b)>((db)0) || (vx-v)/vy<-tan(mid) || mid<=(PI/(long double 2)) ){
      |                                                                    ~^~~~
      |                                                                     )
answer.code:76:14: error: expected ‘)’ before ‘else’
   76 |             }
      |              ^
      |              )
   77 |             else{
      |             ~~~~
answer.code:74:64: note: to match this ‘(’
   74 |             if( (a*d+b)>((db)0) || (vx-v)/vy<-tan(mid) || mid<=(PI/(long double 2)) ){
      |                                                                ^
answer.code:79:14: error: expected ‘)’ before ‘mid’
   79 |             }
      |              ^
      |              )
   80 |             mid=(L+R)/((long double) 2);
      |             ~~~
answer.code:74:15: note: to match this ‘(’
   74 |             if( (a*d+b)>((db)0) || (vx-v)/vy<-tan(mid) || mid<=(PI/(long double 2)) ){
      |               ^