Borderou de evaluare (job #527137)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Matrice Spirală (clasa a 6-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 13 feb. 2020 16:16:05 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void spiralMatrix(long long int)’:
user.cpp:13:69: error: no matching function for call to ‘max(const int&, const long long int&)’
user.cpp:13:69: 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)