Pagini recente » Borderou de evaluare (job #1473145) | Borderou de evaluare (job #2582316) | Borderou de evaluare (job #3204333) | Borderou de evaluare (job #1207295) | Borderou de evaluare (job #2791796)
Borderou de evaluare (job #2791796)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::printGraph()':
main.cpp:77:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | for(int j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'Graph Graph::transpose()':
main.cpp:151:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
151 | for(j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::stronglyConnectedComponents()':
main.cpp:180:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
180 | for(j = 0; j < comp[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graph::graphExistsHakimi(std::vector<int>&, int)':
main.cpp:216:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
216 | if(degree > dg.size())//check if enough elements are in the list
| ~~~~~~~^~~~~~~~~~~
main.cpp:219:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
219 | for(int i = 0; i < dg.size(); ++i)
| ~~^~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > Graph::criticalConnections(int, std::vector<std::vector<int> >&)':
main.cpp:277:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
277 | for(int i = 0; i < connections.size(); ++i)//for each edge
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::biconnectedComponents()':
main.cpp:305:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
305 | for(int i = 0; i < biconnected.size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:308:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
308 | for(int j = 0 ; j < comp.size(); ++j)
| ~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:354:9: warning: unused variable 'i' [-Wunused-variable]
354 | int i, first, n, m;
| ^
main.cpp:354:12: warning: unused variable 'first' [-Wunused-variable]
354 | int i, first, n, m;
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 13ms | 7860kb | Corect | 10 |
2 | 12ms | 7905kb | Corect | 10 |
3 | 13ms | 7950kb | Corect | 10 |
4 | 13ms | 7938kb | Corect | 10 |
5 | 24ms | 8134kb | Corect | 10 |
6 | 33ms | 8495kb | Corect | 10 |
7 | 28ms | 8867kb | Corect | 10 |
8 | 343ms | 28119kb | Corect | 10 |
9 | 143ms | 15790kb | Corect | 10 |
10 | 198ms | 19484kb | Corect | 10 |
Punctaj total | 100 |