QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#498848#1133. Monster Gameegypt_ioi2024_01#Compile Error//C++23995b2024-07-30 20:41:072024-07-30 20:41:08

Details

answer.code: In function ‘std::vector<long long int> Solve(long long int)’:
answer.code:16:16: error: ‘Query’ was not declared in this scope
   16 |             if(Query(i,j))cnt++;
      |                ^~~~~
answer.code:23:12: error: ‘Query’ was not declared in this scope
   23 |         if(Query(lol[n-1].second,lol[n-2].second))swap(lol[n-1],lol[n-2]);
      |            ^~~~~
answer.code:25:12: error: ‘Query’ was not declared in this scope
   25 |         if(Query(lol[0].second,lol[1].second)==0)swap(lol[0],lol[1]);
      |            ^~~~~