Borderou de evaluare (job #1835703)

Utilizator bent_larsenSturzu Antonio-Gabriel bent_larsen Data 27 decembrie 2016 12:48:18
Problema Tablete Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:7:19: error: size of array ‘mat’ is too large int mat[nmax][nmax]; ^ user.cpp: In function ‘void solve(int, int)’: user.cpp:19:6: error: ‘mat’ was not declared in this scope mat[i][j] = cur; ^ user.cpp:31:6: error: ‘mat’ was not declared in this scope mat[i][j] = cur; ^ user.cpp:36:4: error: ‘mat’ was not declared in this scope mat[N - 1][0] = 1; ^ user.cpp:63:6: error: ‘mat’ was not declared in this scope mat[i][j] = cur; ^ user.cpp:72:5: error: ‘mat’ was not declared in this scope mat[N - 1][i] = v[i]; ^ user.cpp:74:4: error: ‘mat’ was not declared in this scope mat[N - 1][N - 1] = N * N; ^ user.cpp:86:6: error: ‘mat’ was not declared in this scope mat[i][j] = cur; ^ user.cpp:95:5: error: ‘mat’ was not declared in this scope mat[N - 1][i] = v[i]; ^ user.cpp:98:15: error: ‘mat’ was not declared in this scope int elem = mat[N - 1][K - 1]; ^ user.cpp: In function ‘int main()’: user.cpp:132:9: error: ‘mat’ was not declared in this scope out<<mat[i][j]<<" "; ^

Ceva nu functioneaza?