Borderou de evaluare (job #551640)

Utilizator avatar mihaigheorghe mihaigheorghe mihaigheorghe IP ascuns
Problemă Factori (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 8 apr. 2020 20:03:13 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:12: 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:15:9: error: overloaded function with no contextual type information user.cpp:16:16: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator<=’ user.cpp:17:20: error: invalid types ‘int [60001][<unresolved overloaded function type>]’ for array subscript user.cpp:18:15: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’ user.cpp:22:20: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator*’ user.cpp:22:20: error: in evaluation of ‘operator*=(int, <unresolved overloaded function type>)’ user.cpp:26:12: error: no post-increment operator for type