Borderou de evaluare (job #2322228)

Utilizator toadehuPuscasu Razvan Stefan toadehu Data 17 ianuarie 2019 16:36:48
Problema Taxa Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:9:7: error: 'NMAX' was not declared in this scope int a[NMAX+5][NMAX+5],d[NMAX+5][NMAX+5]; ^~~~ main.cpp:9:15: error: 'NMAX' was not declared in this scope int a[NMAX+5][NMAX+5],d[NMAX+5][NMAX+5]; ^~~~ main.cpp:9:25: error: 'NMAX' was not declared in this scope int a[NMAX+5][NMAX+5],d[NMAX+5][NMAX+5]; ^~~~ main.cpp:9:33: error: 'NMAX' was not declared in this scope int a[NMAX+5][NMAX+5],d[NMAX+5][NMAX+5]; ^~~~ main.cpp: In function 'void Lee(int, int, int)': main.cpp:25:9: error: 'd' was not declared in this scope if (d[i][j]==-1) ^ main.cpp:27:13: error: 'a' was not declared in this scope if (a[i][j]==a[temp.first][temp.second]) ^ main.cpp: In function 'void solv()': main.cpp:52:17: error: 'd' was not declared in this scope d[i][j]=-1; ^ main.cpp:62:17: error: 'd' was not declared in this scope if (d[temp.first][temp.second]==-1) ^ main.cpp:66:17: error: 'd' was not declared in this scope if (d[fx][fy]!=-1) ^ main.cpp: In function 'int main()': main.cpp:83:18: error: 'a' was not declared in this scope fin>>a[i][j]; ^ main.cpp:87:11: error: 'd' was not declared in this scope fout<<d[fx][fy]<<"\n"; ^ Non zero exit status: 1

Ceva nu functioneaza?