Borderou de evaluare (job #542315)

Utilizator avatar Vasile_Andrei Vasile Andrei Calin Vasile_Andrei IP ascuns
Problemă Divizori (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 13 mar. 2020 14:21:13 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:34:54: error: ‘long long 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:72:20: error: overloaded function with no contextual type information user.cpp:73:16: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘long long int’ to binary ‘operator>’ user.cpp:75:18: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘long long int’ user.cpp:78:11: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘long long int’ user.cpp:83:20: error: overloaded function with no contextual type information user.cpp:85:11: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘long long int’ user.cpp:87:15: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator==’