Borderou de evaluare (job #1037321)
Utilizator | Data | 20 noiembrie 2013 00:30:15 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:21: error: size of array ‘v’ is too large
int v[100005][100005],viz[100005],m,n;
^
user.cpp: In function ‘void citire()’:
user.cpp:15:9: error: ‘v’ was not declared in this scope
v[x][y]=1;
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:25:21: error: ‘v’ was not declared in this scope
if(!viz[i]&&v[nod][i])
^
user.cpp: In function ‘int main()’:
user.cpp:36:10: warning: unused variable ‘j’ [-Wunused-variable]
int j;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !