Pagini recente » Borderou de evaluare (job #2718301) | Borderou de evaluare (job #1919774) | Borderou de evaluare (job #343806) | Borderou de evaluare (job #1091955) | Borderou de evaluare (job #2821950)
Borderou de evaluare (job #2821950)
Raport evaluator
Compilare:
main.cpp: In member function 'void graf::afisare_lista()':
main.cpp:130:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
130 | for(auto j=0 ; j<lista[i].size(); j++)
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::afisare_muchii()':
main.cpp:151: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]
151 | for(auto i=0 ; i<muchii.size(); i++)
| ~^~~~~~~~~~~~~~
main.cpp: In member function 'bool graf::havel_hakimi_verificare(std::vector<int>&)':
main.cpp:309:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
309 | if( cnt > secv.size()) return false; //verific ca nu ies din secventa
| ~~~~~^~~~~~~~~~~~~
main.cpp:293:23: warning: unused variable 'nr' [-Wunused-variable]
293 | int sum= 0, ok=1, nr;
| ^~
main.cpp: In member function 'void graf::solve_euler()':
main.cpp:1033:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1033 | 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: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 |
1 | 2ms | 184kb | 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 | 1495kb | Incorect | 0 |
12 | 25ms | 1601kb | Incorect | 0 |
13 | 35ms | 2125kb | Incorect | 0 |
14 | 44ms | 2707kb | OK | 5 |
15 | 54ms | 3158kb | Incorect | 0 |
16 | 73ms | 3788kb | OK | 5 |
17 | 97ms | 11304kb | Incorect | 0 |
18 | 16ms | 4890kb | OK | 5 |
19 | 15ms | 4890kb | OK | 5 |
20 | 82ms | 5550kb | OK | 5 |
Punctaj total | 35 |