ho_t4.cpp: In function 'int main()':
ho_t4.cpp:38:44: error: 'll' was not declared in this scope
38 | vector<vector<int>> dist(n + 1, vector<ll>(n + 1, 1e15));
| ^~
ho_t4.cpp:38:46: error: template argument 1 is invalid
38 | vector<vector<int>> dist(n + 1, vector<ll>(n + 1, 1e15));
| ^
ho_t4.cpp:38:46: error: template argument 2 is invalid
ho_t4.cpp:39:12: error: expected ';' before 'i'
39 | for (ll i = 1; i <= n; ++i) {
| ^~
| ;
ho_t4.cpp:39:20: error: 'i' was not declared in this scope
39 | for (ll i = 1; i <= n; ++i) {
| ^
ho_t4.cpp:60:42: error: no matching function for call to 'min(__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type)'
60 | int ans = min(dist[1][n] + dist[n][1]);
| ^
In file included from /usr/include/c++/10/bits/specfun.h:45,
from /usr/include/c++/10/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:41,
from ho_t4.cpp:1:
/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:60:42: note: candidate expects 2 arguments, 1 provided
60 | int ans = min(dist[1][n] + dist[n][1]);
| ^
In file included from /usr/include/c++/10/bits/specfun.h:45,
from /usr/include/c++/10/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:41,
from ho_t4.cpp:1:
/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:60:42: note: candidate expects 3 arguments, 1 provided
60 | int ans = min(dist[1][n] + dist[n][1]);
| ^
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from ho_t4.cpp:1:
/usr/include/c++/10/bits/stl_algo.h:3468:5: note: candidate: 'template<class _Tp> constexpr _Tp std::min(std::initializer_list<_Tp>)'
3468 | min(initializer_list<_Tp> __l)
| ^~~
/usr/include/c++/10/bits/stl_algo.h:3468:5: note: template argument deduction/substitution failed:
ho_t4.cpp:60:42: note: mismatched types 'std::initializer_list<_Tp>' and 'long long int'
60 | int ans = min(dist[1][n] + dist[n][1]);
| ^
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from ho_t4.cpp:1:
/usr/include/c++/10/bits/stl_algo.h:3474:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::min(std::initializer_list<_Tp>, _Compare)'
3474 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
/usr/include/c++/10/bits/stl_algo.h:3474:5: note: template argument deduction/substitution failed:
ho_t4.cpp:60:42: note: mismatched types 'std::initializer_list<_Tp>' and 'long long int'
60 | int ans = min(dist[1][n] + dist[n][1]);
| ^
ho_t4.cpp:61:7: error: expected ';' before 'u'
61 | ll u = edges[i].first, v = edges[i].second;
| ^~
| ;
ho_t4.cpp:63:33: error: 'v' was not declared in this scope
63 | if (min(dist[1][n], dist[1][v] + c[i] + dist[u][n]) +
| ^
ho_t4.cpp:63:40: error: 'i' was not declared in this scope
63 | if (min(dist[1][n], dist[1][v] + c[i] + dist[u][n]) +
| ^
ho_t4.cpp:63:50: error: 'u' was not declared in this scope
63 | if (min(dist[1][n], dist[1][v] + c[i] + dist[u][n]) +
| ^