QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#195280#6414. Classical Maximization ProblemqscthmCompile Error//C++172.9kb2023-10-01 02:59:442023-10-01 02:59:45

Details

In file included from /usr/include/c++/11/ext/pb_ds/detail/type_utils.hpp:45,
                 from /usr/include/c++/11/ext/pb_ds/tag_and_trait.hpp:46,
                 from /usr/include/c++/11/ext/pb_ds/assoc_container.hpp:46,
                 from answer.code:30:
/usr/include/c++/11/cstddef:90:21: error: redefinition of ‘struct std::__byte_operand<long long int>’
   90 |   template<> struct __byte_operand<long long> { using __type = byte; };
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/cstddef:86:21: note: previous definition of ‘struct std::__byte_operand<long long int>’
   86 |   template<> struct __byte_operand<int> { using __type = byte; };
      |                     ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/cstddef:91:21: error: redefinition of ‘struct std::__byte_operand<long long unsigned int>’
   91 |   template<> struct __byte_operand<unsigned long long> { using __type = byte; };
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/cstddef:87:21: note: previous definition of ‘struct std::__byte_operand<long long unsigned int>’
   87 |   template<> struct __byte_operand<unsigned int> { using __type = byte; };
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/ext/pb_ds/detail/type_utils.hpp:47,
                 from /usr/include/c++/11/ext/pb_ds/tag_and_trait.hpp:46,
                 from /usr/include/c++/11/ext/pb_ds/assoc_container.hpp:46,
                 from answer.code:30:
/usr/include/c++/11/tr1/type_traits:121:3: error: redefinition of ‘struct std::tr1::__is_integral_helper<long long int>’
  121 |   _DEFINE_SPEC(0, __is_integral_helper, long long, true)
      |   ^
/usr/include/c++/11/tr1/type_traits:117:3: note: previous definition of ‘struct std::tr1::__is_integral_helper<long long int>’
  117 |   _DEFINE_SPEC(0, __is_integral_helper, int, true)
      |   ^
/usr/include/c++/11/tr1/type_traits:122:3: error: redefinition of ‘struct std::tr1::__is_integral_helper<long long unsigned int>’
  122 |   _DEFINE_SPEC(0, __is_integral_helper, unsigned long long, true)
      |   ^
/usr/include/c++/11/tr1/type_traits:118:3: note: previous definition of ‘struct std::tr1::__is_integral_helper<long long unsigned int>’
  118 |   _DEFINE_SPEC(0, __is_integral_helper, unsigned int, true)
      |   ^
/usr/include/c++/11/tr1/type_traits:549:3: error: redefinition of ‘struct std::tr1::__is_signed_helper<long long int>’
  549 |   _DEFINE_SPEC(0, __is_signed_helper, long long, true)
      |   ^
/usr/include/c++/11/tr1/type_traits:547:3: note: previous definition of ‘struct std::tr1::__is_signed_helper<long long int>’
  547 |   _DEFINE_SPEC(0, __is_signed_helper, int, true)
      |   ^
/usr/include/c++/11/tr1/type_traits:564:3: error: redefinition of ‘struct std::tr1::__is_unsigned_helper<long long unsigned int>’
  564 |   _DEFINE_SPEC(0, __is_unsigned_helper, unsigned long long, true)
      |   ^
/usr/include/c++/11/tr1/type_traits:562:3: note: previous definition of ‘struct std::tr1::__is_unsigned_helper<long long unsigned int>’
  562 |   _DEFINE_SPEC(0, __is_unsigned_helper, unsigned int, true)
      |   ^
In file included from /usr/include/c++/11/bits/shared_ptr_atomic.h:33,
                 from /usr/include/c++/11/memory:78,
                 from /usr/include/c++/11/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/11/ext/pb_ds/assoc_container.hpp:47,
                 from answer.code:30:
/usr/include/c++/11/bits/atomic_base.h: In function ‘constexpr std::memory_order std::operator|(std::memory_order, std::__memory_order_modifier)’:
/usr/include/c++/11/bits/atomic_base.h:100:24: error: expected primary-expression before ‘(’ token
  100 |     return memory_order(int(__m) | int(__mod));
      |                        ^
answer.code:28:13: error: expected primary-expression before ‘long’
   28 | #define int long long
      |             ^~~~
In file included from /usr/include/c++/11/bits/shared_ptr_atomic.h:33,
                 from /usr/include/c++/11/memory:78,
                 from /usr/include/c++/11/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/11/ext/pb_ds/assoc_container.hpp:47,
                 from answer.code:30:
/usr/include/c++/11/bits/atomic_base.h: In function ‘constexpr std::memory_order std::operator&(std::memory_order, std::__memory_order_modifier)’:
/usr/include/c++/11/bits/atomic_base.h:106:24: error: expected primary-expression before ‘(’ token
  106 |     return memory_order(int(__m) & int(__mod));
      |                        ^
answer.code:28:13: error: expected primary-expression before ‘long’
   28 | #define int long long
      |             ^~~~
/usr/include/c++/11/bits/atomic_base.h: In function ‘void std::atomic_thread_fence(std::memory_order)’:
answer.code:28:13: error: expected primary-expression before ‘long’
   28 | #define int long long
      |             ^~~~
/usr/include/c++/11/bits/atomic_base.h: In fu...