Pagini recente » Borderou de evaluare (job #2629042) | Borderou de evaluare (job #857585) | Arhiva Educationala | Borderou de evaluare (job #2185462) | Borderou de evaluare (job #2803072)
Borderou de evaluare (job #2803072)
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:283:47: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
283 | while(aux1!=nod_curent || aux2!=this->lista_vecini[nod_curent][i].first);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::havelhakimi()':
main.cpp:400:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
400 | for (unsigned int i=0; i<=vmax; ++i)
| ~^~~~~~
main.cpp:401:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
401 | for (unsigned int j=0; j<ap[i]; ++j)
| ~^~~~~~
main.cpp: In member function 'void graf::disjoint()':
main.cpp:591:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
591 | for (unsigned int i=0; i<=n; ++i)
| ~^~~
main.cpp: In member function 'void graf::dijkstra()':
main.cpp:661: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]
661 | for (int i=0; i<this->lista_vecini[nod].size(); ++i)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:647:18: warning: unused variable 'x' [-Wunused-variable]
647 | unsigned int x,y;
| ^
main.cpp:647:20: warning: unused variable 'y' [-Wunused-variable]
647 | unsigned int x,y;
| ^
main.cpp: In member function 'void graf::Bellman_Ford()':
main.cpp:719:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
719 | if (nrCoada[nod_dest]>this->n)
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.cpp:687:18: warning: unused variable 'x' [-Wunused-variable]
687 | unsigned int x,y;
| ^
main.cpp:687:20: warning: unused variable 'y' [-Wunused-variable]
687 | unsigned int x,y;
| ^
main.cpp:688:20: warning: unused variable 'j' [-Wunused-variable]
688 | unsigned int i,j,k;
| ^
main.cpp:688:22: warning: unused variable 'k' [-Wunused-variable]
688 | unsigned int i,j,k;
| ^
main.cpp:694:18: warning: unused variable 'it' [-Wunused-variable]
694 | unsigned int it=0;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 184kb | OK | 5 | 5 |
2 | 1ms | 184kb | OK | 5 | 5 |
3 | 1ms | 184kb | OK | 5 | 5 |
4 | 1ms | 184kb | OK | 5 | 5 |
5 | 1ms | 184kb | OK | 5 | 5 |
6 | 1ms | 184kb | OK | 5 | 10 |
7 | 1ms | 184kb | OK | 5 |
8 | 64ms | 1527kb | OK | 5 | 15 |
9 | 51ms | 1396kb | OK | 5 |
10 | 6ms | 184kb | OK | 5 |
11 | 77ms | 2445kb | OK | 5 | 20 |
12 | 112ms | 2527kb | OK | 5 |
13 | 90ms | 2310kb | OK | 5 |
14 | 232ms | 3416kb | OK | 5 |
15 | 205ms | 3989kb | OK | 5 | 15 |
16 | 161ms | 3399kb | OK | 5 |
17 | 21ms | 184kb | OK | 5 |
18 | 241ms | 5226kb | OK | 5 | 15 |
19 | 292ms | 5963kb | OK | 5 |
20 | 25ms | 307kb | OK | 5 |
Punctaj total | 100 |