Borderou de evaluare (job #392849)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | 5div | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 oct. 2018 16:21:14 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:11: 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:12:13: error: overloaded function with no contextual type information
user.cpp:15:21: error: overloaded function with no contextual type information
user.cpp:16:20: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>’
user.cpp:19:16: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>’