Borderou de evaluare (job #561521)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Panglica (clasa a 5-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 28 iul. 2020 16:17:40 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:1: error: expected ‘;’ before ‘for’
user.cpp:13:13: warning: statement has no effect [-Wunused-value]
user.cpp:13:17: error: expected ‘;’ before ‘)’ token
user.cpp:19:25: error: reference to ‘max’ is ambiguous
user.cpp:6:15: 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:5: error: reference to ‘max’ is ambiguous
user.cpp:6:15: 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:21:7: error: reference to ‘max’ is ambiguous
user.cpp:6:15: 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&)