Borderou de evaluare (job #3234390)

Utilizator sirbu27Sirbu Iulia-Georgiana sirbu27 Data 9 iunie 2024 10:47:33
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:14:9: note: 'x' was declared here 14 | 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:14:12: note: 'y' was declared here 14 | int x, y; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms409kbKilled by Signal 110
22ms421kbKilled by Signal 110
32ms450kbKilled by Signal 110
43ms487kbKilled by Signal 110
52ms450kbKilled by Signal 110
62ms520kbKilled by Signal 110
72ms540kbKilled by Signal 110
83ms622kbKilled by Signal 110
93ms626kbKilled by Signal 110
102ms413kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?