Borderou de evaluare (job #445000)

Utilizator victor_u_roVictor Ungureanu victor_u_ro Data 22 aprilie 2010 13:44:41
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 dfs(int, std::vector<int, std::allocator<int> >*)': user.cpp:59: warning: comparison between signed and unsigned integer expressions user.cpp: In function 'void dfsT(int, std::vector<int, std::allocator<int> >*)': user.cpp:74: warning: comparison between signed and unsigned integer expressions user.cpp: In function 'void tarjan(int)': user.cpp:119: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int' user.cpp:120: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int' user.cpp:121: error: ISO C++ forbids incrementing a pointer of type 'char* (*)(const char*, int)throw ()' user.cpp:121: error: lvalue required as increment operand user.cpp: In function 'void ctc_tarjan()': user.cpp:163: error: assignment of function 'char* index(const char*, int)' user.cpp:163: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment

Ceva nu functioneaza?