Borderou de evaluare (job #243748)

Utilizator otilia_sOtilia Stretcu otilia_s Data 13 ianuarie 2009 22:17:51
Problema Biti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: user.cpp: In function 'void afisare()': user.cpp:21: warning: format '%d' expects type 'int', but argument 3 has type 'long int' user.cpp:25: warning: format '%d' expects type 'int', but argument 3 has type 'long int' user.cpp: In function 'void rezolvare()': user.cpp:32: 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:35: error: call of overloaded 'pow(int, long 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?