Borderou de evaluare (job #2278011)

Utilizator Alex03Runcan Alexandru Alex03 Data 7 noiembrie 2018 10:21:36
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:9:5: error: 'int index' redeclared as different kind of symbol int index; ^~~~~ In file included from /usr/include/c++/6/cstring:42:0, from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:48, from main.cpp:1: /usr/include/string.h:477:1: note: previous declaration 'const char* index(const char*, int)' index (const char *__s, int __c) __THROW ^~~~~ main.cpp: In function 'void tarjan(int, const std::vector<int>*)': main.cpp:33:27: error: cannot resolve overloaded function 'index' based on conversion to type '__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}' idx[n] = lowlink[n] = index; ^~~~~ main.cpp:34:10: error: no post-increment operator for type index++; ^~ Non zero exit status: 1

Ceva nu functioneaza?