Borderou de evaluare (job #2130297)

Utilizator antanaAntonia Boca antana Data 13 februarie 2018 16:33:31
Problema Drumuri5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:15:19: error: ‘int index’ redeclared as different kind of symbol int ctc, n, m, k, index, low[maxn], topo[maxn], id[maxn], st[maxn], c[maxn], in[maxn]; ^ In file included from /usr/include/c++/5/cstring:42:0, from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:48, from user.cpp:1: /usr/include/string.h:477:1: note: previous declaration ‘const char* index(const char*, int)’ index (const char *__s, int __c) __THROW ^ user.cpp: In function ‘void stronglyConnectedComponents(int)’: user.cpp:20:10: error: no post-increment operator for type index++; ^ user.cpp:22:30: error: cannot resolve overloaded function ‘index’ based on conversion to type ‘int’ id[ node ] = low[ node ] = index; ^

Ceva nu functioneaza?