Pagini recente » Borderou de evaluare (job #1208622) | Borderou de evaluare (job #1028848) | Borderou de evaluare (job #275229) | Borderou de evaluare (job #2024586) | Borderou de evaluare (job #2810986)
Borderou de evaluare (job #2810986)
Raport evaluator
Compilare:
main.cpp: In member function 'void graf::biconex(unsigned int, int*, int*, unsigned int&, std::stack<std::pair<unsigned int, unsigned int> >&, std::vector<unsigned int>&)':
main.cpp:298:47: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
298 | while(aux1!=nod_curent || aux2!=this->lista_vecini[nod_curent][i].first);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::havelhakimi()':
main.cpp:415:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
415 | for (unsigned int i=0; i<=vmax; ++i)
| ~^~~~~~
main.cpp:416:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
416 | for (unsigned int j=0; j<ap[i]; ++j)
| ~^~~~~~
main.cpp: In member function 'void graf::disjoint()':
main.cpp:606:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
606 | for (unsigned int i=0; i<=n; ++i)
| ~^~~
main.cpp: In member function 'void graf::dijkstra()':
main.cpp:675:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
675 | for (int i=0; i<this->lista_vecini[nod].size(); ++i)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::Bellman_Ford()':
main.cpp:731:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
731 | if (nrCoada[nod_dest]>this->n)
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.cpp: In member function 'void graf::maxflow()':
main.cpp:786:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
786 | if (nod_curent!=this->n)
| ~~~~~~~~~~^~~~~~~~~
main.cpp: In member function 'void graf::cicluhamilton()':
main.cpp:954:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
954 | for (i=0; i<(1<<this->n); ++i)
| ~^~~~~~~~~~~~~
main.cpp:966:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
966 | for (i=0; i<1<<this->n; ++i)
| ~^~~~~~~~~~~
main.cpp:968:24: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]
968 | if (i && (1<<j))
| ~~^~~~
main.cpp:972:32: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]
972 | if (i && (1<<vecin))
| ~~^~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 2ms | 184kb | Raspuns gresit | 0 |
6 | 11ms | 466kb | Raspuns gresit | 0 |
7 | 16ms | 765kb | Killed by Signal 11 | 0 |
8 | 35ms | 802kb | Raspuns gresit | 0 |
9 | 45ms | 1339kb | Raspuns gresit | 0 |
10 | 78ms | 2162kb | OK | 10 |
Punctaj total | 50 |