Borderou de evaluare (job #631737)
Utilizator | Data | 9 noiembrie 2011 18:40:48 | |
---|---|---|---|
Problema | Text3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:15: warning: array subscript has type ‘char’
user.cpp:16: warning: array subscript has type ‘char’
user.cpp:16: warning: array subscript has type ‘char’
user.cpp:16: warning: array subscript has type ‘char’
user.cpp:17: warning: array subscript has type ‘char’
user.cpp:17: error: reference to ‘max’ is ambiguous
user.cpp:5: error: candidates are: int max
/usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
/usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
user.cpp:17: error: reference to ‘max’ is ambiguous
user.cpp:5: error: candidates are: int max
/usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
/usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
user.cpp:17: error: reference to ‘max’ is ambiguous
user.cpp:5: error: candidates are: int max
/usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
/usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
user.cpp:17: error: reference to ‘max’ is ambiguous
user.cpp:5: error: candidates are: int max
/usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
/usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
user.cpp:17: warning: array subscript has type ‘char’
user.cpp:18: warning: array subscript has type ‘char’
user.cpp:18: warning: array subscript has type ‘char’
user.cpp:19: warning: array subscript has type ‘char’
user.cpp:19: warning: array subscript has type ‘char’
user.cpp:20: error: reference to ‘max’ is ambiguous
user.cpp:5: error: candidates are: int max
/usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
/usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
user.cpp:20: error: reference to ‘max’ is ambiguous
user.cpp:5: error: candidates are: int max
/usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
/usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
user.cpp:21: error: reference to ‘max’ is ambiguous
user.cpp:5: error: candidates are: int max
/usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
/usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
user.cpp:21: error: reference to ‘max’ is ambiguous
user.cpp:5: error: candidates are: int max
/usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
/usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
user.cpp:22: error: reference to ‘max’ is ambiguous
user.cpp:5: error: candidates are: int max
/usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
/usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
user.cpp:22: error: reference to ‘max’ is ambiguous
user.cpp:5: error: candidates are: int max
/usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !