QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#766045#8834. Formal FringHuluoboCompile Error//C++141.3kb2024-11-20 16:01:212024-11-20 16:01:21

Details

answer.code:31:1: error: unterminated comment
   31 | /*
      | ^
cc1plus: error: ‘::main’ must return ‘int’
answer.code: In function ‘int main()’:
answer.code:12:33: error: ‘dp’ was not declared in this scope
   12 |         od[i]=(od[i-1]+(i%2==0)*dp[i/2]);
      |                                 ^~
answer.code:17:22: error: ‘dp’ was not declared in this scope
   17 |                 g[i]=dp[(1<<i)-1];
      |                      ^~
answer.code:21:10: error: ‘a’ was not declared in this scope
   21 |         }a
      |          ^
answer.code:22:21: error: ‘i’ was not declared in this scope
   22 |         for(int i=1;i<=n;i++){
      |                     ^