shortcut.cpp: In function 'll find_shortcut(int, vi, vi, int)':
shortcut.cpp:26:14: error: 'INF' was not declared in this scope
26 | ll mejor=INF;
| ^~~
shortcut.cpp:31:35: error: expected primary-expression before ')' token
31 | conex[j].push_back(pii){c,i};
| ^
shortcut.cpp:38:32: error: 'class std::priority_queue<std::pair<long long int, long long int> >' has no member named 'front'
38 | pii x=cola.front();
| ^~~~~
shortcut.cpp:42:41: error: no match for 'operator[]' (operand types are 'vvii' {aka 'std::vector<std::vector<std::pair<long long int, long long int> > >'} and 'pii' {aka 'std::pair<long long int, long long int>'})
42 | for (pii y:conex[x]){
| ^
In file included from /usr/include/c++/10/vector:67,
from shortcut.h:2,
from shortcut.cpp:3:
/usr/include/c++/10/bits/stl_vector.h:1043:7: note: candidate: 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::vector<std::pair<long long int, long long int> >; _Alloc = std::allocator<std::vector<std::pair<long long int, long long int> > >; std::vector<_Tp, _Alloc>::reference = std::vector<std::pair<long long int, long long int> >&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]'
1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT
| ^~~~~~~~
/usr/include/c++/10/bits/stl_vector.h:1043:28: note: no known conversion for argument 1 from 'pii' {aka 'std::pair<long long int, long long int>'} to 'std::vector<std::vector<std::pair<long long int, long long int> > >::size_type' {aka 'long unsigned int'}
1043 | operator[](size_type __n) _GLIBCXX_NOEXCEPT
| ~~~~~~~~~~^~~
/usr/include/c++/10/bits/stl_vector.h:1061:7: note: candidate: 'std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = std::vector<std::pair<long long int, long long int> >; _Alloc = std::allocator<std::vector<std::pair<long long int, long long int> > >; std::vector<_Tp, _Alloc>::const_reference = const std::vector<std::pair<long long int, long long int> >&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]'
1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT
| ^~~~~~~~
/usr/include/c++/10/bits/stl_vector.h:1061:28: note: no known conversion for argument 1 from 'pii' {aka 'std::pair<long long int, long long int>'} to 'std::vector<std::vector<std::pair<long long int, long long int> > >::size_type' {aka 'long unsigned int'}
1061 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT
| ~~~~~~~~~~^~~