Banner Home Page DIY Contests Problems Ranklist Status Statistics

View Compilation Error

2_16253_1141094_6673.cpp: In function `void dfs1(int, int)':
2_16253_1141094_6673.cpp:35: error: call of overloaded `pow(int, 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_16253_1141094_6673.cpp:38: error: call of overloaded `pow(int, 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_16253_1141094_6673.cpp:39: error: call of overloaded `pow(int, 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_16253_1141094_6673.cpp:40: error: call of overloaded `pow(int, 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_16253_1141094_6673.cpp:41: error: call of overloaded `pow(int, 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_16253_1141094_6673.cpp: In function `void dfs2(int, int)':
2_16253_1141094_6673.cpp:51: error: call of overloaded `pow(int, 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_16253_1141094_6673.cpp:54: error: call of overloaded `pow(int, 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_16253_1141094_6673.cpp:55: error: call of overloaded `pow(int, 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_16253_1141094_6673.cpp:56: error: call of overloaded `pow(int, 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_16253_1141094_6673.cpp:57: error: call of overloaded `pow(int, 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_16253_1141094_6673.cpp: In function `void dfs3(int, int)':
2_16253_1141094_6673.cpp:67: error: call of overloaded `pow(int, 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