QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#164196#7104. Halting Problemucup-team1063Compile Error//C++171.7kb2023-09-04 20:37:232023-09-04 20:37:23

详细

answer.code: In function ‘void solve()’:
answer.code:25:12: error: ‘cnt’ was not declared in this scope; did you mean ‘int’?
   25 |         if(cnt[p][now]) {
      |            ^~~
      |            int
answer.code:29:9: error: ‘cnt’ was not declared in this scope; did you mean ‘int’?
   29 |         cnt[p][now] = 1;
      |         ^~~
      |         int