Borderou de evaluare (job #338375)

Utilizator avatar mircearoata Mircea Roata Palade mircearoata IP ascuns
Problemă Divizori (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 9 ian. 2018 18:09:08 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:11:29: 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:59:30: error: overloaded function with no contextual type information user.cpp:60:20: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>’ user.cpp:62:22: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’ user.cpp:65:26: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator==’ user.cpp:69:18: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’ user.cpp:71:19: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘bool’ user.cpp:74:22: error: overloaded function with no contextual type information user.cpp:79:20: error: overloaded function with no contextual type information user.cpp:80:15: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator!=’ user.cpp:82:12: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’ user.cpp:83:25: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’ user.cpp:84:16: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>’ user.cpp:86:18: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’ user.cpp:89:22: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator==’