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:17:33: error: 'mp' was not declared in this scope
for(int i =0;i<n;i++) dis[i] = mp(INF,INF);
^~
crocodile.cpp:17:33: note: suggested alternative: 'm'
for(int i =0;i<n;i++) dis[i] = mp(INF,INF);
^~
m
crocodile.cpp:20:3: error: 'll' was not declared in this scope
ll u = p[i];
^~
crocodile.cpp:20:3: note: suggested alternative: 'l'
ll u = p[i];
^~
l
crocodile.cpp:21:16: error: 'u' was not declared in this scope
pq.push(mp(0,u));
^
crocodile.cpp:21:11: error: 'mp' was not declared in this scope
pq.push(mp(0,u));
^~
crocodile.cpp:21:11: note: suggested alternative: 'm'
pq.push(mp(0,u));
^~
m
crocodile.cpp:27: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:29: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:31: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:31: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:32:17: error: 'struct std::pair<long long int, long long int>' has no member named 's'
dis[vertex].s = dis[vertex].f;
^
crocodile.cpp:32:33: error: 'struct std::pair<long long int, long long int>' has no member named 'f'
dis[vertex].s = dis[vertex].f;
^
crocodile.cpp:33: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:33: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:34: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:34:13: error: 'mp' was not declared in this scope
pq.push(mp(dis[vertex.f,vertex]));
^~
crocodile.cpp:34:13: note: suggested alternative: 'm'
pq.push(mp(dis[vertex.f,vertex]));
^~
m
crocodile.cpp:39:16: error: 'struct std::pair<long long int, long long int>' has no member named 's'
return dis[0].s;
^