QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#532038 | #9221. Missing Boundaries | ucup-team1400# | Compile Error | / | / | C++14 | 59.3kb | 2024-08-24 23:45:14 | 2024-08-24 23:45:14 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:450:28: error: ‘is_integral_v’ was not declared in this scope 450 | typename conditional_t<is_integral_v<T> || is_same_v<T, __int128_t> || | ^~~~~~~~~~~~~ answer.code:450:43: error: wrong number of template arguments (1, should be 3) 450 | typename conditional_t<is_integral_v<T> || is_same_v<T, __int128_t> || | ^ In file included from /usr/include/c++/13/bits/stl_pair.h:60, from /usr/include/c++/13/bits/stl_algobase.h:64, from /usr/include/c++/13/algorithm:60, from answer.code:13: /usr/include/c++/13/type_traits:2614:11: note: provided for ‘template<bool _Cond, class _Iftrue, class _Iffalse> using std::conditional_t = typename std::conditional::type’ 2614 | using conditional_t = typename conditional<_Cond, _Iftrue, _Iffalse>::type; | ^~~~~~~~~~~~~ answer.code:450:14: error: expected nested-name-specifier 450 | typename conditional_t<is_integral_v<T> || is_same_v<T, __int128_t> || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.code:456:28: error: ‘is_signed_v’ was not declared in this scope 456 | typename conditional_t<is_signed_v<T> || is_same_v<T, __int128_t>, | ^~~~~~~~~~~ answer.code:456:41: error: wrong number of template arguments (1, should be 3) 456 | typename conditional_t<is_signed_v<T> || is_same_v<T, __int128_t>, | ^ /usr/include/c++/13/type_traits:2614:11: note: provided for ‘template<bool _Cond, class _Iftrue, class _Iffalse> using std::conditional_t = typename std::conditional::type’ 2614 | using conditional_t = typename conditional<_Cond, _Iftrue, _Iffalse>::type; | ^~~~~~~~~~~~~ answer.code:456:14: error: expected nested-name-specifier 456 | typename conditional_t<is_signed_v<T> || is_same_v<T, __int128_t>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.code:461:28: error: ‘is_unsigned_v’ was not declared in this scope; did you mean ‘unsigned’? 461 | typename conditional_t<is_unsigned_v<T> || is_same_v<T, __uint128_t>, | ^~~~~~~~~~~~~ | unsigned answer.code:461:43: error: wrong number of template arguments (1, should be 3) 461 | typename conditional_t<is_unsigned_v<T> || is_same_v<T, __uint128_t>, | ^ /usr/include/c++/13/type_traits:2614:11: note: provided for ‘template<bool _Cond, class _Iftrue, class _Iffalse> using std::conditional_t = typename std::conditional::type’ 2614 | using conditional_t = typename conditional<_Cond, _Iftrue, _Iffalse>::type; | ^~~~~~~~~~~~~ answer.code:461:14: error: expected nested-name-specifier 461 | typename conditional_t<is_unsigned_v<T> || is_same_v<T, __uint128_t>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.code:468:14: error: ‘is_broadly_integral’ was not declared in this scope; did you mean ‘is_broadly_integral_v’? 468 | ENABLE_VALUE(is_broadly_integral); | ^~~~~~~~~~~~~~~~~~~ answer.code:466:26: note: in definition of macro ‘ENABLE_VALUE’ 466 | constexpr bool x##_v = x<T>::value; | ^ answer.code:466:29: error: expected primary-expression before ‘>’ token 466 | constexpr bool x##_v = x<T>::value; | ^ answer.code:468:1: note: in expansion of macro ‘ENABLE_VALUE’ 468 | ENABLE_VALUE(is_broadly_integral); | ^~~~~~~~~~~~ answer.code:466:32: error: ‘::value’ has not been declared 466 | constexpr bool x##_v = x<T>::value; | ^~~~~ answer.code:468:1: note: in expansion of macro ‘ENABLE_VALUE’ 468 | ENABLE_VALUE(is_broadly_integral); | ^~~~~~~~~~~~ answer.code:469:14: error: ‘is_broadly_signed’ was not declared in this scope; did you mean ‘is_broadly_signed_v’? 469 | ENABLE_VALUE(is_broadly_signed); | ^~~~~~~~~~~~~~~~~ answer.code:466:26: note: in definition of macro ‘ENABLE_VALUE’ 466 | constexpr bool x##_v = x<T>::value; | ^ answer.code:466:29: error: expected primary-expression before ‘>’ token 466 | constexpr bool x##_v = x<T>::value; | ^ answer.code:469:1: note: in expansion of macro ‘ENABLE_VALUE’ 469 | ENABLE_VALUE(is_broadly_signed); | ^~~~~~~~~~~~ answer.code:466:32: error: ‘::value’ has not been declared 466 | constexpr bool x##_v = x<T>::value; | ^~~~~ answer.code:469:1: note: in expansion of macro ‘ENABLE_VALUE’ 469 | ENABLE_VALUE(is_broadly_signed); | ^~~~~~~~~~~~ answer.code:470:14: error: ‘is_broadly_unsigned’ was not declared in this scope; did you mean ‘is_broadly_unsigned_v’? 470 | ENABLE_VALUE(is_broadly_unsigned); | ^~~~~~~~~~~~~~~~~~~ answer.cod...