Borderou de evaluare (job #544303)

Utilizator avatar sebigabi Itu Sebastian sebigabi IP ascuns
Problemă Cartier (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 17 mar. 2020 14:24:56 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:7:32: 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:25:23: error: overloaded function with no contextual type information user.cpp:26:21: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator%’ user.cpp:28:16: error: no post-decrement operator for type user.cpp:30:22: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator/’ user.cpp:32:25: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’ user.cpp:33:33: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator/’ user.cpp:37:31: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator/’ user.cpp:38:27: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator+’ user.cpp:38:27: error: in evaluation of ‘operator+=(int, <unresolved overloaded function type>)’