Pagini recente » Borderou de evaluare (job #2592550) | Borderou de evaluare (job #1355822) | Borderou de evaluare (job #388585) | Borderou de evaluare (job #2297594) | Borderou de evaluare (job #2817937)
Borderou de evaluare (job #2817937)
Raport evaluator
Compilare:
main.cpp:863:5: warning: "/*" within comment [-Wcomment]
863 | /*
|
main.cpp:923:1: warning: "/*" within comment [-Wcomment]
923 | /*
|
main.cpp:1016:5: warning: "/*" within comment [-Wcomment]
1016 | /*
|
main.cpp: In member function 'void Graph::printGraph()':
main.cpp:159:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
159 | for(int j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'Graph Graph::transpose()':
main.cpp:295:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
295 | for(j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::stronglyConnectedComponents(bool*, int&, std::vector<std::vector<int> >&)':
main.cpp:330:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
330 | for(j = 0; j < comp[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graph::graphExistsHakimi(std::vector<int>&, int)':
main.cpp:366:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
366 | if(degree > dg.size())//check if enough elements are in the list
| ~~~~~~~^~~~~~~~~~~
main.cpp:369:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
369 | 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:423:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
423 | for(int i = 0; i < connections.size(); ++i)//for each edge
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::kruskal()':
main.cpp:478: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]
478 | for(int i = 1; i <= m && sol.size() != n-1; ++i)//for each edge until we choose n-1
| ~~~~~~~~~~~^~~~~~
main.cpp:493: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]
493 | for(int i = 0; i < sol.size(); ++i)
| ~~^~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::dijkstra()':
main.cpp:556: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]
556 | 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:620: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]
620 | for(int i = 0; i < adj_cost[node].size(); ++i) //for each neighbour
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void solveConnectedComponents()':
main.cpp:1084:10: warning: unused variable 'viz' [-Wunused-variable]
1084 | bool viz[N] = {0};
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 11ms | 7581kb | Raspuns corect! | 10 | 10 |
2 | 11ms | 7458kb | Raspuns corect! | 10 | 10 |
3 | 15ms | 8159kb | Raspuns corect! | 10 | 10 |
4 | 54ms | 9732kb | Raspuns corect! | 10 | 10 |
5 | 120ms | 12075kb | Raspuns corect! | 10 | 10 |
6 | 402ms | 20590kb | Raspuns corect! | 10 | 10 |
7 | 116ms | 11276kb | Raspuns corect! | 10 | 20 |
8 | 521ms | 24440kb | Raspuns corect! | 10 |
9 | 510ms | 25911kb | Raspuns corect! | 10 | 20 |
10 | 641ms | 28581kb | Raspuns corect! | 10 |
Punctaj total | 100 |