QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#63695#4229. GCD HarmonyDianasDog#Compile Error//C++142.0kb2022-11-23 09:51:422022-11-23 09:51:43

Details

answer.code:41:1: error: ‘vector’ does not name a type
   41 | vector<int>v[5005];
      | ^~~~~~
answer.code: In function ‘void dfs2(int, int)’:
answer.code:52:23: error: ‘v’ was not declared in this scope
   52 |         for(int i=0;i<v[x].size();i++)
      |                       ^
answer.code: In function ‘int main()’:
answer.code:111:17: error: ‘v’ was not declared in this scope
  111 |                 v[x].push_back(y);
      |                 ^