Borderou de evaluare (job #246826)

Utilizator avatar mircearoata Mircea Roata Palade mircearoata IP ascuns
Problemă Numere 6 (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 10 sept. 2016 17:43:35 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:32: error: ‘int abs’ redeclared as different kind of symbol /usr/include/stdlib.h:771:12: error: previous declaration of ‘int abs(int)’ user.cpp: In function ‘int main()’: user.cpp:62:38: error: overloaded function with no contextual type information user.cpp:63:20: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>’ user.cpp:65:22: error: cannot resolve overloaded function ‘abs’ based on conversion to type ‘int’