Borderou de evaluare (job #2930919)

Utilizator mihneazzzMacovei Daniel mihneazzz Data 29 octombrie 2022 20:23:11
Problema Flux maxim de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int dfs(int, int)': main.cpp:40:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 40 | if(!minFlow) return 0;cout<<x<<" "; | ^~ main.cpp:40:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 40 | if(!minFlow) return 0;cout<<x<<" "; | ^~~~ main.cpp:42:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 42 | for(int &poz=last[x];poz<g[x].size();++poz) | ~~~^~~~~~~~~~~~ main.cpp: In function 'void dfs2(int, int)': main.cpp:59:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 59 | for(int &poz=last[x];poz<g[x].size();++poz) | ~~~^~~~~~~~~~~~ main.cpp: In function 'int dfs(int, int)': main.cpp:48:13: warning: 'minFlow' may be used uninitialized in this function [-Wmaybe-uninitialized] 48 | int minFlow=dfs(y,min(minFlow,flux)); | ^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbIncorect00
20ms184kbIncorect00
30ms184kbIncorect00
40ms184kbIncorect00
50ms184kbIncorect00
60ms184kbIncorect00
70ms184kbIncorect0
85ms835kbIncorect00
92ms835kbIncorect0
104ms835kbIncorect0
Punctaj total0

Ceva nu functioneaza?