Borderou de evaluare (job #1666712)
Utilizator | Data | 28 martie 2016 12:16:07 | |
---|---|---|---|
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 DFS(int)’:
user.cpp:16:16: warning: unused variable ‘nod’ [-Wunused-variable]
lista *p, *nod;
^
user.cpp: At global scope:
user.cpp:28:10: error: variable or field ‘add’ declared void
void add(nod &sursa, int dest)
^
user.cpp:28:10: error: ‘nod’ was not declared in this scope
user.cpp:28:15: error: ‘sursa’ was not declared in this scope
void add(nod &sursa, int dest)
^
user.cpp:28:22: error: expected primary-expression before ‘int’
void add(nod &sursa, int dest)
^
user.cpp: In function ‘int main()’:
user.cpp:43:20: error: ‘add’ was not declared in this scope
add(g[x], y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !