Pagini recente » Borderou de evaluare (job #1804329) | de_placere | Borderou de evaluare (job #727546) | Borderou de evaluare (job #2876322) | Borderou de evaluare (job #2797429)
Borderou de evaluare (job #2797429)
Raport evaluator
Compilare:
main.cpp: In member function 'std::vector<int> Graph::getDegrees()':
main.cpp:72:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | for(int i = 0; i < this->listOfNeighbours.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::printListOfNeighbours(std::ostream&)':
main.cpp:91:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
91 | for (int i = 1; i < this->listOfNeighbours.size() - 1; i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:94:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | for (int j = 0; j < listOfNeighbours[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::stronglyConnectedComponents()':
main.cpp:222:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
222 | for (int i = 0; i < solution.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:224:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
224 | for (int j = 0; j < solution[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::biconnectedComponents()':
main.cpp:276:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
276 | for (int i = 0; i < solution.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:278:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
278 | for (int j = 0; j < solution[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graph::HavelHakimi(std::vector<int>)':
main.cpp:295:28: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
295 | if (degrees.size() < node)
| ~~~~~~~~~~~~~~~^~~~~~
main.cpp: In member function 'void Graph::criticalConnections()':
main.cpp:339:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
339 | for (int i = 0; i < criticalEdges.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:341:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
341 | for (int j = 0; j < criticalEdges[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void sortaretInfoarena()':
main.cpp:367:39: warning: unused variable 'sourceNode' [-Wunused-variable]
367 | int numberOfNodes, numberOfEdges, sourceNode;
| ^~~~~~~~~~
main.cpp: In function 'void HavelHakimiRez()':
main.cpp:402:39: warning: 'numberOfNodes' is used uninitialized in this function [-Wuninitialized]
402 | vector<int> degrees(numberOfNodes + 1);
| ~~~~~~~~~~~~~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 184kb | Corect | 10 | 30 |
2 | 2ms | 184kb | Corect | 10 |
3 | 1ms | 184kb | Corect | 10 |
4 | 1ms | 184kb | Corect | 10 | 30 |
5 | 15ms | 438kb | Corect | 10 |
6 | 16ms | 1175kb | Corect | 10 |
7 | 24ms | 2068kb | Corect | 10 | 30 |
8 | 79ms | 4665kb | Corect | 10 |
9 | 139ms | 10313kb | Corect | 10 |
10 | 283ms | 16297kb | Corect | 10 | 10 |
Punctaj total | 100 |