Borderou de evaluare (job #1350666)

Utilizator conttPop Mircea contt Data 20 februarie 2015 21:38:17
Problema Graf Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:16:27: error: ‘MAXN’ was not declared in this scope typedef vector<int> Graph[MAXN]; ^ user.cpp:21:1: error: ‘Graph’ does not name a type Graph G; ^ user.cpp:22:8: error: ‘MAXN’ was not declared in this scope int dx[MAXN], dy[MAXN], nod[MAXN], fr[MAXN]; ^ user.cpp:22:18: error: ‘MAXN’ was not declared in this scope int dx[MAXN], dy[MAXN], nod[MAXN], fr[MAXN]; ^ user.cpp:22:29: error: ‘MAXN’ was not declared in this scope int dx[MAXN], dy[MAXN], nod[MAXN], fr[MAXN]; ^ user.cpp:22:39: error: ‘MAXN’ was not declared in this scope int dx[MAXN], dy[MAXN], nod[MAXN], fr[MAXN]; ^ user.cpp: In function ‘void BFs(int, int*)’: user.cpp:28:21: error: ‘G’ was not declared in this scope for(It it = G[Node].begin(), fin = G[Node].end(); it != fin ; ++ it) ^ user.cpp:28:65: error: ‘fin’ was not declared in this scope for(It it = G[Node].begin(), fin = G[Node].end(); it != fin ; ++ it) ^ user.cpp: In function ‘int main()’: user.cpp:41:9: error: ‘G’ was not declared in this scope G[x].push_back(y); ^ user.cpp:44:12: error: ‘dx’ was not declared in this scope memset(dx, -1, sizeof(dx)); ^ user.cpp:44:30: error: ‘memset’ was not declared in this scope memset(dx, -1, sizeof(dx)); ^ user.cpp:45:12: error: ‘dy’ was not declared in this scope memset(dy, -1, sizeof(dy)); ^

Ceva nu functioneaza?