Pagini recente » Borderou de evaluare (job #301481) | Borderou de evaluare (job #1532937) | Borderou de evaluare (job #772561) | Borderou de evaluare (job #1316715) | Borderou de evaluare (job #2796067)
Borderou de evaluare (job #2796067)
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 |
1 | 1ms | 188kb | Corect | 10 | 30 |
2 | 1ms | 184kb | Corect | 10 |
3 | 1ms | 184kb | Corect | 10 |
4 | 1ms | 184kb | Corect | 10 | 30 |
5 | 15ms | 438kb | Corect | 10 |
6 | 27ms | 1245kb | Corect | 10 |
7 | 25ms | 2174kb | Corect | 10 | 30 |
8 | 68ms | 5713kb | Corect | 10 |
9 | 186ms | 12853kb | Corect | 10 |
10 | 235ms | 18677kb | Corect | 10 | 10 |
Punctaj total | 100 |