|
|
|
|
|
|
In function 'int main()': 18:47: error: no matching function for call to 'sort(std::pair<int, int>*, std::pair<int, int>*, <unresolved overloaded function type>)' 18:47: note: candidates are: A) template<class _RAIter> void std::sort(_RAIter, _RAIter) note: candidate expects 2 arguments, 3 provided B) template<class _RAIter, class _Compare> void std::sort(_RAIter, _RAIter, _Compare) note: couldn't deduce template parameter '_Compare' |
time
that it sees.
|
|
In function 'int main()': 8:26: error: no matching function for call to 'time(int, int, int)' 8:26: note: candidates are: In file included from /usr/include/pthread.h:24:0, from /usr/include/x86_64-linux-gnu/c++/4.9/bits/gthr-default.h:35, from /usr/include/x86_64-linux-gnu/c++/4.9/bits/gthr.h:148, from /usr/include/c++/4.9/ext/atomicity.h:35, from /usr/include/c++/4.9/bits/basic_string.h:39, from /usr/include/c++/4.9/string:52, from /usr/include/c++/4.9/random:40, from /usr/include/c++/4.9/bits/stl_algo.h:66, from /usr/include/c++/4.9/algorithm:62, from 1: /usr/include/time.h:192:15: note: time_t time(time_t*) extern time_t time (time_t *__timer) __THROW; /usr/include/time.h:192:15: note: candidate expects 1 argument, 3 provided 3:6: note: bool time(double, double) 3:6: note: candidate expects 2 arguments, 3 provided |