Borderou de evaluare (job #1181837)

Utilizator toncuvasileToncu Vasile toncuvasile Data 3 mai 2014 22:39:13
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:11:21: error: size of array ‘A’ is too large int A[100005][100005]; ^ user.cpp: In function ‘void DFS(int)’: user.cpp:17:6: error: ‘A’ was not declared in this scope if(A[i][j]==1){ ^ user.cpp: In function ‘int main()’: user.cpp:33:3: error: ‘A’ was not declared in this scope A[x][y]=A[y][x]=1; ^ user.cpp:39:3: error: ‘A’ was not declared in this scope A[i][i]=1; ^ user.cpp:45:7: error: ‘A’ was not declared in this scope if(A[i][j]==1){ ^

Ceva nu functioneaza?