Problem | mrt |
---|---|
User | PlayVoltz |
Submission Time | 2023-08-11 14:26:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mrt.cpp: In function ‘int main()’:
mrt.cpp:43:3: error: reference to ‘distance’ is ambiguous
43 | distance[i].push_back(MRT(i));
| ^~~~~~~~
In file included from /usr/include/c++/9/filesystem:37,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:129,
from mrt.cpp:1:
/usr/include/c++/9/bits/fs_path.h:1274:1: note: candidates are: ‘std::ptrdiff_t std::distance(std::filesystem::__cxx11::path::iterator, std::filesystem::__cxx11::path::iterator)’
1274 | distance(filesystem::path::iterator __first, filesystem::path::iterator __last)
| ^~~~~~~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:66,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from mrt.cpp:1:
/usr/include/c++/9/bits/stl_iterator_base_funcs.h:138:5: note: