Borderou de evaluare (job #3329903)

Utilizator babababRiclea Amalia bababab Data 16 decembrie 2025 13:03:09
Problema Cuplaj maxim in graf bipartit Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int bfs(int, int)': main.cpp:40:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 40 | for(int i = 0; i < path.size() - 1; i++) { | ~~^~~~~~~~~~~~~~~~~ main.cpp:45:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 45 | for(int i = 0; i < path.size() - 1; i++) { | ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:57:5: error: 'fin' was not declared in this scope; did you mean 'cin'? 57 | fin >> n >> m >> e; | ^~~ | cin main.cpp:59:9: error: 'fout' was not declared in this scope; did you mean 'cout'? 59 | fout << 0 << '\n'; | ^~~~ | cout main.cpp:63:19: warning: unused variable 'c' [-Wunused-variable] 63 | int x, y, c; | ^ main.cpp:88:5: error: 'fout' was not declared in this scope; did you mean 'cout'? 88 | fout << maxflow; | ^~~~ | cout Non zero exit status: 1

Ceva nu functioneaza?