Borderou de evaluare (job #1036604)

Utilizator japjappedulapPotra Vlad japjappedulap Data 19 noiembrie 2013 14:51:40
Problema Heroes of Might & Magic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:15: error: declaration of ‘a’ as multidimensional array must have bounds for all dimensions except the first int a[DIM][DIM]; ^ user.cpp:9:20: error: declaration of ‘d’ as multidimensional array must have bounds for all dimensions except the first int d[DIM][DIM][DIM]; ^ user.cpp: In function ‘int main()’: user.cpp:20:21: error: ‘a’ was not declared in this scope if (a[i][j] == 0) ^ user.cpp:21:21: error: ‘d’ was not declared in this scope d[i][j][p] = d[i-1][j][p-1] + d[i+1][j][p-1] + d[i][j-1][p-1] + d[i][j+1][p-1]; ^ user.cpp:23:14: error: ‘d’ was not declared in this scope s += d[i2][j2][p]; ^ user.cpp: In function ‘void Read()’: user.cpp:36:19: error: ‘a’ was not declared in this scope is >> a[i][j]; ^ user.cpp:38:5: error: ‘d’ was not declared in this scope d[i1][j1][0] = 1; ^

Ceva nu functioneaza?