Borderou de evaluare (job #1168320)

Utilizator John_the_BraveJohn Abruzzi John_the_Brave Data 8 aprilie 2014 00:34:44
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void tarjan(int, const std::vector<int>*, int&)’: user.cpp:57:37: error: invalid initialization of non-const reference of type ‘int&’ from an rvalue of type ‘int’ tarjan(*it, adj, indx++ ), ^ user.cpp:49:6: error: in passing argument 3 of ‘void tarjan(int, const std::vector<int>*, int&)’ void tarjan(const int n, const vector <int>* adj, int& indx) ^

Ceva nu functioneaza?