Pagini recente » Borderou de evaluare (job #1239986) | Borderou de evaluare (job #755856) | Borderou de evaluare (job #391156) | Borderou de evaluare (job #880663) | Borderou de evaluare (job #2815560)
Borderou de evaluare (job #2815560)
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:449:44: warning: unused variable 'furthestNode2' [-Wunused-variable]
449 | int n, maxDistance = -1, furthestNode, furthestNode2;
| ^~~~~~~~~~~~~
main.cpp:474:20: warning: 'furthestNode' may be used uninitialized in this function [-Wmaybe-uninitialized]
474 | 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 | 2ms | 184kb | OK | 10 |
6 | 6ms | 278kb | OK | 10 |
7 | 6ms | 249kb | OK | 10 |
8 | 6ms | 200kb | OK | 10 |
9 | 11ms | 299kb | OK | 10 |
10 | 11ms | 303kb | OK | 10 |
Punctaj total | 100 |