Borderou de evaluare (job #1265175)
Utilizator | Data | 16 noiembrie 2014 20:31:04 | |
---|---|---|---|
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 ‘int main()’:
user.cpp:28:9: warning: unused variable ‘T’ [-Wunused-variable]
int T[n+1], niv[n+1], L[n+1];
^
user.cpp:28:17: warning: unused variable ‘niv’ [-Wunused-variable]
int T[n+1], niv[n+1], L[n+1];
^
user.cpp:28:27: warning: unused variable ‘L’ [-Wunused-variable]
int T[n+1], niv[n+1], L[n+1];
^
user.cpp:29:10: warning: unused variable ‘S’ [-Wunused-variable]
bool S[n+1];
^
user.cpp: In function ‘void Dfs(int)’:
user.cpp:52:5: error: ‘S’ was not declared in this scope
S[x] = true;
^
user.cpp:53:5: error: ‘L’ was not declared in this scope
L[x] = niv[x];
^
user.cpp:53:12: error: ‘niv’ was not declared in this scope
L[x] = niv[x];
^
user.cpp:57:13: error: ‘T’ was not declared in this scope
T[*it] = x;
^
user.cpp:80:25: error: ‘T’ was not declared in this scope
if ( *it != T[x] ) //back edge
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !