Pagini recente » Borderou de evaluare (job #1707737) | Borderou de evaluare (job #2298822) | Borderou de evaluare (job #1209204) | Borderou de evaluare (job #2109079) | Borderou de evaluare (job #2794849)
Borderou de evaluare (job #2794849)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::printGraph()':
main.cpp:125:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
125 | for(int j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'Graph Graph::transpose()':
main.cpp:201:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
201 | for(j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::stronglyConnectedComponents()':
main.cpp:233:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
233 | for(j = 0; j < comp[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graph::graphExistsHakimi(std::vector<int>&, int)':
main.cpp:272:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
272 | if(degree > dg.size())//check if enough elements are in the list
| ~~~~~~~^~~~~~~~~~~
main.cpp:275:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
275 | 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:329:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
329 | for(int i = 0; i < connections.size(); ++i)//for each edge
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::biconnectedComponents()':
main.cpp:359:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
359 | for(int i = 0; i < biconnected.size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:362:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
362 | for(int j = 0 ; j < comp.size(); ++j)
| ~~^~~~~~~~~~~~~
main.cpp: In member function 'void Graph::kruskal()':
main.cpp:446: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]
446 | for(int i = 1; i <= m && sol.size() != n-1; ++i)//for each edge until we choose n-1
| ~~~~~~~~~~~^~~~~~
main.cpp:461: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]
461 | for(int i = 0; i < sol.size(); ++i)
| ~~^~~~~~~~~~~~
main.cpp: In member function 'void Graph::dijkstra()':
main.cpp:483: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]
483 | for(int i = 0; i < adj_cost[node].size(); ++i)//for all nodes that "node" is connected to
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:504:9: warning: unused variable 'i' [-Wunused-variable]
504 | int i, first, n, m;
| ^
main.cpp:504:12: warning: unused variable 'first' [-Wunused-variable]
504 | int i, first, n, m;
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 10ms | 4071kb | Incorect | 0 | 0 |
2 | 3ms | 3452kb | Incorect | 0 | 0 |
3 | 3ms | 4050kb | OK | 5 | 5 |
4 | 3ms | 3342kb | OK | 5 | 5 |
5 | 7ms | 4182kb | OK | 5 | 5 |
6 | 8ms | 4632kb | OK | 5 | 0 |
7 | 10ms | 4042kb | Incorect | 0 |
8 | 25ms | 5292kb | OK | 5 | 0 |
9 | 59ms | 5033kb | OK | 5 |
10 | 9ms | 4108kb | Incorect | 0 |
11 | 45ms | 5472kb | OK | 5 | 0 |
12 | 128ms | 6242kb | Incorect | 0 |
13 | 75ms | 6299kb | Incorect | 0 |
14 | 175ms | 6795kb | Incorect | 0 |
15 | 220ms | 7401kb | Incorect | 0 | 0 |
16 | 270ms | 6848kb | Incorect | 0 |
17 | 12ms | 4063kb | Incorect | 0 |
18 | 204ms | 8245kb | Incorect | 0 | 0 |
19 | 242ms | 8650kb | Incorect | 0 |
20 | 11ms | 4190kb | Incorect | 0 |
Punctaj total | 15 |