QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#551863#9250. Max GCDucup-team4812#Compile Error//C++145.5kb2024-09-07 18:37:242024-09-07 18:37:25

詳細信息

answer.code: In function ‘void Tem::Mul(long long int&, long long int)’:
answer.code:63:38: warning: division by zero [-Wdiv-by-zero]
   63 |     void Mul(int &x,int y){x = x * y % mod;}
      |                                ~~~~~~^~~~~
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:4:
/usr/include/c++/13/bits/allocator.h: In destructor ‘std::_Vector_base<long long int, std::allocator<long long int> >::_Vector_impl::~_Vector_impl()’:
/usr/include/c++/13/bits/allocator.h:184:7: error: inlining failed in call to ‘always_inline’ ‘std::allocator< <template-parameter-1-1> >::~allocator() noexcept [with _Tp = long long int]’: target specific option mismatch
  184 |       ~allocator() _GLIBCXX_NOTHROW { }
      |       ^
In file included from /usr/include/c++/13/vector:66,
                 from /usr/include/c++/13/queue:63,
                 from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:157:
/usr/include/c++/13/bits/stl_vector.h:133:14: note: called from here
  133 |       struct _Vector_impl
      |              ^~~~~~~~~~~~