Borderou de evaluare (job #2955624)

Utilizator TindecheTindeche Alexandru Tindeche Data 17 decembrie 2022 14:35:51
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In member function 'void flux::maxflow()': main.cpp:60:25: error: 'tat' was not declared in this scope; did you mean 'tata'? 60 | tat[end] = i; | ^~~ | tata main.cpp: In member function 'bool flux::bfs()': main.cpp:110:22: error: request for member 'begin' in '((flux*)this)->flux::viz', which is of non-class type 'bool [1010]' 110 | fill(viz.begin(), viz.end(), false); | ^~~~~ main.cpp:110:35: error: request for member 'end' in '((flux*)this)->flux::viz', which is of non-class type 'bool [1010]' 110 | fill(viz.begin(), viz.end(), false); | ^~~ main.cpp:111:18: error: 'tat' was not declared in this scope; did you mean 'tata'? 111 | fill(tat.begin(), tat.end(), 0); | ^~~ | tata main.cpp: In function 'int main()': main.cpp:150:15: warning: unused variable 'start' [-Wunused-variable] 150 | int n, m, start, end; | ^~~~~ main.cpp:150:22: warning: unused variable 'end' [-Wunused-variable] 150 | int n, m, start, end; | ^~~ Non zero exit status: 1

Ceva nu functioneaza?