Borderou de evaluare (job #1904557)

Utilizator bt.panteaPantea Beniamin bt.pantea Data 5 martie 2017 17:18:50
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:12:17: error: ‘int index’ redeclared as different kind of symbol int n, m, x, y, index; ^ In file included from /usr/include/c++/4.8/cstring:42:0, from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:48, from user.cpp:1: /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 tarjan(int)’: user.cpp:15:29: error: cannot resolve overloaded function ‘index’ based on conversion to type ‘__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}’ idx[nod] = lowlink[nod] = index; ^ user.cpp:16:10: error: no post-increment operator for type index++; ^

Ceva nu functioneaza?