Borderou de evaluare (job #1166444)

Utilizator federerUAIC-Padurariu-Cristian federer Data 3 aprilie 2014 16:31:16
Problema Padure Status done
Runda Teme Pregatire ACM Unibuc 2013 Semestrul 2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void bfs(int, int)’: user.cpp:24:7: error: ‘u’ was not declared in this scope Q[(++u) % 1000] = C; ^ user.cpp:25:9: error: ‘p’ was not declared in this scope while (p!=u) ^ user.cpp:31:10: error: ‘a’ was not declared in this scope if (v[a][b] == v[a + dx[i]][b + dy[i]]) ^ user.cpp:31:13: error: ‘b’ was not declared in this scope if (v[a][b] == v[a + dx[i]][b + dy[i]]) ^ user.cpp:36:8: error: request for member ‘push’ in ‘Q’, which is of non-class type ‘coada [1001]’ Q.push(make_pair(a + dx[i], b + dy[i])); ^ user.cpp:43:8: error: request for member ‘push’ in ‘Q’, which is of non-class type ‘coada [1001]’ Q.push(make_pair(a + dx[i], b + dy[i])); ^ user.cpp: In function ‘int main()’: user.cpp:57:13: error: ‘INT_MAX’ was not declared in this scope m[i][j] = INT_MAX; ^

Ceva nu functioneaza?