Borderou de evaluare (job #521165)

Utilizator avatar alexe_paul Alexe Paul alexe_paul IP ascuns
Problemă Jbird (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 23 ian. 2020 19:01:43 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'int32_t main()': user.cpp:25:47: error: no matching function for call to 'max(long long int, int)' user.cpp:25:47: 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) /usr/include/c++/4.6/bits/stl_algo.h:4194:5: note: template<class _Tp> _Tp std::max(std::initializer_list<_Tp>) /usr/include/c++/4.6/bits/stl_algo.h:4199:5: note: template<class _Tp, class _Compare> _Tp std::max(std::initializer_list<_Tp>, _Compare) user.cpp:26:38: error: no matching function for call to 'max(long long int, int)' user.cpp:26:38: 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) /usr/include/c++/4.6/bits/stl_algo.h:4194:5: note: template<class _Tp> _Tp std::max(std::initializer_list<_Tp>) /usr/include/c++/4.6/bits/stl_algo.h:4199:5: note: template<class _Tp, class _Compare> _Tp std::max(std::initializer_list<_Tp>, _Compare)