Pagini recente » Borderou de evaluare (job #1258093) | Borderou de evaluare (job #1098981) | Borderou de evaluare (job #2221803) | Borderou de evaluare (job #997788) | Borderou de evaluare (job #2821518)
Borderou de evaluare (job #2821518)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::printGraph()':
main.cpp:135:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
135 | for(int j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > Graph::transpose()':
main.cpp:261:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
261 | for(int j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graph::graphExistsHakimi(std::vector<int>&, int)':
main.cpp:326:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
326 | if(degree > dg.size())//check if enough elements are in the list
| ~~~~~~~^~~~~~~~~~~
main.cpp:329:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
329 | for(int i = 0; i < dg.size(); ++i) //substract 1 from the following
| ~~^~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > Graph::criticalConnections(int, std::vector<std::vector<int> >&)':
main.cpp:382:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
382 | for(int i = 0; i < connections.size(); ++i)//for each edge
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graph::kruskal(std::vector<std::pair<int, int> >&)':
main.cpp:428:41: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
428 | for(int i = 1; i <= m && sol.size() != n-1; ++i)//for each edge until we choose n-1
| ~~~~~~~~~~~^~~~~~
main.cpp: In member function 'std::vector<int> Graph::dijkstra()':
main.cpp:498:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
498 | for(int i = 0; i < adcost[node].size(); ++i)//for all nodes that "node" is connected to
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::bellmanFord()':
main.cpp:561:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
561 | for(int i = 0; i < adcost[node].size(); ++i) //for each neighbour
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void solveBiconnectedComponents()':
main.cpp:839:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
839 | for(int i = 0; i < biconnected.size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:842:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
842 | for(int j = 0 ; j < comp.size(); ++j)
| ~~^~~~~~~~~~~~~
main.cpp: In function 'void solveStronglyConnectedComponents()':
main.cpp:864:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
864 | for(int j = 0; j < comp[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In function 'void solveCriticalConnections()':
main.cpp:908:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
908 | for(int i = 0; i < sol.size(); ++i)
| ~~^~~~~~~~~~~~
main.cpp:910:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
910 | for(int j = 0; j < sol[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'void solveKruskal()':
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 11ms | 5165kb | OK | 5 |
2 | 11ms | 5160kb | OK | 5 |
3 | 11ms | 5128kb | OK | 5 |
4 | 20ms | 5341kb | OK | 5 |
5 | 11ms | 5177kb | OK | 5 |
6 | 11ms | 5111kb | OK | 5 |
7 | 11ms | 5103kb | OK | 5 |
8 | 11ms | 5169kb | OK | 5 |
9 | 11ms | 5238kb | OK | 5 |
10 | 11ms | 5259kb | OK | 5 |
11 | 39ms | 6324kb | OK | 5 |
12 | 30ms | 6164kb | OK | 5 |
13 | 44ms | 6647kb | OK | 5 |
14 | 49ms | 6627kb | OK | 5 |
15 | 62ms | 7131kb | OK | 5 |
16 | 77ms | 7577kb | OK | 5 |
17 | 102ms | 15171kb | OK | 5 |
18 | 11ms | 5509kb | OK | 5 |
19 | 16ms | 5738kb | OK | 5 |
20 | 87ms | 7933kb | OK | 5 |
Punctaj total | 100 |