Skaičių ženklai

Taškai: 0

Compile: FAIL

skaiciu_zenklai.cpp: In function ‘int main()’: skaiciu_zenklai.cpp:13:23: error: no matching function for call to ‘pow(double)’ x= sqrt(pow(xp+yp)+pow(xp-yp)); ^ In file included from /usr/include/features.h:367:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:39, from /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h:482, from /usr/include/c++/5/iostream:38, from skaiciu_zenklai.cpp:1: /usr/include/x86_64-linux-gnu/bits/mathcalls.h:153:1: note: candidate: double pow(double, double) __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y)); ^ /usr/include/x86_64-linux-gnu/bits/mathcalls.h:153:1: note: candidate expects 2 arguments, 1 provided In file included from skaiciu_zenklai.cpp:2:0: /usr/include/c++/5/cmath:434:5: note: candidate: template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) pow(_Tp __x, _Up __y) ^ /usr/include/c++/5/cmath:434:5: note: template argument deduction/substitution failed: skaiciu_zenklai.cpp:13:23: note: candidate expects 2 arguments, 1 provided x= sqrt(pow(xp+yp)+pow(xp-yp)); ^ In file included from skaiciu_zenklai.cpp:2:0: /usr/include/c++/5/cmath:411:3: note: candidate: constexpr long double std::pow(long double, long double) pow(long double __x, long double __y) ^ /usr/include/c++/5/cmath:411:3: note: candidate expects 2 arguments, 1 provided /usr/include/c++/5/cmath:407:3: note: candidate: constexpr float std::pow(float, float) pow(float __x, float __y) ^ /usr/include/c++/5/cmath:407:3: note: candidate expects 2 arguments, 1 provided skaiciu_zenklai.cpp:13:34: error: no matching function for call to ‘pow(double)’ x= sqrt(pow(xp+yp)+pow(xp-yp)); ^ In file included from /usr/include/features.h:367:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:39, from /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h:482, from /usr/include/c++/5/iostream:38, from skaiciu_zenklai.cpp:1: /usr/include/x86_64-linux-gnu/bits/mathcalls.h:153:1: note: candidate: double pow(double, double) __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y)); ^ /usr/include/x86_64-linux-gnu/bits/mathcalls.h:153:1: note: candidate expects 2 arguments, 1 provided In file included from skaiciu_zenklai.cpp:2:0: /usr/include/c++/5/cmath:434:5: note: candidate: template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) pow(_Tp __x, _Up __y) ^ /usr/include/c++/5/cmath:434:5: note: template argument deduction/substitution failed: skaiciu_zenklai.cpp:13:34: note: candidate expects 2 arguments, 1 provided x= sqrt(pow(xp+yp)+pow(xp-yp)); ^ In file included from skaiciu_zenklai.cpp:2:0: /usr/include/c++/5/cmath:411:3: note: candidate: constexpr long double std::pow(long double, long double) pow(long double __x, long double __y) ^ /usr/include/c++/5/cmath:411:3: note: candidate expects 2 arguments, 1 provided /usr/include/c++/5/cmath:407:3: note: candidate: constexpr float std::pow(float, float) pow(float __x, float __y) ^ /usr/include/c++/5/cmath:407:3: note: candidate expects 2 arguments, 1 provided

nr.resulttimemessage