| Problem | car |
|---|---|
| User | LimCheeHann |
| Submission Time | 2026-04-30 15:55:31 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
car.cpp: In function ‘int main()’:
car.cpp:43:156: error: no matching function for call to ‘max(__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type&, __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&)’
43 | distances[roads[current-1048576][i][0]+1048576]=min(distances[roads[current-1048576][i][0]+1048576],max(distances[current],roads[current-1048576][i][1]));
| ^
In file included from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from car.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h:222:5: note: candidate: ‘template<class _Tp> constexpr const _Tp& std: