Borderou de evaluare (job #438397)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Secvențe (clasa a 8-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 22 feb. 2019 17:45:39 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:50: 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:17: error: overloaded function with no contextual type information
user.cpp:23:25: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator==’
user.cpp:24:29: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator%’
user.cpp:26:28: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator/’
user.cpp:26:28: error: in evaluation of ‘operator/=(int, <unresolved overloaded function type>)’
user.cpp:29:29: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator%’
user.cpp:31:28: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator/’
user.cpp:31:28: error: in evaluation of ‘operator/=(int, <unresolved overloaded function type>)’
user.cpp:34:20: error: no post-increment operator for type