crocodile.cpp: In function 'int travel_plan(int, int, int (*)[2], int*, int, int*)':
crocodile.cpp:13:27: error: 'long long long' is too long for GCC
13 | vector<pair<long long long>> adj[MAXN];
| ^~~~
crocodile.cpp:13:27: error: wrong number of template arguments (1, should be 2)
In file included from /usr/include/c++/10/bits/stl_algobase.h:64,
from /usr/include/c++/10/bits/char_traits.h:39,
from /usr/include/c++/10/ios:40,
from /usr/include/c++/10/istream:38,
from /usr/include/c++/10/sstream:38,
from /usr/include/c++/10/complex:45,
from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from crocodile.cpp:2:
/usr/include/c++/10/bits/stl_pair.h:211:12: note: provided for 'template<class _T1, class _T2> struct std::pair'
211 | struct pair
| ^~~~
crocodile.cpp:13:31: error: template argument 1 is invalid
13 | vector<pair<long long long>> adj[MAXN];
| ^~
crocodile.cpp:13:31: error: template argument 2 is invalid
crocodile.cpp:24:16: error: request for member 'push_back' in 'adj[x]', which is of non-class type 'int'
24 | adj[x].push_back({y,z});
| ^~~~~~~~~
crocodile.cpp:25:16: error: request for member 'push_back' in 'adj[y]', which is of non-class type 'int'
25 | adj[y].push_back({x,z});
| ^~~~~~~~~
crocodile.cpp:46:25: error: 'node0' was not declared in this scope; did you mean 'node'?
46 | if (dist0>dist2[node0]) continue;
| ^~~~~
| node
crocodile.cpp:48:25: error: 'node0' was not declared in this scope; did you mean 'node'?
48 | long long s=adj[node0].size();
| ^~~~~
| node