Borderou de evaluare (job #544341)

Utilizator feelshiftFeelshift feelshift Data 1 martie 2011 14:58:55
Problema Cuiburi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'double dist(stuff, stuff)': user.cpp:133: error: call of overloaded 'pow(int, int)' is ambiguous /usr/include/bits/mathcalls.h:154: note: candidates are: double pow(double, double) /usr/include/c++/4.2/cmath:373: note: long double std::pow(long double, int) /usr/include/c++/4.2/cmath:369: note: float std::pow(float, int) /usr/include/c++/4.2/cmath:365: note: double std::pow(double, int) /usr/include/c++/4.2/cmath:361: note: long double std::pow(long double, long double) /usr/include/c++/4.2/cmath:357: note: float std::pow(float, float) user.cpp:133: error: call of overloaded 'pow(int, int)' is ambiguous /usr/include/bits/mathcalls.h:154: note: candidates are: double pow(double, double) /usr/include/c++/4.2/cmath:373: note: long double std::pow(long double, int) /usr/include/c++/4.2/cmath:369: note: float std::pow(float, int) /usr/include/c++/4.2/cmath:365: note: double std::pow(double, int) /usr/include/c++/4.2/cmath:361: note: long double std::pow(long double, long double) /usr/include/c++/4.2/cmath:357: note: float std::pow(float, float) user.cpp: In function 'double dist2(int, int, int, int)': user.cpp:137: error: call of overloaded 'pow(int, int)' is ambiguous /usr/include/bits/mathcalls.h:154: note: candidates are: double pow(double, double) /usr/include/c++/4.2/cmath:373: note: long double std::pow(long double, int) /usr/include/c++/4.2/cmath:369: note: float std::pow(float, int) /usr/include/c++/4.2/cmath:365: note: double std::pow(double, int) /usr/include/c++/4.2/cmath:361: note: long double std::pow(long double, long double) /usr/include/c++/4.2/cmath:357: note: float std::pow(float, float) user.cpp:137: error: call of overloaded 'pow(int, int)' is ambiguous /usr/include/bits/mathcalls.h:154: note: candidates are: double pow(double, double) /usr/include/c++/4.2/cmath:373: note: long double std::pow(long double, int) /usr/include/c++/4.2/cmath:369: note: float std::pow(float, int) /usr/include/c++/4.2/cmath:365: note: double std::pow(double, int) /usr/include/c++/4.2/cmath:361: note: long double std::pow(long double, long double) /usr/include/c++/4.2/cmath:357: note: float std::pow(float, float)

Ceva nu functioneaza?