Pagini recente » Borderou de evaluare (job #891290) | Borderou de evaluare (job #1991070) | Borderou de evaluare (job #447643) | Borderou de evaluare (job #2956088) | Borderou de evaluare (job #2821522)
Borderou de evaluare (job #2821522)
Raport evaluator
Compilare:
main.cpp: In member function 'void graf::afisare_lista()':
main.cpp:128:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
128 | for(auto j=0 ; j<lista[i].size(); j++)
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::afisare_muchii()':
main.cpp:149:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
149 | for(auto i=0 ; i<muchii.size(); i++)
| ~^~~~~~~~~~~~~~
main.cpp: In member function 'bool graf::havel_hakimi_verificare(std::vector<int>&)':
main.cpp:307:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
307 | if( cnt > secv.size()) return false; //verific ca nu ies din secventa
| ~~~~~^~~~~~~~~~~~~
main.cpp:291:23: warning: unused variable 'nr' [-Wunused-variable]
291 | int sum= 0, ok=1, nr;
| ^~
main.cpp: In member function 'void graf::solve_euler()':
main.cpp:1031:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1031 | for(int i=0 ; i< rez.size() -1 ; i++)
| ~^~~~~~~~~~~~~~~
main.cpp:991:9: warning: unused variable 'start' [-Wunused-variable]
991 | int start=0;
| ^~~~~
main.cpp:992:9: warning: unused variable 'dest' [-Wunused-variable]
992 | int dest=n-1;
| ^~~~
main.cpp: In member function 'std::pair<int, int> graf::BFS_darb(int)':
main.cpp:828:9: warning: 'dest' may be used uninitialized in this function [-Wmaybe-uninitialized]
828 | int dest;
| ^~~~
main.cpp:827:9: warning: 'diametru' may be used uninitialized in this function [-Wmaybe-uninitialized]
827 | int diametru;
| ^~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 188kb | Incorect | 0 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 2ms | 184kb | OK | 5 |
4 | 11ms | 405kb | Incorect | 0 |
5 | 2ms | 184kb | Incorect | 0 |
6 | 2ms | 184kb | OK | 5 |
7 | 2ms | 184kb | Incorect | 0 |
8 | 2ms | 184kb | Incorect | 0 |
9 | 2ms | 184kb | Incorect | 0 |
10 | 2ms | 184kb | Incorect | 0 |
11 | 30ms | 1503kb | Incorect | 0 |
12 | 25ms | 1486kb | Incorect | 0 |
13 | 35ms | 2146kb | Incorect | 0 |
14 | 44ms | 2715kb | OK | 5 |
15 | 54ms | 3174kb | Incorect | 0 |
16 | 73ms | 3796kb | OK | 5 |
17 | 97ms | 11317kb | Incorect | 0 |
18 | 15ms | 4915kb | OK | 5 |
19 | 16ms | 4984kb | OK | 5 |
20 | 82ms | 5570kb | OK | 5 |
Punctaj total | 35 |