Borderou de evaluare (job #1641064)

Utilizator StanescuVictorStanescu Victor Laurentiu StanescuVictor Data 8 martie 2016 20:43:50
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void read()’: user.cpp:15:15: error: ‘n’ was not declared in this scope graph.resize(n); ^ user.cpp: In function ‘std::vector<unsigned int> depthFirstSearch(uint)’: user.cpp:28:27: error: ‘isValidVertex’ was not declared in this scope if (!isValidVertex(vertex)) ^ user.cpp:44:44: error: ‘getDegree’ was not declared in this scope for (index = 0; index < getDegree(element) && !found; index++) ^ user.cpp: In function ‘int main()’: user.cpp:83:7: error: ‘n’ was not declared in this scope read(n, m, graph); ^ user.cpp:83:10: error: ‘m’ was not declared in this scope read(n, m, graph); ^

Ceva nu functioneaza?