Problem | citymapping |
---|---|
User | Sandarach151 |
Submission Time | 2022-12-24 21:40:20 |
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:28:3: error: ‘vector’ was not declared in this scope
28 | vector<tuple<long long int, int, int> > vect;
| ^~~~~~
citymapping.cpp:28:10: error: ‘tuple’ was not declared in this scope
28 | vector<tuple<long long int, int, int> > vect;
| ^~~~~
citymapping.cpp:28:16: error: expected primary-expression before ‘long’
28 | vector<tuple<long long int, int, int> > vect;
| ^~~~
citymapping.cpp:31:5: error: ‘vect’ was not declared in this scope
31 | vect.push_back({get_distance(i, j), i, j});
| ^~~~
citymapping.cpp:34:8: error: ‘vect’ was not declared in this scope
34 | sort(vect.begin(), vect.end());
| ^~~~
citymapping.cpp:34:3: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
34 | sort(vect.begin(), vec