Borderou de evaluare (job #2796067)

Utilizator mentolnothingmoreNegrut Maria Daniela mentolnothingmore Data 7 noiembrie 2021 15:27:07
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'void Graph::_leveled_dfs(const int&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::stack<Edge>&, std::vector<std::vector<int> >&, std::vector<std::vector<int> >&)': main.cpp:212:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 212 | if ( parent.size() != _nr_vertex + 1 && level.size() != _nr_vertex + 1 && return_level.size() != _nr_vertex + 1 ) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:212:58: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 212 | if ( parent.size() != _nr_vertex + 1 && level.size() != _nr_vertex + 1 && return_level.size() != _nr_vertex + 1 ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:212:100: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 212 | if ( parent.size() != _nr_vertex + 1 && level.size() != _nr_vertex + 1 && return_level.size() != _nr_vertex + 1 ) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<int> Graph::solveTopo(std::ifstream&)': main.cpp:346:21: warning: passing NULL to non-pointer argument 2 of 'void Graph::_dfs(const int&, const int&, std::vector<int>&, std::stack<int>&)' [-Wconversion-null] 346 | _dfs(i, NULL, components, aux); // mark the other vertex in the component | ^~~~ main.cpp:161:47: note: declared here 161 | void Graph::_dfs(const int& start, const int& marker, vector<int>& mark, stack<int>& exit_time) | ~~~~~~~~~~~^~~~~~ main.cpp: In function 'void infoarenaBiconex()': main.cpp:485:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 485 | for (int e_idx = 0; e_idx < sol.second[i].size(); ++e_idx) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void leetCriticalConnections()': main.cpp:503:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 503 | for (int i = 0; i < crt_edg.size(); ++i) | ~~^~~~~~~~~~~~~~~~ main.cpp:505:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 505 | for (int e_idx = 0; e_idx < crt_edg[i].size(); ++e_idx) | ~~~~~~^~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
11ms188kbCorect1030
21ms184kbCorect10
31ms184kbCorect10
41ms184kbCorect1030
515ms438kbCorect10
627ms1245kbCorect10
725ms2174kbCorect1030
868ms5713kbCorect10
9186ms12853kbCorect10
10235ms18677kbCorect1010
Punctaj total100

Ceva nu functioneaza?