Borderou de evaluare (job #3323728)

Utilizator Nasa1004Ema Nicole Gheorghe Nasa1004 Data 19 noiembrie 2025 15:35:59
Problema Taramul Nicaieri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:40:11: error: 'bfs' was not declared in this scope 40 | while(bfs()) { | ^~~ main.cpp:41:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 41 | for(int i = 0; i < v[dest].size(); i++) { | ~~^~~~~~~~~~~~~~~~ main.cpp:43:16: error: 'viz' was not declared in this scope 43 | if(viz[x.nod] && v[x.nod][x.pereche].flux < v[x.nod][x.pereche].cap) { | ^~~ main.cpp:44:27: error: 'recons' was not declared in this scope 44 | int add = recons(x.nod, v[x.nod][x.pereche].cap - v[x.nod][x.pereche].flux); | ^~~~~~ main.cpp:46:21: error: 'change' was not declared in this scope 46 | change(x.nod, dest, x.pereche, add); | ^~~~~~ main.cpp:47:21: error: 'update' was not declared in this scope 47 | update(x.nod, add); | ^~~~~~ Non zero exit status: 1

Ceva nu functioneaza?