Borderou de evaluare (job #3185967)

Utilizator Matoka26Dogaru Mihail Danut Matoka26 Data 20 decembrie 2023 22:07:28
Problema Senat Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In member function 'void MaxFlowGraph::printMatrix(const std::vector<std::vector<int> >&)': main.cpp:59:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 59 | for(int i = 0 ; i < this->adjacency.size() ; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:60:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | for(int j = 0 ; j < this->adjacency[i].size() ; j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'int MaxFlowGraph::maxFlow(const int&, const int&)': main.cpp:104:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 104 | while(newFlow = bfs(s,t,parent)){ | ~~~~~~~~^~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect!0
20ms557kbIncorect!0
30ms303kbIncorect!0
40ms557kbIncorect!0
50ms823kbIncorect!0
60ms557kbIncorect!0
70ms819kbIncorect!0
80ms1081kbIncorect!0
90ms303kbIncorect!0
100ms819kbS-a respectat legea!10
Punctaj total10

Ceva nu functioneaza?