Borderou de evaluare (job #290976)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Divizor (clasa a 5-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 mar. 2017 19:30:16 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:72: error: 'int div' redeclared as different kind of symbol
/usr/include/stdlib.h:785:14: error: previous declaration of 'div_t div(int, int)'
user.cpp: In function 'int main()':
user.cpp:63:22: error: no matching function for call to 'max(<unresolved overloaded function type>, int&)'
user.cpp:63:22: note: candidates are:
/usr/include/c++/4.6/bits/stl_algobase.h:210:5: note: const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = int]
/usr/include/c++/4.6/bits/stl_algobase.h:210:5: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'const int&'
/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)
user.cpp:76:22: error: no matching function for call to 'max(<unresolved overloaded function type>, int&)'
user.cpp:76:22: note: candidates are:
/usr/include/c++/4.6/bits/stl_algobase.h:210:5: note: const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = int]
/usr/include/c++/4.6/bits/stl_algobase.h:210:5: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'const int&'
/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)
user.cpp:77:21: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator+'