Borderou de evaluare (job #1183394)

Utilizator stefynr8Space Monkey stefynr8 Data 8 mai 2014 22:53:30
Problema Cercuri5 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int round(double)’: user.cpp:65:22: error: new declaration ‘int round(double)’ int round (double val) ^ In file included from /usr/include/features.h:357:0, from /usr/include/stdio.h:28, from user.cpp:1: /usr/include/i386-linux-gnu/bits/mathcalls.h:311:1: error: ambiguates old declaration ‘double round(double)’ __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ user.cpp: In function ‘int main()’: user.cpp:73:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cercuri5.in","r",stdin); ^ user.cpp:74:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cercuri5.out","w",stdout); ^ user.cpp:77:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:83:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &R, &M); ^ user.cpp:86:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf %lf %lf %lf", &x1, &y1, &x2, &y2); ^

Ceva nu functioneaza?