Borderou de evaluare (job #1690890)

Utilizator vasiicristianvasii cristian vasiicristian Data 16 aprilie 2016 09:22:20
Problema Graf Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5: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:13:7: error: ‘nmax’ was not declared in this scope nod v[nmax]; ^ user.cpp:15: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:25:31: error: ‘setmem’ was not declared in this scope setmem(d,(n+1)*sizeof(int),0); ^ user.cpp:27:3: error: ‘l’ was not declared in this scope l[1]=x; d[x]=1; ^ user.cpp:31:10: error: ‘v’ was not declared in this scope p = v[l[i]]; ^ user.cpp:24:9: warning: unused variable ‘q’ [-Wunused-variable] nod p,q; ^ user.cpp: At global scope: user.cpp:47:11: error: ‘::main’ must return ‘int’ void main() ^ user.cpp: In function ‘int main()’: user.cpp:54:16: error: ‘v’ was not declared in this scope p->next = v[xx]; ^

Ceva nu functioneaza?