QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#572681 | #6401. Classic: N Real DNA Pots | MaMengQi | Compile Error | / | / | C++20 | 3.5kb | 2024-09-18 15:55:14 | 2024-09-18 15:55:14 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:35:39: warning: bad option ‘-fwhole-program’ to pragma ‘optimize’ [-Wpragmas] 35 | #pragma GCC optimize("-fwhole-program") | ^ answer.code:42:41: warning: bad option ‘-fstrict-overflow’ to pragma ‘optimize’ [-Wpragmas] 42 | #pragma GCC optimize("-fstrict-overflow") | ^ answer.code:44:41: warning: bad option ‘-fcse-skip-blocks’ to pragma ‘optimize’ [-Wpragmas] 44 | #pragma GCC optimize("-fcse-skip-blocks") | ^ answer.code:58:51: warning: bad option ‘-funsafe-loop-optimizations’ to pragma ‘optimize’ [-Wpragmas] 58 | #pragma GCC optimize("-funsafe-loop-optimizations") | ^ answer.code:70:17: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes] 70 | inline int read(){ | ^ answer.code:70:17: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes] answer.code:70:17: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes] answer.code:70:17: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes] answer.code:79:18: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes] 79 | bool chk(double s){ | ^ answer.code:79:18: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes] answer.code:79:18: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes] answer.code:79:18: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes] answer.code:93:13: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes] 93 | signed main(){ | ^ answer.code:93:13: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes] answer.code:93:13: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes] answer.code:93:13: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes] 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:62: /usr/include/c++/13/bits/allocator.h: In destructor ‘constexpr std::_Vector_base<double, std::allocator<double> >::_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 = double]’: 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 | ^~~~~~~~~~~~