Borderou de evaluare (job #3215493)

Utilizator axxlAxell L axxl Data 15 martie 2024 04:13:01
Problema Drumuri2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'void FordFulkerson::init()': main.cpp:35:43: 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] 35 | for (int i = 0; i < g.size(); i++){ | ~~^~~~~~~~~~ main.cpp:36:51: 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] 36 | for (int j = 0; j < g[i].size(); j++){ | ~~^~~~~~~~~~~~~ main.cpp: In member function 'bool FordFulkerson::findAndUpdate(int, int, long long int&)': main.cpp:56:51: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 56 | for (int i = 0; i < eIndexes[u].size(); i++){ | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:120:33: warning: 'N' is used uninitialized [-Wuninitialized] 120 | vector<bool> visitados(N+1, false); | ~^~ main.cpp:119:13: note: 'N' declared here 119 | int N, M; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms557kbOK10
50ms303kbOK10
61ms819kbOK10
72ms1081kbOK10
83ms1314kbOK10
94ms1318kbOK10
102ms1314kbOK10
Punctaj total100

Ceva nu functioneaza?