Problem | mathexam |
---|---|
User | kahchun |
Submission Time | 2024-01-21 10:01:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mathexam.cpp: In function ‘int32_t main()’:
mathexam.cpp:70:14: error: call of overloaded ‘sqrt(__float128&)’ is ambiguous
70 | D = sqrt(D);
| ^
In file included from /usr/include/features.h:461,
from /usr/include/x86_64-linux-gnu/c++/9/bits/os_defines.h:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/c++config.h:528,
from /usr/include/c++/9/cassert:43,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from mathexam.cpp:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:143:1: note: candidate: ‘double sqrt(double)’
143 | __MATHCALL (sqrt,, (_Mdouble_ __x));
| ^~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from mathexam.cpp:1:
/usr/include/c++/9/cmath:467:3: note: candidate: ‘constexpr long double std::sqrt(long double)’
467 | sqrt(long double __x)