Borderou de evaluare (job #138945)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Divizori (clasa a 6-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 30 mar. 2015 22:38:35 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:30: 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:33:19: error: overloaded function with no contextual type information
user.cpp:40:30: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator*’
user.cpp:42:30: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator*’
user.cpp:43:17: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’
user.cpp:44:22: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>’
user.cpp:44:35: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’
user.cpp:45:32: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator==’
user.cpp:47:26: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator!=’
user.cpp:50:25: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator/’
user.cpp:55:19: error: overloaded function with no contextual type information
user.cpp:62:30: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator*’
user.cpp:64:30: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator*’
user.cpp:65:22: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>’
user.cpp:65:35: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’
user.cpp:66:32: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator==’
user.cpp:67:24: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator!=’
user.cpp:69:21: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’
user.cpp:70:21: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’
user.cpp:72:19: error: overloaded function with no contextual type information
user.cpp:79:30: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator*’
user.cpp:81:30: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator*’
user.cpp:82:22: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>’
user.cpp:82:35: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’
user.cpp:83:32: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator==’