Borderou de evaluare (job #3323805)

Utilizator StefanL2005Stefan Leustean StefanL2005 Data 19 noiembrie 2025 21:46:36
Problema Apm2 Status done
Runda Arhiva Monthly Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'std::vector<Muchie> Prim(int, const ListaVecini&)': main.cpp:138:39: warning: comparison of integer expressions of different signedness: 'std::vector<Muchie>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 138 | while (!pq.empty() && rasp.size() < n - 1) { | ~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/c++/12.2.1/vector:64, from main.cpp:3: In member function 'constexpr void std::vector<_Tp, _Alloc>::assign(size_type, const value_type&) [with _Tp = Node; _Alloc = std::allocator<Node>]', inlined from 'int main()' at main.cpp:186:16: /usr/include/c++/12.2.1/bits/stl_vector.h:804:23: warning: '<anonymous>' may be used uninitialized [-Wmaybe-uninitialized] 804 | { _M_fill_assign(__n, __val); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/vector:70: /usr/include/c++/12.2.1/bits/vector.tcc: In function 'int main()': /usr/include/c++/12.2.1/bits/vector.tcc:264:5: note: by argument 3 of type 'const std::vector<Node>::value_type&' {aka 'const Node&'} to 'constexpr void std::vector<_Tp, _Alloc>::_M_fill_assign(std::size_t, const value_type&) [with _Tp = Node; _Alloc = std::allocator<Node>]' declared here 264 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ main.cpp:186:25: note: '<anonymous>' declared here 186 | tata.assign(n, Node()); | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbIncorect00
20ms303kbIncorect0
31ms561kbIncorect0
49ms2674kbIncorect0
58ms2674kbIncorect0
68ms2371kbIncorect0
79ms2727kbIncorect0
819ms4399kbIncorect0
922ms5140kbIncorect0
1023ms5156kbIncorect0
Punctaj total0

Ceva nu functioneaza?