Pagini recente » Borderou de evaluare (job #263424) | Borderou de evaluare (job #2031236) | Borderou de evaluare (job #499715) | Borderou de evaluare (job #1497187) | Borderou de evaluare (job #3323805)
Borderou de evaluare (job #3323805)
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 |
| 1 | 0ms | 303kb | Incorect | 0 | 0 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 1ms | 561kb | Incorect | 0 |
| 4 | 9ms | 2674kb | Incorect | 0 |
| 5 | 8ms | 2674kb | Incorect | 0 |
| 6 | 8ms | 2371kb | Incorect | 0 |
| 7 | 9ms | 2727kb | Incorect | 0 |
| 8 | 19ms | 4399kb | Incorect | 0 |
| 9 | 22ms | 5140kb | Incorect | 0 |
| 10 | 23ms | 5156kb | Incorect | 0 |
| Punctaj total | 0 |