Borderou de evaluare (job #3216658)

Utilizator leslyLesly Anda lesly Data 18 martie 2024 23:22:14
Problema Drumuri2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void FordFulkerson::init()': main.cpp:29:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<std::pair<int, long long int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 29 | for(int i = 0; i < g.size(); i++){ | ~~^~~~~~~~~~ main.cpp:30:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 30 | for(int j = 0; j < g[i].size(); j++){ | ~~^~~~~~~~~~~~~ main.cpp: In member function 'bool FordFulkerson::findAndUpdate(int, int, long long int&)': main.cpp:47:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | for (int i = 0; i < eIndexes[u].size(); i++){ | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'std::vector<std::vector<std::pair<int, long long int> > > buildFlow(std::vector<std::vector<int> >)': main.cpp:87:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 87 | for(int nd = 0; nd < edgList.size(); nd++){ | ~~~^~~~~~~~~~~~~~~~ main.cpp: In function 'void buidClsr(std::vector<std::vector<int> >)': main.cpp:120:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 120 | for(int nd = 0; nd < edg.size(); nd++){ | ~~~^~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:150:15: warning: unused variable 'maxFlow' [-Wunused-variable] 150 | long long maxFlow = ansFLow.getMaxFlow(0, gphFlow.size()-1); | ^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
19ms389kbKilled by Signal 110
24ms389kbKilled by Signal 110
34ms471kbKilled by Signal 110
44ms389kbKilled by Signal 110
59ms389kbKilled by Signal 110
64ms385kbKilled by Signal 110
79ms393kbKilled by Signal 110
89ms393kbKilled by Signal 110
94ms397kbKilled by Signal 110
109ms450kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?