QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#444609#8581. 섬ZhangYiDeCompile Error//C++233.5kb2024-06-15 20:21:292024-06-15 20:21:30

Details

answer.code: In function ‘void construct_two_trees(int, std::vector<int>, std::vector<int>)’:
answer.code:124:9: error: redeclaration of ‘int v’
  124 |     int v=add_vertex(sd[0],sd[1],sd[2]);
      |         ^
answer.code:91:9: note: ‘int v’ previously declared here
   91 |     int v=add_vertex(1,2,3);
      |         ^