QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#441672#8579. 경찰과 도둑ZhangYiDeCompile Error//C++23981b2024-06-14 17:06:412024-06-14 17:06:44

Details

answer.code: In function ‘std::vector<std::array<long long int, 2> > police_thief(std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)’:
answer.code:47:16: error: could not convert ‘ans’ from ‘vector<std::pair<int, int>>’ to ‘vector<std::array<long long int, 2>>’
   47 |         return ans;
      |                ^~~
      |                |
      |                vector<std::pair<int, int>>