QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#853129#9727. Barkley IIIucup-team359#Compile Error//C++204.3kb2025-01-11 15:53:082025-01-11 15:53:13

詳細信息

answer.code: In function ‘int main()’:
answer.code:168:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  168 |         write(1, OB, OP);
      |         ~~~~~^~~~~~~~~~~
answer.code: In function ‘void W(u64)’:
answer.code:105:24: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  105 |   if (OP > 65520) write(1, OB, OP), OP = 0;
      |                   ~~~~~^~~~~~~~~~~
In file included from /usr/include/c++/13/string:43,
                 from /usr/include/c++/13/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:52,
                 from answer.code:5:
/usr/include/c++/13/bits/allocator.h: In destructor ‘constexpr std::_Vector_base<veb<20>, std::allocator<veb<20> > >::_Vector_impl::~_Vector_impl()’:
/usr/include/c++/13/bits/allocator.h:184:7: error: inlining failed in call to ‘always_inline’ ‘constexpr std::allocator< <template-parameter-1-1> >::~allocator() noexcept [with _Tp = veb<20>]’: target specific option mismatch
  184 |       ~allocator() _GLIBCXX_NOTHROW { }
      |       ^
In file included from /usr/include/c++/13/vector:66,
                 from /usr/include/c++/13/functional:64,
                 from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:53:
/usr/include/c++/13/bits/stl_vector.h:133:14: note: called from here
  133 |       struct _Vector_impl
      |              ^~~~~~~~~~~~