Pagini recente » Borderou de evaluare (job #1428355) | Borderou de evaluare (job #2406171) | Borderou de evaluare (job #250636) | Borderou de evaluare (job #109325) | Borderou de evaluare (job #2817286)
Borderou de evaluare (job #2817286)
Raport evaluator
Compilare:
main.cpp: In member function 'void graf::afisare_lista()':
main.cpp:124:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
124 | for(auto j=0 ; j<lista[i].size(); j++)
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::afisare_muchii()':
main.cpp:145: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]
145 | for(auto i=0 ; i<muchii.size(); i++)
| ~^~~~~~~~~~~~~~
main.cpp: In member function 'bool graf::havel_hakimi_verificare(std::vector<int>&)':
main.cpp:306:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
306 | if( cnt > secv.size()) return false; //verific ca nu ies din secventa
| ~~~~~^~~~~~~~~~~~~
main.cpp:290:23: warning: unused variable 'nr' [-Wunused-variable]
290 | int sum= 0, ok=1, nr;
| ^~
main.cpp: In member function 'void graf::solve_euler()':
main.cpp:1027:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1027 | for(int i=0 ; i< rez.size() -1 ; i++)
| ~^~~~~~~~~~~~~~~
main.cpp:986:9: warning: unused variable 'start' [-Wunused-variable]
986 | int start=0;
| ^~~~~
main.cpp:987:9: warning: unused variable 'dest' [-Wunused-variable]
987 | int dest=n-1;
| ^~~~
main.cpp: In member function 'std::pair<int, int> graf::BFS_darb(int)':
main.cpp:830:9: warning: 'dest' may be used uninitialized in this function [-Wmaybe-uninitialized]
830 | int dest;
| ^~~~
main.cpp:829:9: warning: 'diametru' may be used uninitialized in this function [-Wmaybe-uninitialized]
829 | 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 | 462kb | Killed by Signal 11 | 0 | 0 |
4 | 30ms | 1257kb | Killed by Signal 11 | 0 | 0 |
5 | 73ms | 2670kb | Killed by Signal 11 | 0 | 0 |
6 | 253ms | 10821kb | Killed by Signal 11 | 0 | 0 |
7 | 177ms | 7684kb | Raspuns gresit! | 0 | 0 |
8 | 334ms | 13025kb | Killed by Signal 11 | 0 |
9 | 350ms | 14438kb | Killed by Signal 11 | 0 | 0 |
10 | 407ms | 14905kb | Killed by Signal 11 | 0 |
Punctaj total | 20 |