Borderou de evaluare (job #311179)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Munți (clasa a 5-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 24 aug. 2017 15:43:44 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:24: error: no matching function for call to ‘max(int&, short int&)’
user.cpp:43:24: 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:57:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]