Borderou de evaluare (job #508732)
Utilizator | Data | 9 decembrie 2010 16:45:49 | |
---|---|---|---|
Problema | Secvdist | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:53:2: warning: no newline at end of file
user.cpp:4: 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 'void solve()':
user.cpp:27: error: assignment of function 'char* index(const char*, int)'
user.cpp:27: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment
user.cpp:38: error: invalid operands of types 'int' and 'char* ()(const char*, int)throw ()' to binary 'operator-'
user.cpp:39: error: invalid operands of types 'int' and 'char* ()(const char*, int)throw ()' to binary 'operator-'
user.cpp:45: error: assignment of function 'char* index(const char*, int)'
user.cpp:45: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment
user.cpp:48: error: assignment of function 'char* index(const char*, int)'
user.cpp:48: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !