QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#294008#7121. Beech Treealch07Compile Error//C++201.1kb2023-12-30 02:08:092024-04-28 08:27:12

Details

answer.code: In function ‘std::vector<int> beechtree(int, int, std::vector<int>, std::vector<int>)’:
answer.code:30:59: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘second’
   30 |                 if(st.find(children[children[i][j].first].second) == st.end()){
      |                                                           ^~~~~~