Borderou de evaluare (job #1168320)
Utilizator | 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?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !