Pagini recente » Borderou de evaluare (job #1875344) | Borderou de evaluare (job #886001) | Borderou de evaluare (job #1783148) | Borderou de evaluare (job #2690700) | Borderou de evaluare (job #2819919)
Borderou de evaluare (job #2819919)
Raport evaluator
Compilare:
main.cpp: In member function 'void graf::afisare_lista()':
main.cpp:131:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
131 | for(auto j=0 ; j<lista[i].size(); j++)
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::afisare_muchii()':
main.cpp:152: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]
152 | for(auto i=0 ; i<muchii.size(); i++)
| ~^~~~~~~~~~~~~~
main.cpp: In member function 'bool graf::havel_hakimi_verificare(std::vector<int>&)':
main.cpp:313:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
313 | if( cnt > secv.size()) return false; //verific ca nu ies din secventa
| ~~~~~^~~~~~~~~~~~~
main.cpp:297:23: warning: unused variable 'nr' [-Wunused-variable]
297 | int sum= 0, ok=1, nr;
| ^~
main.cpp: In member function 'void graf::solve_euler()':
main.cpp:1037:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1037 | for(int i=0 ; i< rez.size() -1 ; i++)
| ~^~~~~~~~~~~~~~~
main.cpp:993:9: warning: unused variable 'start' [-Wunused-variable]
993 | int start=0;
| ^~~~~
main.cpp:994:9: warning: unused variable 'dest' [-Wunused-variable]
994 | int dest=n-1;
| ^~~~
main.cpp: In member function 'std::pair<int, int> graf::BFS_darb(int)':
main.cpp:837:9: warning: 'dest' may be used uninitialized in this function [-Wmaybe-uninitialized]
837 | int dest;
| ^~~~
main.cpp:836:9: warning: 'diametru' may be used uninitialized in this function [-Wmaybe-uninitialized]
836 | int diametru;
| ^~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 184kb | Raspuns corect! | 10 | 10 |
2 | 2ms | 184kb | Raspuns corect! | 10 | 10 |
3 | 6ms | 475kb | Raspuns corect! | 10 | 10 |
4 | 45ms | 2113kb | Raspuns corect! | 10 | 10 |
5 | 112ms | 4534kb | Raspuns corect! | 10 | 10 |
6 | 416ms | 15638kb | Raspuns corect! | 10 | 10 |
7 | 178ms | 7667kb | Raspuns gresit! | 0 | 0 |
8 | 550ms | 20611kb | Raspuns corect! | 10 |
9 | 509ms | 21352kb | Raspuns corect! | 10 | 20 |
10 | 669ms | 24068kb | Raspuns corect! | 10 |
Punctaj total | 80 |