Borderou de evaluare (job #439957)
Utilizator | Data | 11 aprilie 2010 20:59:11 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:28: 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 tarjan(int)':
user.cpp:51: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int'
user.cpp:52: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int'
user.cpp:53: error: ISO C++ forbids incrementing a pointer of type 'char* (*)(const char*, int)throw ()'
user.cpp:53: error: lvalue required as increment operand
user.cpp:56: warning: comparison between signed and unsigned integer expressions
user.cpp: In function 'void ctc_tarjan()':
user.cpp:80: error: assignment of function 'char* index(const char*, int)'
user.cpp:80: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment
user.cpp: In function 'void print_sol(const char*)':
user.cpp:98: warning: comparison between signed and unsigned integer expressions
user.cpp:99: warning: comparison between signed and unsigned integer expressions
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !