Problem | coinmaster |
---|---|
User | Pan |
Submission Time | 2024-09-19 19:19:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
coinmaster.cpp: In function ‘int main()’:
coinmaster.cpp:7:11: error: ‘second’ was not declared in this scope
7 | #define s second
| ^~~~~~
coinmaster.cpp:135:32: note: in expansion of macro ‘s’
135 | if(que.empty() || dist[s] == inf) {
| ^
coinmaster.cpp:135:38: error: ‘inf’ was not declared in this scope; did you mean ‘ynf’?
135 | if(que.empty() || dist[s] == inf) {
| ^~~
| ynf
coinmaster.cpp:143:34: error: ‘head’ was not declared in this scope; did you mean ‘heap’?
143 | que.emplace(dv - head[hp->u]->cost, root[hp->u]);
| ^~~~
| heap