Pagini recente » Borderou de evaluare (job #2554744) | Borderou de evaluare (job #1090165) | Borderou de evaluare (job #2094374) | Borderou de evaluare (job #489394) | Borderou de evaluare (job #2822093)
Borderou de evaluare (job #2822093)
Raport evaluator
Compilare:
main.cpp: In static member function 'static std::vector<std::vector<int> > Algorithms::getComponenteBiconexe(const std::vector<std::vector<int> >&, int)':
main.cpp:69:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | for( int i = 1; i < adjacencyList.size(); ++i )
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In static member function 'static int Algorithms::getDiameter(const std::vector<std::vector<int> >&, int)':
main.cpp:183:53: warning: unused variable 'furthestNode2' [-Wunused-variable]
183 | int maxDistance = -1, furthestNode, furthestNode2;
| ^~~~~~~~~~~~~
main.cpp: In static member function 'static std::vector<std::vector<int> > Algorithms::havelHakimi(std::vector<int>&, int)':
main.cpp:236:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
236 | for( i = crtFirst + 1; i < v.size(); ++i )
| ~~^~~~~~~~~~
main.cpp: In function 'void solveDarb()':
main.cpp:199:24: warning: 'furthestNode' may be used uninitialized in this function [-Wmaybe-uninitialized]
199 | Algorithms::BFS( adjacencyList, furthestNode, distance );
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:183:39: note: 'furthestNode' was declared here
183 | int maxDistance = -1, furthestNode, furthestNode2;
| ^~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Prea putine noduri afisate | 0 |
2 | 2ms | 184kb | Prea putine noduri afisate | 0 |
3 | 2ms | 184kb | Prea putine noduri afisate | 0 |
4 | 2ms | 184kb | Prea putine noduri afisate | 0 |
5 | 6ms | 331kb | Prea putine noduri afisate | 0 |
6 | 6ms | 393kb | Prea putine noduri afisate | 0 |
7 | 16ms | 872kb | Prea putine noduri afisate | 0 |
8 | 20ms | 1114kb | Prea putine noduri afisate | 0 |
9 | 44ms | 2007kb | Prea putine noduri afisate | 0 |
10 | 73ms | 2568kb | Prea putine noduri afisate | 0 |
Punctaj total | 0 |