Borderou de evaluare (job #1967904)

Utilizator hevelebalazshevele balazs hevelebalazs Data 17 aprilie 2017 12:09:40
Problema Bacterii2 Status done
Runda Arhiva ICPC Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘fft’: user.c:31:24: error: ‘M_PI’ undeclared (first use in this function) double angle = 2 * M_PI / n; ^ user.c:31:24: note: each undeclared identifier is reported only once for each function it appears in user.c: In function ‘main’: user.c:69:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("bacterii2.in", "r", stdin); ^ user.c:70:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("bacterii2.out", "w", stdout); ^ user.c:73:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &t); ^ user.c:76:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &n); ^ user.c:86:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &x); ^ user.c:94:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &m); ^ user.c:97:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &x); ^

Ceva nu functioneaza?