Borderou de evaluare (job #179872)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Divizori (clasa a 6-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 13 ian. 2016 10:42:10 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:51: 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:30:13: error: overloaded function with no contextual type information
user.cpp:40:26: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator*’
user.cpp:43:18: error: overloaded function with no contextual type information
user.cpp:44:20: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator==’
user.cpp:46:16: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>’
user.cpp:47:21: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’
user.cpp:50:21: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator==’
user.cpp:56:16: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’