F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:64,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/deque:62,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/queue:62,
                 from 0_0_39108419_19991.cpp:2:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h: In instantiation of 'struct std::pair<const std::array<long long int, 4>, long long int>':
0_0_39108419_19991.cpp:57:28:   required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:193:11: error: 'std::pair<_T1, _T2>::first' has incomplete type
  193 |       _T1 first;                 ///< The first member
      |           ^~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/uses_allocator_args.h:38,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/memory_resource.h:41,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/deque:76:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/tuple:2005:45: note: declaration of 'struct std::array<long long int, 4>'
 2005 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:60:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits: In instantiation of 'struct std::__is_implicitly_default_constructible<const std::array<long long int, 4> >':
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits:161:35:   required by substitution of 'template<class ... _Bn> std::__detail::__first_t<std::integral_constant<bool, true>, typename std::enable_if<(bool)(_Bn::value), void>::type ...> std::__detail::__and_fn(int) [with _Bn = {std::__is_implicitly_default_constructible<const std::array<long long int, 4> >, std::__is_implicitly_default_constructible<long long int>}]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits:177:42:   required from 'struct std::__and_<std::__is_implicitly_default_constructible<const std::array<long long int, 4> >, std::__is_implicitly_default_constructible<long long int> >'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits:182:34:   required from 'struct std::__not_<std::__and_<std::__is_implicitly_default_constructible<const std::array<long long int, 4> >, std::__is_implicitly_default_constructible<long long int> > >'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:247:16:   required from 'struct std::pair<const std::array<long long int, 4>, long long int>'
0_0_39108419_19991.cpp:57:28:   required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits:1040:25: error: invalid use of incomplete type 'const struct std::array<long long int, 4>' [-fpermissive]
 1040 |       = __bool_constant<__is_constructible(_Tp, _Args...)>;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/tuple:2005:45: note: declaration of 'struct std::array<long long int, 4>'
 2005 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits: In instantiation of 'constexpr const bool std::is_convertible_v<const std::array<long long int, 4>&, const std::array<long long int, 4> >':
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:280:18:   required from 'static constexpr bool std::pair<_T1, _T2>::_S_convertible() [with _U1 = const std::array<long long int, 4>&; _U2 = const long long int&; _T1 = const std::array<long long int, 4>; _T2 = long long int]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:304:65:   required from 'struct std::pair<const std::array<long long int, 4>, long long int>'
0_0_39108419_19991.cpp:57:28:   required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits:3363:44: error: invalid use of incomplete type 'const struct std::array<long long int, 4>' [-fpermissive]
 3363 |   inline constexpr bool is_convertible_v = __is_convertible(_From, _To);
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/tuple:2005:45: note: declaration of 'struct std::array<long long int, 4>'
 2005 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h: In instantiation of 'struct std::pair<const std::array<long long int, 4>, long long int>':
0_0_39108419_19991.cpp:57:28:   required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:304:65: error: 'static constexpr bool std::pair<_T1, _T2>::_S_convertible() [with _U1 = const std::array<long long int, 4>&; _U2 = const long long int&; _T1 = const std::array<long long int, 4>; _T2 = long long int]' called in a constant expression
  304 |       constexpr explicit(!_S_convertible<const _T1&, const _T2&>())
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:278:9: note: 'static constexpr bool std::pair<_T1, _T2>::_S_convertible() [with _U1 = const std::array<long long int, 4>&; _U2 = const long long int&; _T1 = const std::array<long long int, 4>; _T2 = long long int]' is not usable as a 'constexpr' function because:
  278 |         _S_convertible()
      |         ^~~~~~~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits: In instantiation of 'constexpr const bool std::is_constructible_v<const std::array<long long int, 4>, const std::array<long long int, 4>&>':
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:262:18:   required from 'static constexpr bool std::pair<_T1, _T2>::_S_constructible() [with _U1 = const std::array<long long int, 4>&; _U2 = const long long int&; _T1 = const std::array<long long int, 4>; _T2 = long long int]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:327:52:   required by substitution of 'template<class _U1, class _U2>  requires  _S_constructible<const _U1&, const _U2&>() && !_S_dangles<_U1, _U2>() constexpr std::pair<const std::array<long long int, 4>, long long int>::pair(const std::pair<_T1, _T2>&) [with _U1 = const std::array<long long int, 4>; _U2 = long long int]'
0_0_39108419_19991.cpp:57:28:   required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits:3249:46: error: invalid use of incomplete type 'const struct std::array<long long int, 4>' [-fpermissive]
 3249 |   inline constexpr bool is_constructible_v = __is_constructible(_Tp, _Args...);
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/tuple:2005:45: note: declaration of 'struct std::array<long long int, 4>'
 2005 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h: In substitution of 'template<class _U1, class _U2>  requires  _S_constructible<const _U1&, const _U2&>() && !_S_dangles<_U1, _U2>() constexpr std::pair<const std::array<long long int, 4>, long long int>::pair(const std::pair<_T1, _T2>&) [with _U1 = const std::array<long long int, 4>; _U2 = long long int]':
0_0_39108419_19991.cpp:57:28:   required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:330:2:   required by the constraints of 'template<class _T1, class _T2> template<class _U1, class _U2>  requires  _S_constructible<const _U1&, const _U2&>() && !_S_dangles<_U1, _U2>() constexpr std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&)'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:327:59: error: 'static constexpr bool std::pair<_T1, _T2>::_S_constructible() [with _U1 = const std::array<long long int, 4>&; _U2 = const long long int&; _T1 = const std::array<long long int, 4>; _T2 = long long int]' called in a constant expression
  327 |         requires (_S_constructible<const _U1&, const _U2&>())
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:260:9: note: 'static constexpr bool std::pair<_T1, _T2>::_S_constructible() [with _U1 = const std::array<long long int, 4>&; _U2 = const long long int&; _T1 = const std::array<long long int, 4>; _T2 = long long int]' is not usable as a 'constexpr' function because:
  260 |         _S_constructible()
      |         ^~~~~~~~~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h: In substitution of 'template<class _U1, class _U2>  requires  _S_constructible<const _U1&, const _U2&>() && _S_dangles<const _U1&, const _U2&>() constexpr std::pair<const std::array<long long int, 4>, long long int>::pair(const std::pair<_T1, _T2>&) [with _U1 = const std::array<long long int, 4>; _U2 = long long int]':
0_0_39108419_19991.cpp:57:28:   required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:339:2:   required by the constraints of 'template<class _T1, class _T2> template<class _U1, class _U2>  requires  _S_con


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-23 01:01:32, Gzip enabled