ho_t4.cpp: In function 'void dijkstra(int)':
ho_t4.cpp:33:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for(int i=0;i<w[x].Q.size();i++)
| ~^~~~~~~~~~~~~~
ho_t4.cpp:78:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
78 | for(int i=0;i<w[x].Q.size();i++)
| ~^~~~~~~~~~~~~~
ho_t4.cpp: In function 'int32_t main()':
ho_t4.cpp:132:34: error: no matching function for call to 'min(long long int&, int&)'
132 | odl[x][y]=min(odl[x][y],a);
| ^
In file included from /usr/include/c++/10/bits/char_traits.h:39,
from /usr/include/c++/10/ios:40,
from /usr/include/c++/10/ostream:38,
from /usr/include/c++/10/iostream:39,
from ho_t4.cpp:2:
/usr/include/c++/10/bits/stl_algobase.h:230:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::min(const _Tp&, const _Tp&)'
230 | min(const _Tp& __a, const _Tp& __b)
| ^~~
/usr/include/c++/10/bits/stl_algobase.h:230:5: note: template argument deduction/substitution failed:
ho_t4.cpp:132:34: note: deduced conflicting types for parameter 'const _Tp' ('long long int' and 'int')
132 | odl[x][y]=min(odl[x][y],a);
| ^
In file included from /usr/include/c++/10/bits/char_traits.h:39,
from /usr/include/c++/10/ios:40,
from /usr/include/c++/10/ostream:38,
from /usr/include/c++/10/iostream:39,
from ho_t4.cpp:2:
/usr/include/c++/10/bits/stl_algobase.h:278:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare)'
278 | min(const _Tp& __a, const _Tp& __b, _Compare __comp)
| ^~~
/usr/include/c++/10/bits/stl_algobase.h:278:5: note: template argument deduction/substitution failed:
ho_t4.cpp:132:34: note: deduced conflicting types for parameter 'const _Tp' ('long long int' and 'int')
132 | odl[x][y]=min(odl[x][y],a);
| ^
ho_t4.cpp:146:13: warning: unused variable 'pocz' [-Wunused-variable]
146 | int pocz=t[i][3];
| ^~~~