Problem subwaytrip
User haydendoo
Submission Time 2023-07-13 13:48:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subwaytrip.cpp: In function ‘int main()’:
subwaytrip.cpp:42:32: error: base operand of ‘->’ has non-pointer type ‘std::unordered_map<long long int, std::vector<long long int> >’
42 | dfs(it, adj[it]->first);
| ^~