Borderou de evaluare (job #2811402)

Utilizator lucaperjuLuca Perju Verzotti lucaperju Data 2 decembrie 2021 10:49:30
Problema Fear Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool bfs(int, int)': main.cpp:23:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 23 | for(int i=0; i<v[pz].size(); ++i) | ~^~~~~~~~~~~~~ main.cpp: In function 'double dfs(int, int, double)': main.cpp:36:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 36 | for(int i=0; i<v[pz].size(); ++i) | ~^~~~~~~~~~~~~ main.cpp: In function 'double maxflow(int, int)': main.cpp:58:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 58 | while(cur=dfs(S,D,200003.0)) | ~~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:72:11: warning: unused variable 'j' [-Wunused-variable] 72 | int i,j,m,k=0; | ^ main.cpp:72:15: warning: unused variable 'k' [-Wunused-variable] 72 | int i,j,m,k=0; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms475kbOK10
221ms729kbOK10
311ms614kbOK10
46ms516kbOK10
511ms589kbOK10
611ms626kbOK10
711ms622kbOK10
811ms630kbOK10
916ms643kbOK10
1021ms729kbOK10
Punctaj total100

Ceva nu functioneaza?