Borderou de evaluare (job #2072676)
Utilizator | Data | 22 noiembrie 2017 07:06:56 | |
---|---|---|---|
Problema | Cele mai apropiate puncte din plan | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘std::pair<std::pair<Punct2D, Punct2D>, double> ClosestPoints(std::vector<Punct2D>, std::vector<Punct2D>)’:
user.cpp:126:16: error: no matching function for call to ‘merge(std::vector<Punct2D>&, std::vector<Punct2D>&)’
Py=merge(Ay,By);
^
user.cpp:126:16: note: candidates are:
In file included from /usr/include/c++/4.8/algorithm:62:0,
from user.cpp:3:
/usr/include/c++/4.8/bits/stl_algo.h:5540:5: note: template<class _IIter1, class _IIter2, class _OIter> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter)
merge(_InputIterator1 __first1, _InputIterator1 __last1,
^
/usr/include/c++/4.8/bits/stl_algo.h:5540:5: note: template argument deduction/substitution failed:
user.cpp:126:16: note: candidate expects 5 arguments, 2 provided
Py=merge(Ay,By);
^
In file included from /usr/include/c++/4.8/algorithm:62:0,
from user.cpp:3:
/usr/include/c++/4.8/bits/stl_algo.h:5604: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,
^
/usr/include/c++/4.8/bits/stl_algo.h:5604:5: note: template argument deduction/substitution failed:
user.cpp:126:16: note: candidate expects 6 arguments, 2 provided
Py=merge(Ay,By);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !