crocodile.cpp:24:20: error: 'll ans(int, int)' redeclared as different kind of entity
24 | ll ans(int v, int p)
| ^
crocodile.cpp:9:17: note: previous declaration 'll ans'
9 | ll dis[100005], ans;
| ^~~
crocodile.cpp: In function 'll ans(int, int)':
crocodile.cpp:31:40: error: 'ans' cannot be used as a function
31 | else w.push_back(ans(u.first, v));
| ^
crocodile.cpp: In function 'int travel_plan(int, int, int (*)[2], int*, int, int*)':
crocodile.cpp:46:13: error: 'P' was not declared in this scope
46 | ext[P[i]]=1;
| ^
crocodile.cpp:50:20: error: 'ans' cannot be used as a function
50 | return ans(0, 0);
| ^