Borderou de evaluare (job #2023404)

Utilizator GramaDavidGrama David Sebastian GramaDavid Data 18 septembrie 2017 21:39:24
Problema Alee Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:38: error: declaration of ‘mat’ as multidimensional array must have bounds for all dimensions except the first bool OK (int x,int y,int n,int mat[][]) ^ user.cpp: In function ‘bool OK(...)’: user.cpp:10:8: error: ‘x’ was not declared in this scope if(x<1||x>n||y<1||y>n){ ^ user.cpp:10:15: error: ‘n’ was not declared in this scope if(x<1||x>n||y<1||y>n){ ^ user.cpp:10:18: error: ‘y’ was not declared in this scope if(x<1||x>n||y<1||y>n){ ^ user.cpp:13:8: error: ‘mat’ was not declared in this scope if(mat[x][y]==-1){ ^ user.cpp:13:12: error: ‘x’ was not declared in this scope if(mat[x][y]==-1){ ^ user.cpp:13:15: error: ‘y’ was not declared in this scope if(mat[x][y]==-1){ ^

Ceva nu functioneaza?