Borderou de evaluare (job #2167947)

Utilizator pibogaBogdan piboga Data 14 martie 2018 08:20:42
Problema Delfin Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:47: error: ‘NMAX’ was not declared in this scope void lee(char anim,punct s,char elem,int tabs[NMAX][NMAX]) //,tabs[NMAX][NMAX]) ^ user.cpp:10:53: error: ‘NMAX’ was not declared in this scope void lee(char anim,punct s,char elem,int tabs[NMAX][NMAX]) //,tabs[NMAX][NMAX]) ^ user.cpp: In function ‘void lee(...)’: user.cpp:12:5: error: ‘qu’ was not declared in this scope qu.pb({s.x,s.y}); ^ user.cpp:13:5: error: ‘tabs’ was not declared in this scope tabs[s.x][s.y]=1; ^ user.cpp:16:9: error: ‘x’ was not declared in this scope x=qu.front().x; ^ user.cpp:17:9: error: ‘y’ was not declared in this scope y=qu.front().y; ^ user.cpp:20:14: error: ‘idir’ was not declared in this scope for (idir=1;idir<=4;++idir) ^ user.cpp:22:13: error: ‘xnew’ was not declared in this scope xnew=x+dx[idir]; ^ user.cpp:22:20: error: ‘dx’ was not declared in this scope xnew=x+dx[idir]; ^ user.cpp:23:13: error: ‘ynew’ was not declared in this scope ynew=y+dy[idir]; ^ user.cpp:23:20: error: ‘dy’ was not declared in this scope ynew=y+dy[idir]; ^ user.cpp:24:13: error: ‘car’ was not declared in this scope car=a[xnew][ynew]; ^ user.cpp:24:17: error: ‘a’ was not declared in this scope car=a[xnew][ynew]; ^ user.cpp:25:22: error: ‘elem’ was not declared in this scope if (car==elem) ^ user.cpp:27:34: error: ‘tab’ was not declared in this scope tabs[xnew][ynew]=tab[x][y]+1; ^ user.cpp:32:21: error: ‘anim’ was not declared in this scope if (anim=='F') ^ user.cpp:34:21: error: ‘quf’ was not declared in this scope

Ceva nu functioneaza?