Borderou de evaluare (job #709804)
Utilizator | Data | 8 martie 2012 16:45:28 | |
---|---|---|---|
Problema | Triunghi2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int calc(int)’:
user.cpp:14: error: ‘abs’ was not declared in this scope
user.cpp:14: error: ‘sqrt’ was not declared in this scope
user.cpp: In function ‘int aria(int)’:
user.cpp:48: error: ‘abs’ was not declared in this scope
user.cpp:48: error: ‘sqrt’ was not declared in this scope
user.cpp:53: error: reference to ‘max’ is ambiguous
user.cpp:8: error: candidates are: float 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:53: error: reference to ‘max’ is ambiguous
user.cpp:8: error: candidates are: float 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:56: error: reference to ‘max’ is ambiguous
user.cpp:8: error: candidates are: float 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:56: error: reference to ‘max’ is ambiguous
user.cpp:8: error: candidates are: float 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:47: warning: unused variable ‘j’
user.cpp:60: warning: no return statement in function returning non-void
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !