Borderou de evaluare (job #526242)

Utilizator ucc_5Usurelu Catalin ucc_5 Data 27 ianuarie 2011 20:08:39
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:14: 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:26: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int' user.cpp:27: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int' user.cpp:28: error: pointer to a function used in arithmetic user.cpp:28: error: assignment of function 'char* index(const char*, int)' user.cpp:28: error: cannot convert 'char* (*)(const char*, int)throw ()' to 'char* ()(const char*, int)throw ()' in assignment user.cpp:33: warning: comparison between signed and unsigned integer expressions user.cpp: In function 'void ctc_tarjan()': user.cpp:49: error: assignment of function 'char* index(const char*, int)' user.cpp:49: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment user.cpp: In function 'void afiseaza()': user.cpp:93: warning: comparison between signed and unsigned integer expressions user.cpp:96: warning: comparison between signed and unsigned integer expressions

Ceva nu functioneaza?