Problem | problematicjourney |
---|---|
User | ethanlinHoucheng |
Submission Time | 2024-12-12 18:21:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
problematicjourney.cpp: In function ‘int main()’:
problematicjourney.cpp:43:122: error: ‘class __gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int> > >’ has no member named ‘second’
43 | int low = 0, high = *max_element(adj[0].begin(), adj[0].end(), [](auto& a, auto& b) { return a.second < b.second; }).second;
| ^~~~~~