Borderou de evaluare (job #64213)

Utilizator avatar Alex11 Petrescu Alexandru 7B Alex11 IP ascuns
Problemă SecvRest Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 23 mar. 2014 19:26:14 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:8:6: warning: unused variable ‘n’ [-Wunused-variable] user.c: At top level: user.c:36:2: warning: data definition has no type or storage class [enabled by default] user.c:36:2: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:36:2: warning: parameter names (without types) in function declaration [enabled by default] user.c:37:2: warning: data definition has no type or storage class [enabled by default] user.c:37:2: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:37:2: warning: parameter names (without types) in function declaration [enabled by default] user.c:38:2: error: expected identifier or ‘(’ before ‘return’ user.c:39:1: error: expected identifier or ‘(’ before ‘}’ token user.c: In function ‘main’: user.c:12:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:14:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:35:2: warning: control reaches end of non-void function [-Wreturn-type]