Problem transportingpotatoes
User Pan
Submission Time 2024-11-24 17:34:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

transportingpotatoes.cpp: In function ‘int main()’:
transportingpotatoes.cpp:7:11: error: cannot convert ‘const std::pair<int, int>’ to ‘ll’ {aka ‘int’} in initialization
7 | #define s second
| ^
| |
| const std::pair<int, int>
transportingpotatoes.cpp:61:58: note: in expansion of macro ‘s’
61 | ll xx = pq.top().s.f, yy = pq.top().s.s, cc = pq.top().s;
| ^