Borderou de evaluare (job #845582)

Utilizator avatar popescu_george Popescu George popescu_george IP ascuns
Problemă Push-Relabel (clasele 11-12) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 17 dec. 2025 14:55:04 Scor 50

Raport evaluator

Compilare: main.cpp: In member function 'bool Flow::bfs(int, int)': main.cpp:76:17: warning: unused variable 'ind' [-Wunused-variable] 76 | int ind = 0; | ^~~ main.cpp: In member function 'int Flow::dfs(int, int, int)': main.cpp:91:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Flow::Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 91 | for (; idx[node] < g[node].size(); idx[node]++) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'int Flow::max_flow(int, int)': main.cpp:113:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 113 | while(flow = dfs(src, dst)) { | ~~~~~^~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 804 kb OK 10
2 2 ms 1268 kb OK 10
3 6 ms 1788 kb OK 10
4 36 ms 7204 kb OK 10
5 42 ms 8188 kb OK 10
6 53 ms depășită Memory limit exceeded. 0
7 49 ms depășită Memory limit exceeded. 0
8 53 ms depășită Memory limit exceeded. 0
9 65 ms depășită Memory limit exceeded. 0
10 44 ms depășită Memory limit exceeded. 0
Punctaj total 50