Borderou de evaluare (job #232988)

Utilizator avatar mircearoata Mircea Roata Palade mircearoata IP ascuns
Problemă 3numere Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 9 apr. 2016 15:31:19 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:5: 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:29:9: error: overloaded function with no contextual type information user.cpp:35:17: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator%’ user.cpp:35:27: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator%’ user.cpp:35:36: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator%’ user.cpp:37:18: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator%’ user.cpp:40:21: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator/’ user.cpp:42:18: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator%’ user.cpp:45:21: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator/’ user.cpp:47:18: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator%’ user.cpp:50:21: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator/’ user.cpp:53:18: error: invalid types ‘int [450000][<unresolved overloaded function type>]’ for array subscript user.cpp:54:18: error: invalid types ‘int [450000][<unresolved overloaded function type>]’ for array subscript user.cpp:55:18: error: invalid types ‘int [450000][<unresolved overloaded function type>]’ for array subscript user.cpp:56:12: error: no post-increment operator for type user.cpp:57:23: error: invalid types ‘int [450000][<unresolved overloaded function type>]’ for array subscript user.cpp:59:16: error: no post-increment operator for type user.cpp:62:20: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator<=’