Borderou de evaluare (job #1993617)
Utilizator | Data | 23 iunie 2017 13:29:58 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:15:21: error: size of array ‘D’ is too large
int D[100005][100005], Vizitat[100005], N, M;
^
user.cpp: In function ‘void Read()’:
user.cpp:23:9: error: ‘D’ was not declared in this scope
D[x][y] = D[y][x] = 1;
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:30:31: error: ‘D’ was not declared in this scope
if(Vizitat[i] == 0 && D[nod][i])
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !