Borderou de evaluare (job #2211772)

Utilizator ContDeRacistAliniateEBlat ContDeRacist Data 11 iunie 2018 19:45:14
Problema Project management Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void adauga(int, int)’: user.cpp:10:10: error: ‘nl’ was not declared in this scope vf[++nl] = y; ^~ user.cpp: In function ‘void bfs()’: user.cpp:16:12: error: ‘st’ was not declared in this scope while (st <= dr) { ^~ user.cpp:16:18: error: ‘dr’ was not declared in this scope while (st <= dr) { ^~ user.cpp:17:19: error: ‘q’ was not declared in this scope int nod = q[st++]; ^ user.cpp:19:22: error: ‘tmin’ was not declared in this scope int termin = tmin[nod] + v[nod]; ^~~~ user.cpp:19:34: error: ‘v’ was not declared in this scope int termin = tmin[nod] + v[nod]; ^ user.cpp:21:9: error: ‘timpf’ was not declared in this scope timpf = max(timpf, termin); ^~~~~ user.cpp:31:15: error: ‘f’ was not declared in this scope --f[vf[nodc]]; ^ user.cpp: In function ‘void dfs(int)’: user.cpp:42:9: error: ‘tmax’ was not declared in this scope if (tmax[nod] != -1) { ^~~~ user.cpp:43:24: error: return-statement with a value, in function returning 'void' [-fpermissive] return tmax[nod]; ^ user.cpp:48:9: error: ‘tmax’ was not declared in this scope tmax[nod] = tminstart; ^~~~ user.cpp:48:21: error: ‘tminstart’ was not declared in this scope tmax[nod] = tminstart; ^~~~~~~~~ user.cpp:51:5: error: ‘tmax’ was not declared in this scope tmax[nod] = 999999999; ^~~~ user.cpp:53:14: error: ‘viz’ was not declared in this scope if (!viz[vf[nodc]]) { ^~~ user.cpp:56:42: error: ‘v’ was not declared in this scope tmax[nod] = min(tmax[vf[nodc]] - v[nod]); ^ user.cpp: In function ‘int main()’: user.cpp:63:9: error: expected initializer before ‘>>’ token

Ceva nu functioneaza?