Borderou de evaluare (job #2244370)

Utilizator razvan1403razvan razvan1403 Data 22 septembrie 2018 17:33:51
Problema Ferma3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:7: error: ‘NMAX’ does not name a type const NMAX=405; ^~~~ user.cpp:12:27: error: ‘NMAX’ was not declared in this scope int numarul_zonei,matrice[NMAX][NMAX]; ^~~~ user.cpp:12:33: error: ‘NMAX’ was not declared in this scope int numarul_zonei,matrice[NMAX][NMAX]; ^~~~ user.cpp:13:17: error: ‘NMAX’ was not declared in this scope int matriceFill[NMAX][NMAX],d[NMAX*NMAX]; ^~~~ user.cpp:13:23: error: ‘NMAX’ was not declared in this scope int matriceFill[NMAX][NMAX],d[NMAX*NMAX]; ^~~~ user.cpp:13:31: error: ‘NMAX’ was not declared in this scope int matriceFill[NMAX][NMAX],d[NMAX*NMAX]; ^~~~ user.cpp:13:36: error: ‘NMAX’ was not declared in this scope int matriceFill[NMAX][NMAX],d[NMAX*NMAX]; ^~~~ user.cpp: In function ‘bool OK(int, int)’: user.cpp:19:8: error: ‘matriceFill’ was not declared in this scope if(matriceFill[i][j]==0) ^~~~~~~~~~~ user.cpp: In function ‘void algoritmFill(int, int)’: user.cpp:26:5: error: ‘matriceFill’ was not declared in this scope matriceFill[x][y]=numarul_zonei; ^~~~~~~~~~~ user.cpp:27:5: error: ‘d’ was not declared in this scope d[numarul_zonei]++; ^ user.cpp:28:9: error: ‘i’ was not declared in this scope for(i=0;i<4;i++) ^ user.cpp:32:28: error: ‘ok’ was not declared in this scope if(ok(noul_i,noul_j)&&matrice[x][y]==matrice[noul_i][noul_j]) ^ user.cpp:32:31: error: ‘matrice’ was not declared in this scope if(ok(noul_i,noul_j)&&matrice[x][y]==matrice[noul_i][noul_j]) ^~~~~~~ user.cpp:35:5: error: expected ‘;’ before ‘}’ token } ^ user.cpp: In function ‘int main()’: user.cpp:48:13: error: ‘matrice’ was not declared in this scope matrice[i][j]=(int) c; ^~~~~~~ user.cpp:55:17: error: ‘matrice’ was not declared in this scope if(!matrice[i][j])

Ceva nu functioneaza?