Borderou de evaluare (job #3234388)

Utilizator sirbu27Sirbu Iulia-Georgiana sirbu27 Data 9 iunie 2024 10:46:16
Problema Timbre Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: In file included from /usr/include/c++/12.2.1/bits/char_traits.h:46, from /usr/include/c++/12.2.1/ios:40, from /usr/include/c++/12.2.1/ostream:38, from /usr/include/c++/12.2.1/iostream:39, from main.cpp:1: In function 'constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = pair<int, int>; _Args = {pair<int, int>}]', inlined from 'static constexpr void std::allocator_traits<std::allocator<_CharT> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<int, int>; _Args = {std::pair<int, int>}; _Tp = std::pair<int, int>]' at /usr/include/c++/12.2.1/bits/alloc_traits.h:518:21, inlined from 'constexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::pair<int, int>}; _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >]' at /usr/include/c++/12.2.1/bits/vector.tcc:117:30, inlined from 'constexpr void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1294:21, inlined from 'int main()' at main.cpp:18:28: /usr/include/c++/12.2.1/bits/stl_construct.h:97:73: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 97 | { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); } | ^ main.cpp: In function 'int main()': main.cpp:17:13: note: 'x' was declared here 17 | int x, y; | ^ In function 'constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = pair<int, int>; _Args = {pair<int, int>}]', inlined from 'static constexpr void std::allocator_traits<std::allocator<_CharT> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<int, int>; _Args = {std::pair<int, int>}; _Tp = std::pair<int, int>]' at /usr/include/c++/12.2.1/bits/alloc_traits.h:518:21, inlined from 'constexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::pair<int, int>}; _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >]' at /usr/include/c++/12.2.1/bits/vector.tcc:117:30, inlined from 'constexpr void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1294:21, inlined from 'int main()' at main.cpp:18:28: /usr/include/c++/12.2.1/bits/stl_construct.h:97:73: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] 97 | { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); } | ^ main.cpp: In function 'int main()': main.cpp:17:16: note: 'y' was declared here 17 | int x, y; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms413kbKilled by Signal 110
22ms434kbKilled by Signal 110
32ms458kbKilled by Signal 110
43ms475kbKilled by Signal 110
52ms454kbKilled by Signal 110
63ms520kbKilled by Signal 110
73ms577kbKilled by Signal 110
83ms614kbKilled by Signal 110
93ms630kbKilled by Signal 110
102ms405kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?