Borderou de evaluare (job #536201)
Utilizator | Data | 18 februarie 2011 13:16:58 | |
---|---|---|---|
Problema | Numere 6 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:52:2: warning: no newline at end of file
user.cpp:7: error: 'short int div [10]' redeclared as different kind of symbol
/usr/include/stdlib.h:706: error: previous declaration of 'div_t div(int, int)'
user.cpp: In function 'void divider()':
user.cpp:11: error: pointer to a function used in arithmetic
user.cpp:11: error: assignment of read-only location
user.cpp:11: error: cannot convert 'int' to 'div_t ()(int, int)' in assignment
user.cpp:12: error: pointer to a function used in arithmetic
user.cpp:12: error: assignment of function 'div_t div(int, int)'
user.cpp:12: error: cannot convert 'int' to 'div_t ()(int, int)throw ()' in assignment
user.cpp:17: error: pointer to a function used in arithmetic
user.cpp:17: error: increment of read-only location
user.cpp:17: error: ISO C++ forbids incrementing a pointer of type 'div_t (*)(int, int)throw ()'
user.cpp:17: error: lvalue required as increment operand
user.cpp: In function 'void dinamique()':
user.cpp:35: error: pointer to a function used in arithmetic
user.cpp:35: error: ISO C++ forbids comparison between pointer and integer
user.cpp:35: error: pointer to a function used in arithmetic
user.cpp:35: error: invalid operands of types 'short int' and 'div_t ()(int, int)' to binary 'operator*'
user.cpp:37: error: pointer to a function used in arithmetic
user.cpp:37: error: invalid operands of types 'short int' and 'div_t ()(int, int)' to binary 'operator*'
user.cpp:38: error: pointer to a function used in arithmetic
user.cpp:38: error: invalid operands of types 'short int' and 'div_t ()(int, int)' to binary 'operator*'
user.cpp:39: error: pointer to a function used in arithmetic
user.cpp:39: error: invalid operands of types 'short int' and 'div_t ()(int, int)' to binary 'operator*'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !