Pagini recente » Borderou de evaluare (job #1824028) | Borderou de evaluare (job #2273746) | Borderou de evaluare (job #2029622) | Borderou de evaluare (job #1191486) | Borderou de evaluare (job #2806428)
Borderou de evaluare (job #2806428)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::printListOfNeighbours() const':
main.cpp:85:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
85 | for (int i = 1; i < this->listOfNeighbours.size() - 1; i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:88:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | for (int j = 0; j < listOfNeighbours[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graph::HavelHakimi(std::vector<int>)':
main.cpp:266:28: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
266 | 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:333: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]
333 | 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:362:28: warning: comparison of integer expressions of different signedness: 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
362 | while (solution.size() < numberOfNodes - 1)
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void BFSinfoarena()':
main.cpp:484:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
484 | for (int i = 1; i < distance.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void ctcInfoarena()':
main.cpp:527:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
527 | for (int i = 0; i < solution.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:529:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
529 | for (int j = 0; j < solution[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void biconexInfoarena()':
main.cpp:548:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
548 | for (int i = 0; i < solution.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:550:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
550 | for (int j = 0; j < solution[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void CCNleetcode()':
main.cpp:569:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
569 | for (int i = 0; i < criticalEdges.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:571:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
571 | for (int j = 0; j < criticalEdges[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:559:24: warning: unused variable 'numberOfEdges' [-Wunused-variable]
559 | int numberOfNodes, numberOfEdges, firstNode, secondNode;
| ^~~~~~~~~~~~~
main.cpp: In function 'void disjointInfoarena()':
main.cpp:605:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
605 | for (int i = 0; i < solution.size(); i++)
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 6ms | 303kb | Incorect | 0 |
5 | 40ms | 1138kb | Incorect | 0 |
6 | 93ms | 1961kb | Incorect | 0 |
7 | 121ms | 2457kb | Incorect | 0 |
8 | 227ms | 5197kb | Incorect | 0 |
9 | 1000ms | 4460kb | Time limit exceeded | 0 |
10 | 794ms | 9113kb | Incorect | 0 |
Punctaj total | 10 |