| Problem | votingcities |
|---|---|
| User | SheepHeads |
| Submission Time | 2026-03-11 15:12:49 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
votingcities.cpp:23:1: error: ‘vector’ does not name a type
23 | vector<vector<pair<int, int>>> adjList; //{next city, cost of path};
| ^~~~~~
votingcities.cpp:24:1: error: ‘vector’ does not name a type
24 | vector<vector<int>> dp;
| ^~~~~~
votingcities.cpp: In function ‘void precompute()’:
votingcities.cpp:27:5: error: ‘priority_queue’ was not declared in this scope
27 | priority_queue<info, vector<info>, cmp> pq;
| ^~~~~~~~~~~~~~
votingcities.cpp:27:24: error: expected primary-expression before ‘,’ token
27 | priority_queue<info, vector<info>, cmp> pq;
| ^
votingcities.cpp:27:26: error: ‘vector’ was not declared in this scope
27 | priority_queue<info, vector<info>, cmp> pq;
| ^~~~~~
votingcities.cpp:27:37: error: expected primary-expression before ‘>’ token