Borderou de evaluare (job #3216381)

Utilizator isis.mocinoIsis Mocino isis.mocino Data 16 martie 2024 04:01:37
Problema Drumuri2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In member function 'void FordFulkerson::init()': main.cpp:31:30: 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] 31 | for(int i = 0; i < g.size(); i++){ | ~~^~~~~~~~~~ main.cpp:32:34: 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] 32 | for(int j = 0; j <g[i].size(); j++){ | ~~^~~~~~~~~~~~ main.cpp: In member function 'bool FordFulkerson::findAndUpdate(int, int, long long int&)': main.cpp:52:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 52 | for(int i = 0; i < eIndexes[u].size(); i++){ | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void print_g(std::vector<std::vector<int> >&)': main.cpp:143:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 143 | for(int k = 0; k < g.size(); k++){ | ~~^~~~~~~~~~ main.cpp: In function 'void print_g_cap(std::vector<std::vector<std::pair<int, long long int> > >&)': main.cpp:157:22: 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] 157 | for(int k = 0; k < g.size(); k++){ | ~~^~~~~~~~~~ main.cpp: In function 'std::vector<std::vector<int> > Clausura(std::vector<std::vector<int> >&)': main.cpp:111:18: warning: 'void operator delete [](void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 111 | delete[] visited; | ^~~~~~~ main.cpp:106:40: note: returned from 'void* operator new(std::size_t)' 106 | bool* visited = new bool(g_size); | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
23ms450kbKilled by Signal 110
33ms450kbKilled by Signal 110
49ms389kbKilled by Signal 110
54ms389kbKilled by Signal 110
610ms397kbKilled by Signal 110
710ms413kbKilled by Signal 110
83ms434kbKilled by Signal 110
93ms466kbKilled by Signal 110
103ms421kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?