QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#598515 | #9434. Italian Cuisine | ucup-team3837# | Compile Error | / | / | C++23 | 25.6kb | 2024-09-28 22:16:48 | 2024-09-28 22:16:51 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In instantiation of ‘constexpr int Geometry::sign(const T&) [with T = __int128]’: answer.code:469:16: required from ‘constexpr bool Geometry::isZero(const T&) [with T = __int128]’ answer.code:570:72: required from here answer.code:459:13: error: call of overloaded ‘fabs(const __int128&)’ is ambiguous 459 | if (fabs(a) < eps) return 0; | ~~~~^~~ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h:39, from /usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h:679, from /usr/include/c++/13/cassert:43, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:33, from answer.code:1: /usr/include/x86_64-linux-gnu/bits/mathcalls.h:162:1: note: candidate: ‘double fabs(double)’ 162 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | ^~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:114: /usr/include/c++/13/cmath:989:3: note: candidate: ‘constexpr __gnu_cxx::__bfloat16_t std::fabs(__gnu_cxx::__bfloat16_t)’ 989 | fabs(__gnu_cxx::__bfloat16_t __x) | ^~~~ /usr/include/c++/13/cmath:899:3: note: candidate: ‘constexpr _Float128 std::fabs(_Float128)’ 899 | fabs(_Float128 __x) | ^~~~ /usr/include/c++/13/cmath:713:3: note: candidate: ‘constexpr _Float64 std::fabs(_Float64)’ 713 | fabs(_Float64 __x) | ^~~~ /usr/include/c++/13/cmath:619:3: note: candidate: ‘constexpr _Float32 std::fabs(_Float32)’ 619 | fabs(_Float32 __x) | ^~~~ /usr/include/c++/13/cmath:525:3: note: candidate: ‘constexpr _Float16 std::fabs(_Float16)’ 525 | fabs(_Float16 __x) | ^~~~ /usr/include/c++/13/cmath:238:3: note: candidate: ‘constexpr long double std::fabs(long double)’ 238 | fabs(long double __x) | ^~~~ /usr/include/c++/13/cmath:234:3: note: candidate: ‘constexpr float std::fabs(float)’ 234 | fabs(float __x) | ^~~~