Borderou de evaluare (job #757435)

Utilizator vlad.maneaVlad Manea vlad.manea Data 12 iunie 2012 01:38:34
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘double dist(int, int)’: user.cpp:12: error: ‘pow’ was not declared in this scope user.cpp:12: error: ‘sqrt’ was not declared in this scope user.cpp: In function ‘double mind(int, int)’: user.cpp:89: error: call of overloaded ‘abs(double)’ is ambiguous /usr/include/stdlib.h:766: note: candidates are: int abs(int) /usr/include/c++/4.4/cstdlib:170: note: long long int __gnu_cxx::abs(long long int) /usr/include/c++/4.4/cstdlib:139: note: long int std::abs(long int) user.cpp: In function ‘int main()’: user.cpp:114: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:115: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:116: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:120: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

Ceva nu functioneaza?