Pagini recente » Borderou de evaluare (job #1743223) | Borderou de evaluare (job #346765) | Borderou de evaluare (job #1392243) | Borderou de evaluare (job #2587869) | Borderou de evaluare (job #2811785)
Borderou de evaluare (job #2811785)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::printGraph()':
main.cpp:164:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
164 | for(int j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'Graph Graph::transpose()':
main.cpp:243:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
243 | for(j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::stronglyConnectedComponents()':
main.cpp:275:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
275 | for(j = 0; j < comp[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graph::graphExistsHakimi(std::vector<int>&, int)':
main.cpp:314:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
314 | if(degree > dg.size())//check if enough elements are in the list
| ~~~~~~~^~~~~~~~~~~
main.cpp:317:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
317 | 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:371:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
371 | for(int i = 0; i < connections.size(); ++i)//for each edge
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::biconnectedComponents()':
main.cpp:401:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
401 | for(int i = 0; i < biconnected.size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:404:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
404 | for(int j = 0 ; j < comp.size(); ++j)
| ~~^~~~~~~~~~~~~
main.cpp: In member function 'void Graph::kruskal()':
main.cpp:489: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]
489 | for(int i = 1; i <= m && sol.size() != n-1; ++i)//for each edge until we choose n-1
| ~~~~~~~~~~~^~~~~~
main.cpp:504:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
504 | for(int i = 0; i < sol.size(); ++i)
| ~~^~~~~~~~~~~~
main.cpp: In member function 'void Graph::dijkstra()':
main.cpp:559: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]
559 | for(int i = 0; i < adj_cost[node].size(); ++i)//for all nodes that "node" is connected to
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::bellmanford()':
main.cpp:622: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]
622 | for(int i = 0; i < adj_cost[node].size(); ++i) //for each neighbour
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:949:9: warning: unused variable 'i' [-Wunused-variable]
949 | int i, first, n, m;
| ^
main.cpp:949:12: warning: unused variable 'first' [-Wunused-variable]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 188kb | Killed by Signal 11 | 0 | 0 |
2 | 2ms | 184kb | Killed by Signal 11 | 0 | 0 |
3 | 2ms | 184kb | Killed by Signal 11 | 0 | 0 |
4 | 5ms | 2580kb | Killed by Signal 11 | 0 | 0 |
5 | 2ms | 184kb | Killed by Signal 11 | 0 | 0 |
6 | 2ms | 184kb | Killed by Signal 11 | 0 | 0 |
7 | 2ms | 184kb | Killed by Signal 11 | 0 | 0 |
8 | 2ms | 184kb | Killed by Signal 11 | 0 |
9 | 2ms | 184kb | Killed by Signal 11 | 0 | 0 |
10 | 5ms | 2560kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |