Borderou de evaluare (job #525084)

Utilizator avatar Miha3la Sanda Popescu Miha3la IP ascuns
Problemă Numere 4 (clasa a 5-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 6 feb. 2020 12:13:55 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:9: 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:18:13: error: overloaded function with no contextual type information user.cpp:32:19: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator%' user.cpp:34:20: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator/' user.cpp:34:20: error: in evaluation of 'operator/=(int, <unresolved overloaded function type>)' user.cpp:37:19: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator%' user.cpp:51:18: error: overloaded function with no contextual type information