Borderou de evaluare (job #1734787)
Utilizator | Data | 28 iulie 2016 11:37:18 | |
---|---|---|---|
Problema | Matrice 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:13:46: error: size of array ‘mat’ is too large
int father[MaxN], depth[MaxN], mat[MaxN][MaxN];
^
user.cpp: In function ‘int main()’:
user.cpp:101:5: error: ‘mat’ was not declared in this scope
mat[v[i - 1].x][v[i - 1].y] = i;
^
user.cpp:107:16: error: ‘mat’ was not declared in this scope
int pos1 = mat[a][b];
^
user.cpp:128:14: error: ‘mat’ was not declared in this scope
father[mat[itV.x][itV.y]] = mat[itV.x][itV.y];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !