Borderou de evaluare (job #444091)
Utilizator | Data | 19 aprilie 2010 13:07:58 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:35: 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:114: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int'
user.cpp:115: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int'
user.cpp:116: error: pointer to a function used in arithmetic
user.cpp:116: error: assignment of function 'char* index(const char*, int)'
user.cpp:116: error: cannot convert 'char* (*)(const char*, int)throw ()' to 'char* ()(const char*, int)throw ()' in assignment
user.cpp: In function 'void ctc_tarjan()':
user.cpp:148: error: assignment of function 'char* index(const char*, int)'
user.cpp:148: 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 !