Pagini recente » Borderou de evaluare (job #1907699) | Borderou de evaluare (job #904958) | Borderou de evaluare (job #1129309) | Borderou de evaluare (job #2069258) | Borderou de evaluare (job #2805802)
Borderou de evaluare (job #2805802)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::printListOfNeighbours() const':
main.cpp:84:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
84 | for (int i = 1; i < this->listOfNeighbours.size() - 1; i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:87:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
87 | for (int j = 0; j < listOfNeighbours[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graph::HavelHakimi(std::vector<int>)':
main.cpp:265:28: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
265 | if (degrees.size() < node)
| ~~~~~~~~~~~~~~~^~~~~~
main.cpp: In member function 'std::vector<int> Graph::disjoint(std::vector<std::pair<int, std::pair<int, int> > >)':
main.cpp:332:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
332 | for (int i = 0; i < tasks.size(); i++)
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > WeightedGraph::apm(std::vector<int>&, int&)':
main.cpp:361:28: warning: comparison of integer expressions of different signedness: 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
361 | while (solution.size() < numberOfNodes - 1)
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void BFSinfoarena()':
main.cpp:455:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
455 | for (int i = 1; i < distance.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void ctcInfoarena()':
main.cpp:498:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
498 | for (int i = 0; i < solution.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:500:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
500 | for (int j = 0; j < solution[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void biconexInfoarena()':
main.cpp:519:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
519 | for (int i = 0; i < solution.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:521:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
521 | for (int j = 0; j < solution[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void CCNleetcode()':
main.cpp:540:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
540 | for (int i = 0; i < criticalEdges.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:542:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
542 | for (int j = 0; j < criticalEdges[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:530:24: warning: unused variable 'numberOfEdges' [-Wunused-variable]
530 | int numberOfNodes, numberOfEdges, firstNode, secondNode;
| ^~~~~~~~~~~~~
main.cpp: In function 'void disjointInfoarena()':
main.cpp:576:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
576 | for (int i = 0; i < solution.size(); i++)
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 196kb | OK | 5 | 5 |
2 | 2ms | 184kb | OK | 5 | 5 |
3 | 2ms | 184kb | OK | 5 | 5 |
4 | 2ms | 192kb | OK | 5 | 5 |
5 | 2ms | 192kb | OK | 5 | 5 |
6 | 2ms | 184kb | OK | 5 | 10 |
7 | 6ms | 299kb | OK | 5 |
8 | 45ms | 1437kb | OK | 5 | 15 |
9 | 50ms | 1712kb | OK | 5 |
10 | 6ms | 200kb | OK | 5 |
11 | 73ms | 2551kb | OK | 5 | 20 |
12 | 126ms | 3383kb | OK | 5 |
13 | 88ms | 2723kb | OK | 5 |
14 | 173ms | 4419kb | OK | 5 |
15 | 221ms | 5312kb | OK | 5 | 15 |
16 | 173ms | 4341kb | OK | 5 |
17 | 21ms | 200kb | OK | 5 |
18 | 255ms | 6299kb | OK | 5 | 15 |
19 | 312ms | 7380kb | OK | 5 |
20 | 30ms | 200kb | OK | 5 |
Punctaj total | 100 |