QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#501685#9159. 登山mydCompile Error//C++142.0kb2024-08-02 21:53:012024-08-02 21:53:02

Details

answer.code: In function ‘std::vector<int> Main::sol(std::vector<int>&, int)’:
answer.code:69:27: error: ‘ask’ was not declared in this scope
   69 |         vector<int> res = ask(va, vb), ans;
      |                           ^~~
answer.code:71:17: error: ‘ans’ was not declared in this scope
   71 |                 ans.emplace_back(cal(res, p, t + d));
      |                 ^~~
answer.code:73:17: error: ‘ans’ was not declared in this scope
   73 |                 ans.emplace_back(cal(res, p, t));
      |                 ^~~
answer.code:74:16: error: ‘ans’ was not declared in this scope
   74 |         return ans;
      |                ^~~