Borderou de evaluare (job #645301)

Utilizator gicu_01porcescu gicu gicu_01 Data 9 decembrie 2011 00:05:41
Problema Triang Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘polar’: user.c:13: warning: suggest explicit braces to avoid ambiguous ‘else’ user.c:17: warning: suggest explicit braces to avoid ambiguous ‘else’ user.c: In function ‘caut_bin’: user.c:46: error: ‘p’ undeclared (first use in this function) user.c:46: error: (Each undeclared identifier is reported only once user.c:46: error: for each function it appears in.) user.c:47: error: ‘a’ undeclared (first use in this function) user.c:47: warning: implicit declaration of function ‘dist’ user.c:48: error: ‘b’ undeclared (first use in this function) user.c:49: error: ‘c’ undeclared (first use in this function) user.c:51: error: too few arguments to function ‘caut_bin’ user.c:51: error: expected ‘;’ before ‘else’ user.c: In function ‘init’: user.c:56: warning: statement with no effect user.c:56: warning: format ‘%f’ expects type ‘float *’, but argument 2 has type ‘double *’ user.c:56: warning: format ‘%f’ expects type ‘float *’, but argument 3 has type ‘double *’ user.c: In function ‘caut_bin’: user.c:67: warning: ‘main’ is normally a non-static function user.c: In function ‘main’: user.c:69: warning: unused variable ‘d’ user.c:69: warning: unused variable ‘b’ user.c:69: warning: unused variable ‘a’ user.c:69: warning: unused variable ‘c’ user.c: In function ‘caut_bin’: user.c:83: error: expected declaration or statement at end of input user.c:70: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result user.c:71: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result user.c:72: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result user.c:56: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result

Ceva nu functioneaza?