Borderou de evaluare (job #3328623)

Utilizator alecsandru121Anghel Alexandru-Mihai alecsandru121 Data 9 decembrie 2025 13:43:42
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:55:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 55 | for (int i = 0; i < path.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:62:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 62 | for (int i = 0; i < path.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:67:28: error: expected '}' at end of input 67 | flux[b][a] -= flow; | ^ main.cpp:63:5: note: to match this '{' 63 | { | ^ main.cpp:67:28: error: expected '}' at end of input 67 | flux[b][a] -= flow; | ^ main.cpp:12:1: note: to match this '{' 12 | { | ^ main.cpp:67:28: warning: control reaches end of non-void function [-Wreturn-type] 67 | flux[b][a] -= flow; | ^ Non zero exit status: 1

Ceva nu functioneaza?