Borderou de evaluare (job #660185)

Utilizator alexalghisiAlghisi Alessandro Paolo alexalghisi Data 11 ianuarie 2012 21:22:37
Problema Triunghi2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘double arie(std::pair<int, int>, std::pair<int, int>, std::pair<int, int>)’: user.cpp:13: 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:58: warning: comparison between signed and unsigned integer expressions user.cpp:20: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:21: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

Ceva nu functioneaza?