Borderou de evaluare (job #2828192)

Utilizator iustin.pericicaPericica Iustin iustin.pericica Data 6 ianuarie 2022 22:53:28
Problema Ciclu Eulerian Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void Graph::bfs(int)': main.cpp:156:13: warning: unused variable 'prim' [-Wunused-variable] 156 | int prim, ultim, i; | ^~~~ main.cpp:156:19: warning: unused variable 'ultim' [-Wunused-variable] 156 | int prim, ultim, i; | ^~~~~ main.cpp:156:26: warning: unused variable 'i' [-Wunused-variable] 156 | int prim, ultim, i; | ^ main.cpp: In member function 'void Graph::getSSCComponents()': main.cpp:263:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 263 | for(int i = 0; i < sscComponents.size() ;++i){ | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:251:13: warning: unused variable 'sscCounter' [-Wunused-variable] 251 | int sscCounter = 0; | ^~~~~~~~~~ main.cpp: In static member function 'static bool Graph::graphExists(std::vector<int>&)': main.cpp:349:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 349 | if ( firstEl > a.size() ) return false; | ~~~~~~~~^~~~~~~~~~ main.cpp: In member function 'int Graph::maxFlow(int, int)': main.cpp:460:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 460 | while (new_flow = this->bfsMF(s, t, parent)) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:558:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 558 | for(int i = 0; i < res.size() - 1; ++i) | ~~^~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms262kbKilled by Signal 1100
22ms184kbKilled by Signal 1100
36ms528kbKilled by Signal 1100
430ms1613kbKilled by Signal 1100
568ms3514kbKilled by Signal 1100
6249ms11096kbKilled by Signal 1100
7111ms6144kbRaspuns corect!100
8330ms14819kbKilled by Signal 110
9308ms16363kbKilled by Signal 1100
10406ms18657kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?