QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#273443#7881. Computational Complexityucup-team121#Compile Error//C++232.1kb2023-12-02 23:59:502023-12-02 23:59:51

Details

answer.code: In function ‘int main()’:
answer.code:68:24: error: expected ‘;’ before ‘sg’
   68 |     sf[i]=take(sf[i],i)
      |                        ^
      |                        ;
......
   71 |     sg[i]=max(i,sf[i/2]+sf[i/3]+sf[i/4]+sf[i/5]);
      |     ~~                  
answer.code:72:24: error: expected ‘;’ before ‘}’ token
   72 |     sg[i]=take(sg[i],i)
      |                        ^
      |                        ;
   73 |     // while(sg[i]>=mod){sg[i]-=mod;}
   74 |   }
      |   ~