Banner Home Page DIY Contests Problems Ranklist Status Statistics
½âÌⱨ¸æÍøÖ·£ºhttp://blog.csdn.net/z690933166/article/details/13167763

View Compilation Error

2_20955_1527259_272.cpp: In function `int main()':
2_20955_1527259_272.cpp:15: error: call of overloaded `pow(long long int&, long long int&)' is ambiguous
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/math.h:156: note: candidates are: double pow(double, double)
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:361: note:                 long double std::pow(long double, int)
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:357: note:                 float std::pow(float, int)
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:353: note:                 double std::pow(double, int)
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:349: note:                 long double std::pow(long double, long double)
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:345: note:                 float std::pow(float, float)
2_20955_1527259_272.cpp:15: error: call of overloaded `pow(long long int&, long long int&)' is ambiguous
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/math.h:156: note: candidates are: double pow(double, double)
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:361: note:                 long double std::pow(long double, int)
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:357: note:                 float std::pow(float, int)
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:353: note:                 double std::pow(double, int)
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:349: note:                 long double std::pow(long double, long double)
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:345: note:                 float std::pow(float, float)