Borderou de evaluare (job #3321588)

Utilizator BuruianaRaresAndreiBuruiana Rares Andrei BuruianaRaresAndrei Data 10 noiembrie 2025 12:12:25
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int max_flow(int, int)': main.cpp:51:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 51 | while(new_flow = bfs(s, t)) { | ~~~~~~~~~^~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:65:41: warning: narrowing conversion of '(edges.std::vector<Edge>::size() - 1)' from 'std::vector<Edge>::size_type' {aka 'long unsigned int'} to 'std::vector<int>::value_type' {aka 'int'} [-Wnarrowing] 65 | g[from].push_back({edges.size() - 1}); | ~~~~~~~~~~~~~^~~ main.cpp:67:39: warning: narrowing conversion of '(edges.std::vector<Edge>::size() - 1)' from 'std::vector<Edge>::size_type' {aka 'long unsigned int'} to 'std::vector<int>::value_type' {aka 'int'} [-Wnarrowing] 67 | g[to].push_back({edges.size() - 1}); | ~~~~~~~~~~~~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK1010
20ms303kbOK1010
30ms303kbOK1010
40ms303kbOK1010
50ms303kbOK1010
60ms303kbOK1010
71ms557kbOK1010
88ms557kbOK1030
914ms557kbOK10
1019ms819kbOK10
Punctaj total100

Ceva nu functioneaza?