Borderou de evaluare (job #481634)
Utilizator | Data | 1 septembrie 2010 02:53:55 | |
---|---|---|---|
Problema | Logic | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:97:2: warning: no newline at end of file
user.cpp:5: error: 'int index' redeclared as different kind of symbol
/usr/include/string.h:310: error: previous declaration of 'char* index(const char*, int)'
user.cpp: In function 'int checkVariables()':
user.cpp:15: error: assignment of function 'char* index(const char*, int)'
user.cpp:15: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment
user.cpp:19: error: ISO C++ forbids incrementing a pointer of type 'char* (*)(const char*, int)throw ()'
user.cpp:19: error: lvalue required as increment operand
user.cpp:27: error: ISO C++ forbids comparison between pointer and integer
user.cpp: In function 'int solve()':
user.cpp:62: error: invalid operands of types 'int' and 'char* ()(const char*, int)throw ()' to binary 'operator<<'
user.cpp:64: error: ISO C++ forbids comparison between pointer and integer
user.cpp:65: warning: array subscript has type 'char'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !