Borderou de evaluare (job #561194)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Panglica (clasa a 5-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 22 iul. 2020 18:05:08 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:1: error: expected ‘;’ before ‘for’
user.cpp:12:13: warning: statement has no effect [-Wunused-value]
user.cpp:12:17: error: expected ‘;’ before ‘)’ token
user.cpp:18:25: error: reference to ‘max’ is ambiguous
user.cpp:3:14: error: candidates are: int max
/usr/include/c++/4.6/bits/stl_algobase.h:254:5: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
/usr/include/c++/4.6/bits/stl_algobase.h:210:5: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
user.cpp:19:5: error: reference to ‘max’ is ambiguous
user.cpp:3:14: error: candidates are: int max
/usr/include/c++/4.6/bits/stl_algobase.h:254:5: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
/usr/include/c++/4.6/bits/stl_algobase.h:210:5: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
user.cpp:20:7: error: reference to ‘max’ is ambiguous
user.cpp:3:14: error: candidates are: int max
/usr/include/c++/4.6/bits/stl_algobase.h:254:5: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
/usr/include/c++/4.6/bits/stl_algobase.h:210:5: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)