0_0_21696344_3650.cpp: In function 'path query(int, int, int, int, int)':
0_0_21696344_3650.cpp:152:54: error: no matching function for call to 'merge(path&, path)'
ret = merge(ret, query(ql, qr, mid, R, o << 1 | 1));
^
0_0_21696344_3650.cpp:152:54: note: candidates are:
0_0_21696344_3650.cpp:110:6: note: path merge(path&, path&)
path merge(path & x, path & y)
^
0_0_21696344_3650.cpp:110:6: note: no known conversion for argument 2 from 'path' to 'path&'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_21696344_3650.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4814:5: note: template<class _IIter1, class _IIter2, class _OIter, class _Compare> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare)
merge(_InputIterator1 __first1, _InputIterator1 __last1,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4814:5: note: template argument deduction/substitution failed:
0_0_21696344_3650.cpp:152:54: note: candidate expects 6 arguments, 2 provided
ret = merge(ret, query(ql, qr, mid, R, o << 1 | 1));
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_21696344_3650.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4766:5: note: template<class _IIter1, class _IIter2, class _OIter> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter)
merge(_InputIterator1 __first1, _InputIterator1 __last1,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4766:5: note: template argument deduction/substitution failed:
0_0_21696344_3650.cpp:152:54: note: candidate expects 5 arguments, 2 provided
ret = merge(ret, query(ql, qr, mid, R, o << 1 | 1));
^
|