Borderou de evaluare (job #1434509)

Utilizator iacovladNot Available iacovlad Data 10 mai 2015 18:51:50
Problema BFS - Parcurgere in latime Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:31: error: size of array ‘a’ is too large int c[100000],a[100000][100000],viz[100000]; ^ user.cpp: In function ‘void bfs(unsigned int, unsigned int)’: user.cpp:12:12: error: ‘a’ was not declared in this scope if(a[i][j]==1&&viz[j]!=1) ^ user.cpp: In function ‘int citire()’: user.cpp:33:7: error: ‘x’ was not declared in this scope f>>x>>y; ^ user.cpp:33:10: error: ‘y’ was not declared in this scope f>>x>>y; ^ user.cpp:34:4: error: ‘a’ was not declared in this scope a[x][y]=1; ^

Ceva nu functioneaza?