Borderou de evaluare (job #3189565)

Utilizator Razvan2699Mircea Andrei Razvan Razvan2699 Data 6 ianuarie 2024 10:34:06
Problema Ghizi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In member function 'void MaxFlow::printAdj()': main.cpp:36:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 36 | for(int i=0; i<adj.size(); i++) | ~^~~~~~~~~~~ main.cpp:40:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 40 | for(int j=0;j<adj[i].size();j++) | ~^~~~~~~~~~~~~~ main.cpp: In member function 'void MaxFlow::printFlow()': main.cpp:49:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for(int i=0; i<flow.size(); i++) | ~^~~~~~~~~~~~ main.cpp:53:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 53 | for(int j=0;j<flow[i].size();j++) | ~^~~~~~~~~~~~~~~ main.cpp: In member function 'int MaxFlow::maxflow(int, int)': main.cpp:93:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 93 | while(newFlow = bfs(s,t,parent)){ | ~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Solution::Ghizi()': main.cpp:157:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 157 | for(int i=0;i<sol.size();i++) | ~^~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
119ms729kbWrong answer!0
20ms557kbOK10
318ms729kbWrong answer!0
46ms557kbWrong answer!0
59ms557kbWrong answer!0
64ms557kbWrong answer!0
78ms557kbWrong answer!0
814ms557kbWrong answer!0
93ms557kbWrong answer!0
101ms557kbWrong answer!0
Punctaj total10

Ceva nu functioneaza?