Problem | train_apio24 |
---|---|
User | chenweilian |
Submission Time | 2024-10-30 11:39:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
train_apio24.cpp: In function ‘ll solve(int, int, int, vi, vi, vi, vi, vi, vi, vi, vi)’:
train_apio24.cpp:94:5: error: ‘dist’ was not declared in this scope
94 | dist(M + 1, inf);
| ^~~~
In file included from /usr/include/c++/9/string:48,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from train_apio24.cpp:1:
/usr/include/c++/9/bits/stl_function.h: In instantiation of ‘constexpr bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = Data]’:
/usr/include/c++/9/bits/predefined_ops.h:177:11: required from ‘bool __gnu_cxx::__ops::_Iter_comp_val<_Compare>::operator()(_Iterator, _Value&) [with _Iterator = __gnu_cxx::__normal_iterator<Data*, std::vector<