QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#45767#4564. Digital CircuitZhangYiDeCompile Error//C++17313b2022-08-24 15:11:202022-08-24 15:11:22

詳細信息

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++){
      |                         ^