Borderou de evaluare (job #3170511)

Utilizator sumithesumSumurduc Alexandru sumithesum Data 17 noiembrie 2023 18:44:07
Problema Cablaj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'double Graph::prim()': main.cpp:60:16: warning: 'D' may be used uninitialized [-Wmaybe-uninitialized] 60 | return D; | ^ main.cpp:34:16: note: 'D' was declared here 34 | double D, dt; | ^ In file included from /usr/include/c++/12.2.1/vector:65, from main.cpp:5: In member function 'constexpr std::vector<bool, _Alloc>::reference std::vector<bool, _Alloc>::operator[](size_type) [with _Alloc = std::allocator<bool>]', inlined from 'double Graph::prim()' at main.cpp:51:34: /usr/include/c++/12.2.1/bits/stl_bvector.h:1036:23: warning: 'nod_temporar' may be used uninitialized [-Wmaybe-uninitialized] 1036 | { return begin()[__n]; } | ~~~~~~~^ main.cpp: In member function 'double Graph::prim()': main.cpp:43:17: note: 'nod_temporar' was declared here 43 | int nod_temporar; | ^~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
42ms303kbOK10
54ms303kbOK10
69ms303kbOK10
714ms303kbOK10
823ms303kbOK10
939ms303kbOK10
1034ms303kbOK10
Punctaj total100

Ceva nu functioneaza?