Problem votingcities
User blackscreen1
Submission Time 2023-06-17 12:25:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

votingcities.cpp: In function ‘int main()’:
votingcities.cpp:59:88: error: expected ‘;’ before ‘for’
59 | pq = priority_queue<pair<ll, pll>, vector<pair<ll, pll>>, greater<pair<ll, pll>>>()
| ^
| ;
votingcities.cpp:14:38: error: ‘i’ was not declared in this scope
14 | #define iloop(m, h) for (auto i = m; i != h; i += (m < h ? 1 : -1))
| ^
votingcities.cpp:60:5: note: in expansion of macro ‘iloop’
60 | iloop(0, n) jloop(0, 32) dist[i][j] = INF;
| ^~~~~
votingcities.cpp:15:38: error: ‘j’ was not declared in this scope
15 | #define jloop(m, h) for (auto j = m; j != h; j += (m < h ? 1 : -1))
| ^
votingcities.cp