Borderou de evaluare (job #2227132)

Utilizator Andrei-27Arhire Andrei Andrei-27 Data 31 iulie 2018 13:08:31
Problema Padure Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:17: error: size of array ‘a’ is too large int a[NR][NR],b[NR][NR],cnt=1,n,m,cl,cc,pc,pl,coada[NR],v[NR]; ^ user.cpp:8:27: error: size of array ‘b’ is too large int a[NR][NR],b[NR][NR],cnt=1,n,m,cl,cc,pc,pl,coada[NR],v[NR]; ^ user.cpp: In function ‘void citire()’: user.cpp:20:39: error: ‘a’ was not declared in this scope for(int j=0;j<m;j++) fin>>a[i][j]; ^ user.cpp: In function ‘void lee1(int, int)’: user.cpp:29:5: error: ‘b’ was not declared in this scope b[x][y]=cnt; ^ user.cpp:32:16: error: ‘a’ was not declared in this scope if(a[x+di[d]][y+dj[d]]==a[x][y]&&!b[x+di[d]][y+dj[d]]) lee1(x+di[d],y+dj[d]);} ^ user.cpp: In function ‘void lee()’: user.cpp:36:13: error: ‘b’ was not declared in this scope if(!b[i][j]) ^ user.cpp: In function ‘void lee2()’: user.cpp:47:24: error: ‘b’ was not declared in this scope if(b[i][j]!=b[i+di[d]][j+dj[d]]){ ^ user.cpp: In function ‘void bfs()’: user.cpp:53:14: error: ‘b’ was not declared in this scope coada[0]=b[pl][pc]; ^

Ceva nu functioneaza?