Borderou de evaluare (job #85493)

Utilizator avatar rpdstrike Puscasu Felix rpdstrike IP ascuns
Problemă Cuburi2 Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 7 nov. 2014 20:57:30 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:30:35: error: no matching function for call to ‘max(int&, char&)’ user.cpp:30:35: note: candidates are: /usr/include/c++/4.6/bits/stl_algobase.h:210:5: note: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) /usr/include/c++/4.6/bits/stl_algobase.h:254:5: note: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) user.cpp:53:35: error: no matching function for call to ‘max(int&, char&)’ user.cpp:53:35: note: candidates are: /usr/include/c++/4.6/bits/stl_algobase.h:210:5: note: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) /usr/include/c++/4.6/bits/stl_algobase.h:254:5: note: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) user.cpp:59:48: error: no matching function for call to ‘max(int&, const char&)’ user.cpp:59:48: note: candidates are: /usr/include/c++/4.6/bits/stl_algobase.h:210:5: note: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) /usr/include/c++/4.6/bits/stl_algobase.h:254:5: note: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)