Borderou de evaluare (job #584220)

Utilizator informatician28Andrei Dinu informatician28 Data 24 aprilie 2011 18:14:36
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'int main()': user.cpp:10: error: call of overloaded 'pow(long long int&, long 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) user.cpp:11: warning: format '%d' expects type 'int', but argument 2 has type 'long long int'

Ceva nu functioneaza?