Pagini recente » Borderou de evaluare (job #2404787) | Borderou de evaluare (job #1850637) | Borderou de evaluare (job #1535657) | Borderou de evaluare (job #2414107) | Borderou de evaluare (job #2814432)
Borderou de evaluare (job #2814432)
Raport evaluator
Compilare:
main.cpp: In member function 'std::vector<int> graf::disjoint(std::vector<std::pair<int, std::pair<int, int> > >)':
main.cpp:162:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
162 | for(int i = 0; i < operatii.size(); i++){
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'int graf::diamArb()':
main.cpp:187:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
187 | for(int i = 1; i < distanta.size(); i++){
| ~~^~~~~~~~~~~~~~~~~
main.cpp:193:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
193 | for(int i = 0; i < vizitat.size(); i++){
| ~~^~~~~~~~~~~~~~~~
main.cpp:198:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
198 | for(int i = 1; i < distanta.size(); i++){
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void InfoArena_BFS()':
main.cpp:325:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
325 | for(int i = 0; i < distanta.size(); i++){
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void InfoArena_disjoint()':
main.cpp:354:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
354 | for(int i = 0; i < rez.size(); i++){
| ~~^~~~~~~~~~~~
main.cpp: In function 'void InfoArena_apm()':
main.cpp:375:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
375 | for(int i = 0; i < rez.size(); i++){
| ~~^~~~~~~~~~~~
main.cpp: In function 'void InfoArena_BellmanFord()':
main.cpp:395:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
395 | for(int i = 2; i < costMinim.size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'void InfoArena_Dijkstra()':
main.cpp:410:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
410 | for(int i = 2; i < costMinim.size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int graf::diamArb()':
main.cpp:196:37: warning: 'nodUltim' may be used uninitialized in this function [-Wmaybe-uninitialized]
196 | distanta = BFS(nodUltim, vizitat);
| ^
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 | 11ms | 933kb | OK | 10 |
6 | 44ms | 2789kb | OK | 10 |
7 | 68ms | 3850kb | OK | 10 |
8 | 116ms | 5750kb | OK | 10 |
9 | 83ms | 6545kb | OK | 10 |
10 | 158ms | 7426kb | OK | 10 |
Punctaj total | 100 |