Borderou de evaluare (job #1663130)

Utilizator mantisVraciu Stefan mantis Data 25 martie 2016 16:05:12
Problema Arie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:12: error: conflicting declaration ‘double m’ double sol,m =50,Mx=-50; ^ user.cpp:8:8: error: ‘m’ has a previous declaration as ‘int m’ int n, m; ^ user.cpp: In function ‘int main()’: user.cpp:17:9: error: ‘mx’ was not declared in this scope mx = min(mx, pol1[i].x); ^ user.cpp:24:9: error: ‘mx’ was not declared in this scope mx = min(mx, pol1[i].x); ^ user.cpp:28:22: error: ‘mx’ was not declared in this scope for (double SW = mx - 1; SW <= Mx + 1; SW += eps) ^ user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] { freopen("arie.in", "r", stdin); ^ user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arie.out", "w", stdout); ^ user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:16:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] { scanf("%lf %lf", &pol1[i].x, &pol1[i].y); ^ user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:23:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] { scanf("%lf %lf", &pol2[i].x, &pol2[i].y); ^

Ceva nu functioneaza?