adventure.cpp: In function 'void dijkstra(int, int)':
adventure.cpp:26:83: error: expected unqualified-id before '>' token
26 | priority_queue<pair<int, pii>, vector<pair<int, pii>>, greater<pair<int, pii>>>> q;
| ^~
adventure.cpp:27:5: error: 'q' was not declared in this scope
27 | q.push({x, {y, g[x][y]}});
| ^
adventure.cpp: In function 'void $()':
adventure.cpp:8:13: warning: overflow in conversion from 'long long int' to 'int' changes value from '4557430888798830399' to '1061109567' [-Woverflow]
8 | #define INF 0x3F3F3F3F3F3F3F3FLL
| ^~~~~~~~~~~~~~~~~~~~
adventure.cpp:49:23: note: in expansion of macro 'INF'
49 | d[i][j] = INF;
| ^~~