Pagini recente » Borderou de evaluare (job #20782) | Borderou de evaluare (job #2821604)
Borderou de evaluare (job #2821604)
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 | 5 |
2 | 2ms | 184kb | OK | 5 |
3 | 2ms | 184kb | OK | 5 |
4 | 11ms | 716kb | OK | 5 |
5 | 2ms | 184kb | OK | 5 |
6 | 2ms | 184kb | OK | 5 |
7 | 2ms | 184kb | OK | 5 |
8 | 2ms | 184kb | OK | 5 |
9 | 2ms | 184kb | OK | 5 |
10 | 2ms | 262kb | OK | 5 |
11 | 35ms | 1802kb | OK | 5 |
12 | 25ms | 1703kb | OK | 5 |
13 | 40ms | 2453kb | OK | 5 |
14 | 44ms | 2809kb | OK | 5 |
15 | 59ms | 3334kb | OK | 5 |
16 | 78ms | 4104kb | OK | 5 |
17 | 107ms | 10739kb | OK | 5 |
18 | 6ms | 2592kb | OK | 5 |
19 | 11ms | 2863kb | OK | 5 |
20 | 87ms | 5316kb | OK | 5 |
Punctaj total | 100 |