Problem citymapping
User PlayVoltz
Submission Time 2024-12-31 13:35:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

citymapping.cpp: In function ‘void find_roads(int, int, int*, int*, int*)’:
citymapping.cpp:54:52: error: ‘node’ was not declared in this scope
54 | for (int i=1, id=0; i<=n; ++i)for (auto num:graph[node])a[i]=i, b[i]=num.fi, w[i]=num.se, ++id;
| ^~~~