Problem swords
User Reverberate
Submission Time 2024-02-18 13:11:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/bits/stl_tempbuf.h:60,
from /usr/include/c++/9/bits/stl_algo.h:62,
from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from swords.cpp:1:
/usr/include/c++/9/bits/stl_construct.h: In instantiation of ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = sword; _Args = {}]’:
/usr/include/c++/9/bits/stl_uninitialized.h:545:18: required from ‘static _ForwardIterator std::__uninitialized_default_n_1<_TrivialValueType>::__uninit_default_n(_ForwardIterator, _Size) [with _ForwardIterator = sword*; _Size = long unsigned int; bool _TrivialValueType = false]’
/usr/include/c++/9/bits/stl_uninitialized.h:601:20: required from ‘_ForwardIterator std::__uninitialized_default_n(_ForwardIterator, _Size) [with _ForwardIterator = sword*; _Size = long unsigned int]’
/usr/include/c++/9/bits/stl_uninitialized.h:663:44: req