QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#45767#4564. Digital CircuitZhangYiDeCompile Error//C++17313b2022-08-24 15:11:202022-08-24 15:11:22

Details

answer.code: In function ‘int count_ways(int, int)’:
answer.code:11:21: error: ‘N’ was not declared in this scope
   11 |                 A[i-N] = A[i-N]^1;
      |                     ^
answer.code:14:19: error: ‘N’ was not declared in this scope
   14 |         for(int i=N;i<N+M;i++){
      |                   ^
answer.code:14:25: error: ‘M’ was not declared in this scope
   14 |         for(int i=N;i<N+M;i++){
      |                         ^