QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#295071#6306. Chase GameMaMengQiCompile Error//C++233.3kb2023-12-30 18:25:182023-12-30 18:25:18

Details

answer.code: In function ‘void solve()’:
answer.code:108:12: error: ‘dis_k’ was not declared in this scope; did you mean ‘dis_p’?
  108 |         if(dis_k[1] > d)
      |            ^~~~~
      |            dis_p
answer.code:144:84: error: expected ‘;’ before ‘}’ token
  144 |                                         ans = min(ans, dis_1[x] + gt(dis_n[i] + 1))
      |                                                                                    ^
      |                                                                                    ;
  145 |                                 }
      |                                 ~