QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#214191#6550. Elimination Raceucup-team1376#Compile Error//C++1421.5kb2023-10-14 17:50:252023-10-14 17:50:25

Details

answer.code:140:55: error: ‘is_signed_v’ is not a member of ‘std’; did you mean ‘is_signed’?
  140 |         template <typename _Tp, std::enable_if_t<std::is_signed_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
      |                                                       ^~~~~~~~~~~
      |                                                       is_signed
answer.code:140:55: error: ‘is_signed_v’ is not a member of ‘std’; did you mean ‘is_signed’?
  140 |         template <typename _Tp, std::enable_if_t<std::is_signed_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
      |                                                       ^~~~~~~~~~~
      |                                                       is_signed
answer.code:140:70: error: template argument 1 is invalid
  140 |         template <typename _Tp, std::enable_if_t<std::is_signed_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
      |                                                                      ^
answer.code:140:74: error: expected ‘>’
  140 |         template <typename _Tp, std::enable_if_t<std::is_signed_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
      |                                                                          ^~~
answer.code:140:101: error: expected unqualified-id before ‘=’ token
  140 |         template <typename _Tp, std::enable_if_t<std::is_signed_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
      |                                                                                                     ^
answer.code:160:55: error: ‘is_unsigned_v’ is not a member of ‘std’; did you mean ‘is_unsigned’?
  160 |         template <typename _Tp, std::enable_if_t<std::is_unsigned_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
      |                                                       ^~~~~~~~~~~~~
      |                                                       is_unsigned
answer.code:160:55: error: ‘is_unsigned_v’ is not a member of ‘std’; did you mean ‘is_unsigned’?
  160 |         template <typename _Tp, std::enable_if_t<std::is_unsigned_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
      |                                                       ^~~~~~~~~~~~~
      |                                                       is_unsigned
answer.code:160:72: error: template argument 1 is invalid
  160 |         template <typename _Tp, std::enable_if_t<std::is_unsigned_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
      |                                                                        ^
answer.code:160:76: error: expected ‘>’
  160 |         template <typename _Tp, std::enable_if_t<std::is_unsigned_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
      |                                                                            ^~~
answer.code:160:103: error: expected unqualified-id before ‘=’ token
  160 |         template <typename _Tp, std::enable_if_t<std::is_unsigned_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
      |                                                                                                       ^
answer.code:171:55: error: ‘is_floating_point_v’ is not a member of ‘std’; did you mean ‘is_floating_point’?
  171 |         template <typename _Tp, std::enable_if_t<std::is_floating_point_v<_Tp>> * = nullptr>
      |                                                       ^~~~~~~~~~~~~~~~~~~
      |                                                       is_floating_point
answer.code:171:55: error: ‘is_floating_point_v’ is not a member of ‘std’; did you mean ‘is_floating_point’?
  171 |         template <typename _Tp, std::enable_if_t<std::is_floating_point_v<_Tp>> * = nullptr>
      |                                                       ^~~~~~~~~~~~~~~~~~~
      |                                                       is_floating_point
answer.code:171:75: error: template argument 1 is invalid
  171 |         template <typename _Tp, std::enable_if_t<std::is_floating_point_v<_Tp>> * = nullptr>
      |                                                                           ^~~
answer.code:171:83: error: expected unqualified-id before ‘=’ token
  171 |         template <typename _Tp, std::enable_if_t<std::is_floating_point_v<_Tp>> * = nullptr>
      |                                                                                   ^
answer.code:275:55: error: ‘is_signed_v’ is not a member of ‘std’; did you mean ‘is_signed’?
  275 |         template <typename _Tp, std::enable_if_t<std::is_signed_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
      |                                                       ^~~~~~~~~~~
      |                                                       is_signed
answer.code:275:55: error: ‘is_signed_v’ is not a member of ‘std’; did you mean ‘is_signed’?
  275 |         template <typename _Tp, std::enable_if_t<std::is_signed_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
      |                                                       ^~~~~~~~~~~
      |                                       ...