Borderou de evaluare (job #138575)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Numere Binare | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 29 mar. 2015 21:43:11 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:17: 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:22:9: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator*’
user.cpp:25:9: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator/’
user.cpp:31:11: error: cannot resolve overloaded function ‘div’ based on conversion to type ‘int’