Borderou de evaluare (job #845596)

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 16:25:32 Scor 50

Raport evaluator

Compilare: main.cpp: In member function 'bool Flow::bfs(int, int)': main.cpp:43:17: warning: unused variable 'ind' [-Wunused-variable] 43 | int ind = 0; | ^~~ main.cpp: In member function 'int Flow::dfs(int, int, int)': main.cpp:58:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Flow::Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 58 | for (; idx[node] < g[node].size(); idx[node]++) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'int Flow::max_flow(int, int)': main.cpp:80:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 80 | while(flow = dfs(src, dst)) { | ~~~~~^~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 508 kb OK 10
2 1 ms 292 kb OK 10
3 6 ms 1060 kb OK 10
4 35 ms 6452 kb OK 10
5 42 ms 7460 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 66 ms depășită Memory limit exceeded. 0
10 47 ms depășită Memory limit exceeded. 0
Punctaj total 50