Borderou de evaluare (job #785858)

Utilizator MtkMarianHagrSnaf MtkMarian Data 9 septembrie 2012 23:08:16
Problema Factorial Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘long long int desc(long long int)’: user.cpp:22: error: call of overloaded ‘abs(long long int)’ is ambiguous /usr/include/stdlib.h:766: note: candidates are: int abs(int) /usr/include/c++/4.4/cmath:102: note: long double std::abs(long double) /usr/include/c++/4.4/cmath:98: note: float std::abs(float) /usr/include/c++/4.4/cmath:94: note: double std::abs(double) user.cpp:16: warning: unused variable ‘sum2’ user.cpp: In function ‘int main()’: user.cpp:56: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:57: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

Ceva nu functioneaza?