Problem | citymapping |
---|---|
User | Henries |
Submission Time | 2025-03-10 13:13:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
citymapping.cpp: In function ‘void find_roads(int, int, int*, int*, int*)’:
citymapping.cpp:26:18: error: ‘n’ was not declared in this scope
26 | for(int i = 0;i<n;i++){
| ^
citymapping.cpp:30:18: error: ‘n’ was not declared in this scope
30 | for(int i = 0;i<n;i++){
| ^
citymapping.cpp:41:27: error: ‘class std::vector<long long int>’ has no member named ‘first’
41 | long long weight = edge.first;
| ^~~~~
citymapping.cpp:42:26: error: ‘class std::vector<long long int>’ has no member named ‘second’
42 | long long node1 = edge.second.first;
| ^~~~~~
citymapping.cpp:43:26: error: ‘class std::vector<long long int>’ has no member named ‘second’
43 | long long node2 = edge.second.second;
| ^~~~~~