QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#863033#9318. AC Automation Chickenzeq2021Compile Error//C++144.3kb2025-01-19 11:59:082025-01-19 11:59:09

Details

answer.code: In function ‘void dfsA(int)’:
answer.code:66:9: error: ‘bj’ was not declared in this scope
   66 |         bj[u]=true;
      |         ^~
answer.code: In function ‘void dfsB(int)’:
answer.code:74:9: error: ‘bj’ was not declared in this scope
   74 |         bj[u]=true;
      |         ^~
answer.code: In function ‘bool check()’:
answer.code:83:16: error: ‘bj’ was not declared in this scope
   83 |         memset(bj,0,sizeof(bj));
      |                ^~
answer.code: In function ‘bool getAns(int)’:
answer.code:108:16: error: ‘bj’ was not declared in this scope
  108 |         memset(bj,0,sizeof(bj)),memset(c,0,sizeof(c)),memset(prt,0,sizeof(prt));
      |                ^~
answer.code: In function ‘bool solve()’:
answer.code:180:1: warning: control reaches end of non-void function [-Wreturn-type]
  180 | }
      | ^