Borderou de evaluare (job #122980)

Utilizator avatar NicolaAlexandra Nicola Alexnadra- Mihaela NicolaAlexandra IP ascuns
Problemă Divizor (clasa a 5-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 25 feb. 2015 11:27:04 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:34: 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:45:15: error: overloaded function with no contextual type information user.cpp:47:18: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>’ user.cpp:49:21: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’