Problem coinmaster
User Pan
Submission Time 2024-09-19 19:20:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

coinmaster.cpp: In function ‘int main()’:
coinmaster.cpp:131:15: error: ‘d’ was not declared in this scope
131 | que.emplace(-d[s], new node(0, s));
| ^
coinmaster.cpp:7:11: error: ‘second’ was not declared in this scope
7 | #define s second
| ^~~~~~
coinmaster.cpp:131:17: note: in expansion of macro ‘s’
131 | que.emplace(-d[s], new node(0, s));
| ^