Borderou de evaluare (job #1745478)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 21 august 2016 23:28:40
Problema Plan Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:17:22: error: ‘int index’ redeclared as different kind of symbol int order[1 + MAXN], index = 0, components = 0; ^ In file included from /usr/include/c++/4.8/cstring:42:0, from user.cpp:4: /usr/include/string.h:482:1: error: previous declaration of ‘const char* index(const char*, int)’ index (__const char *__s, int __c) __THROW ^ user.cpp: In function ‘void DFS(int)’: user.cpp:28:10: error: no post-increment operator for type index++; ^ user.cpp:29:16: error: invalid types ‘int [256][<unresolved overloaded function type>]’ for array subscript order[index] = node; ^ user.cpp: In function ‘int main()’: user.cpp:133:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < matchingEdges.size() - 1; i++) ^

Ceva nu functioneaza?