Pagini recente » Borderou de evaluare (job #1316197) | Borderou de evaluare (job #985091) | Borderou de evaluare (job #2472094) | Borderou de evaluare (job #1419304) | Borderou de evaluare (job #2817936)
Borderou de evaluare (job #2817936)
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 | 7602kb | Raspuns corect! | 10 | 10 |
2 | 11ms | 7495kb | Raspuns corect! | 10 | 10 |
3 | 16ms | 8163kb | Raspuns corect! | 10 | 10 |
4 | 54ms | 9732kb | Raspuns corect! | 10 | 10 |
5 | 121ms | 12083kb | Raspuns corect! | 10 | 10 |
6 | 402ms | 20578kb | Raspuns corect! | 10 | 10 |
7 | 116ms | 11210kb | Fisier de iesire corupt! | 0 | 0 |
8 | 525ms | 24408kb | Raspuns corect! | 10 |
9 | 512ms | 25878kb | Raspuns corect! | 10 | 20 |
10 | 639ms | 28581kb | Raspuns corect! | 10 |
Punctaj total | 80 |