Borderou de evaluare (job #3323873)

Utilizator AlexDianaAlexandrescu Diana AlexDiana Data 20 noiembrie 2025 10:06:40
Problema Retea2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:69:21: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 69 | in_mst[ind] = 1; In file included from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/c++allocator.h:33, from /usr/include/c++/12.2.1/bits/allocator.h:46, from /usr/include/c++/12.2.1/string:41, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/ostream:38, from /usr/include/c++/12.2.1/iostream:39, from main.cpp:1: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = char]', inlined from 'constexpr _Tp* std::allocator< <template-parameter-1-1> >::allocate(std::size_t) [with _Tp = char]' at /usr/include/c++/12.2.1/bits/allocator.h:188:40, inlined from 'static constexpr _Tp* std::allocator_traits<std::allocator<_CharT> >::allocate(allocator_type&, size_type) [with _Tp = char]' at /usr/include/c++/12.2.1/bits/alloc_traits.h:464:28, inlined from 'constexpr std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = char; _Alloc = std::allocator<char>]' at /usr/include/c++/12.2.1/bits/stl_vector.h:378:33, inlined from 'constexpr std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = char; _Alloc = std::allocator<char>]' at /usr/include/c++/12.2.1/bits/stl_vector.h:375:7, inlined from 'constexpr void std::_Vector_base<_Tp, _Alloc>::_M_create_storage(std::size_t) [with _Tp = char; _Alloc = std::allocator<char>]' at /usr/include/c++/12.2.1/bits/stl_vector.h:395:44, inlined from 'constexpr std::_Vector_base<_Tp, _Alloc>::_Vector_base(std::size_t, const allocator_type&) [with _Tp = char; _Alloc = std::allocator<char>]' at /usr/include/c++/12.2.1/bits/stl_vector.h:332:26, inlined from 'constexpr std::vector<_Tp, _Alloc>::vector(size_type, const value_type&, const allocator_type&) [with _Tp = char; _Alloc = std::allocator<char>]' at /usr/include/c++/12.2.1/bits/stl_vector.h:566:47, inlined from 'int main()' at main.cpp:35:33: /usr/include/c++/12.2.1/bits/new_allocator.h:137:55: note: at offset -1 into destination object of size [0, 2147483647] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ /usr/include/c++/12.2.1/bits/new_allocator.h:137:55: note: at offset -1 into destination object of size [0, 2147483647] allocated by 'operator new'
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK520
20ms303kbOK5
30ms303kbOK5
40ms303kbOK5
51ms303kbOK55
61ms303kbOK55
71ms303kbOK55
81ms303kbOK55
91ms303kbOK55
101ms303kbOK55
1119ms303kbOK55
1214ms303kbOK55
1314ms303kbOK55
1414ms303kbOK55
1514ms303kbOK55
1614ms303kbOK55
1719ms303kbOK55
1818ms303kbOK55
1914ms303kbOK55
2014ms303kbOK55
Punctaj total100

Ceva nu functioneaza?