crocodile.cpp: In function 'long long int travel_plan(long long int, long long int, long long int (*)[2], long long int*, long long int, long long int*)':
crocodile.cpp:26:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
26 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
crocodile.cpp:54:5: note: in expansion of macro 'FOR'
54 | FOR(i, 0, N - 1) d[i] = {oo, oo};
| ^~~
crocodile.cpp:26:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
26 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
crocodile.cpp:55:5: note: in expansion of macro 'FOR'
55 | FOR(i, 0, M - 1) {
| ^~~
crocodile.cpp:26:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
26 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
crocodile.cpp:61:5: note: in expansion of macro 'FOR'
61 | FOR(i, 0, K - 1) {
| ^~~
crocodile.cpp:28:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
28 | #define EACH(i, x) for (auto &(i) : (x))
| ^
crocodile.cpp:71:9: note: in expansion of macro 'EACH'
71 | EACH(j, adj[u]) {
| ^~~~
crocodile.cpp:69:24: warning: unused variable 'Min' [-Wunused-variable]
69 | int u = cur.u, Min = cur.Min, Min1 = cur.Min1;
| ^~~
/usr/bin/ld: /tmp/ccTlCHJn.o: in function `main':
grader.cpp:(.text.startup+0x36): undefined reference to `travel_plan(int, int, int (*) [2], int*, int, int*)'
collect2: error: ld returned 1 exit status