Pagini recente » Borderou de evaluare (job #487371) | Borderou de evaluare (job #2342820) | Borderou de evaluare (job #2531022) | Borderou de evaluare (job #2027784) | Borderou de evaluare (job #2815524)
Borderou de evaluare (job #2815524)
Raport evaluator
Compilare:
main.cpp: In static member function 'static std::vector<std::vector<int> > Algorithms::getComponenteBiconexe(const std::vector<std::vector<int> >&, std::vector<int>&, std::vector<int>&, std::vector<bool>&)':
main.cpp:79:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
79 | for( int i = 1; i < adjacencyList.size(); ++i )
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In static member function 'static std::vector<std::vector<int> > Algorithms::getComponenteTareConexe(const std::vector<std::vector<int> >&, const std::vector<std::vector<int> >&, std::vector<bool>&)':
main.cpp:92:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
92 | for( int i = 1; i < adjacencyList.size(); ++i )
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void solveDarb()':
main.cpp:441:44: warning: unused variable 'furthestNode2' [-Wunused-variable]
441 | int n, maxDistance = -1, furthestNode, furthestNode2;
| ^~~~~~~~~~~~~
main.cpp:466:20: warning: 'furthestNode' may be used uninitialized in this function [-Wmaybe-uninitialized]
466 | Algorithms::BFS(adjacencyList, furthestNode, distance);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 11ms | 897kb | OK | 10 |
6 | 44ms | 2523kb | OK | 10 |
7 | 68ms | 3485kb | OK | 10 |
8 | 111ms | 5193kb | OK | 10 |
9 | 83ms | 5799kb | OK | 10 |
10 | 154ms | 6688kb | OK | 10 |
Punctaj total | 100 |