Pagini recente » Borderou de evaluare (job #1938031) | Cod sursa (job #724366) | Borderou de evaluare (job #1588432) | Borderou de evaluare (job #436425) | Borderou de evaluare (job #3180659)
Borderou de evaluare (job #3180659)
Raport evaluator
Compilare:
main.cpp: In function 'int cost_minim()':
main.cpp:70:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Nod>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | for(int nod=0; nod<Q.size();nod++){
| ~~~^~~~~~~~~
main.cpp: In function 'void actualizare_d(int)':
main.cpp:79:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Nod>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
79 | for(int v = 0 ; v<Q.size(); v++){
| ~^~~~~~~~~
main.cpp: In function 'int cost_minim()':
main.cpp:76:12: warning: 'min_index' may be used uninitialized [-Wmaybe-uninitialized]
76 | return min_index;
| ^~~~~~~~~
main.cpp:69:22: note: 'min_index' was declared here
69 | int min=INT_MAX, min_index;
| ^~~~~~~~~
main.cpp: In function 'void Prim_nu_chiar_optim()':
main.cpp:69:22: warning: 'min_index' may be used uninitialized [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Solutia nu e afisata in format corect! | 0 |
| 2 | 0ms | 303kb | Solutia nu e afisata in format corect! | 0 |
| 3 | 0ms | 303kb | Cost incorect | 0 |
| 4 | 0ms | 557kb | Cost incorect | 0 |
| 5 | 0ms | 303kb | Cost incorect | 0 |
| 6 | 24ms | 66805kb | Memory limit exceeded | 0 |
| 7 | 24ms | 66932kb | Memory limit exceeded | 0 |
| 8 | 24ms | 66727kb | Memory limit exceeded | 0 |
| 9 | 39ms | 29941kb | Cost incorect | 0 |
| 10 | 24ms | 66654kb | Memory limit exceeded | 0 |
| Punctaj total | 0 |