Borderou de evaluare (job #1181949)

Utilizator zaharia_horiaZaharia Horia zaharia_horia Data 4 mai 2014 12:39:33
Problema Graf Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:3:7: error: ‘nmax’ does not name a type const nmax = 7501; ^ user.cpp:9:17: error: ‘nmax’ was not declared in this scope typedef int sir[nmax]; ^ user.cpp:11:7: error: ‘nmax’ was not declared in this scope nod v[nmax]; ^ user.cpp:12:37: error: ‘nmax’ was not declared in this scope int *dx, *dy, *num, *vertex, *at, l[nmax]; ^ user.cpp: In function ‘void bfs(int, int*)’: user.cpp:20:33: error: ‘setmem’ was not declared in this scope setmem(d,(n+1)*sizeof(int),0); ^ user.cpp:24:5: error: ‘l’ was not declared in this scope l[1]=x; ^ user.cpp:30:17: error: ‘v’ was not declared in this scope p = v[l[i]]; ^ user.cpp:19:11: warning: unused variable ‘q’ [-Wunused-variable] nod p,q; ^ user.cpp: At global scope: user.cpp:48:11: error: ‘::main’ must return ‘int’ void main() ^ user.cpp: In function ‘int main()’: user.cpp:56:19: error: ‘v’ was not declared in this scope p->next = v[xx]; ^

Ceva nu functioneaza?