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:22:3: error: 'll' was not declared in this scope
ll u = p[i];
^~
crocodile.cpp:22:3: note: suggested alternative: 'l'
ll u = p[i];
^~
l
crocodile.cpp:23:16: error: 'u' was not declared in this scope
pq.push(mp(0,u));
^
crocodile.cpp:29:14: error: 'class std::priority_queue<std::pair<long long int, long long int>, std::vector<std::pair<long long int, long long int> >, std::greater<std::pair<long long int, long long int> > >' has no member named 'front'
pii u = pq.front();
^~~~~
crocodile.cpp:31:17: error: no match for 'operator[]' (operand types are 'std::vector<std::pair<long long int, long long int> > [n]' and 'std::pair<long long int, long long int>')
for(auto v:adj[u]){
^
crocodile.cpp:33:19: error: 'struct std::pair<long long int, long long int>' has no member named 'f'
if(dis[vertex].f > dis[u.s].f + v.f){
^
crocodile.cpp:33:29: error: 'struct std::pair<long long int, long long int>' has no member named 's'
if(dis[vertex].f > dis[u.s].f + v.f){
^
crocodile.cpp:34:17: error: 'struct std::pair<long long int, long long int>' has no member named 's'
dis[vertex].s = dis[vertex].f;
^
crocodile.cpp:34:33: error: 'struct std::pair<long long int, long long int>' has no member named 'f'
dis[vertex].s = dis[vertex].f;
^
crocodile.cpp:35:17: error: 'struct std::pair<long long int, long long int>' has no member named 'f'
dis[vertex].f = dis[u.s].f + v.f;
^
crocodile.cpp:35:27: error: 'struct std::pair<long long int, long long int>' has no member named 's'
dis[vertex].f = dis[u.s].f + v.f;
^
crocodile.cpp:36:27: error: request for member 'f' in 'vertex', which is of non-class type 'long long int'
pq.push(mp(dis[vertex.f,vertex]));
^
crocodile.cpp:41:16: error: 'struct std::pair<long long int, long long int>' has no member named 's'
return dis[0].s;
^