Borderou de evaluare (job #441330)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Amestec (clasa a 8-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 mar. 2019 14:13:50 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:94:35: error: no matching function for call to ‘max(int&, long long int&)’
user.cpp:94: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)
/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)