Borderou de evaluare (job #1628775)
Utilizator | Data | 4 martie 2016 10:32:15 | |
---|---|---|---|
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:15:29: error: too many arguments to function ‘void dfs(int)’
dfs(*it, G, seen);
^
user.cpp:8:6: note: declared here
void dfs(int nod)
^
user.cpp: In function ‘int main()’:
user.cpp:41:27: error: too many arguments to function ‘void dfs(int)’
dfs(i, G, seen);
^
user.cpp:8:6: note: declared here
void dfs(int nod)
^
user.cpp:24:18: warning: unused variable ‘j’ [-Wunused-variable]
int N, M, i, j, x, y;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !