Borderou de evaluare (job #3189562)

Utilizator Razvan2699Mircea Andrei Razvan Razvan2699 Data 6 ianuarie 2024 10:30:12
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:39:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 39 | for(int i=0; i<adj.size(); i++) | ~^~~~~~~~~~~ main.cpp:43:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 43 | for(int j=0;j<adj[i].size();j++) | ~^~~~~~~~~~~~~~ main.cpp: In member function 'void MaxFlow::printFlow()': main.cpp:52:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 52 | for(int i=0; i<flow.size(); i++) | ~^~~~~~~~~~~~ main.cpp:56:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 56 | for(int j=0;j<flow[i].size();j++) | ~^~~~~~~~~~~~~~~ main.cpp: In member function 'int MaxFlow::maxflow(int, int)': main.cpp:96:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 96 | while(newFlow = bfs(s,t,parent)){ | ~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Solution::Ghizi()': main.cpp:160:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 160 | for(int i=0;i<sol.size();i++) | ~^~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
119ms737kbWrong answer!0
20ms557kbOK10
319ms729kbWrong answer!0
44ms557kbWrong answer!0
59ms557kbWrong answer!0
68ms557kbWrong answer!0
74ms557kbWrong answer!0
814ms716kbWrong answer!0
93ms557kbWrong answer!0
101ms557kbWrong answer!0
Punctaj total10

Ceva nu functioneaza?