Borderou de evaluare (job #206650)

Utilizator avatar luca.prunoiu B Prunoiu Luca luca.prunoiu IP ascuns
Problemă Prieteni 1 (clasa a 6-a) Compilator c
Rundă 2016-02-23-test-6 Status evaluat
Dată 23 feb. 2016 13:02:04 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘Prim’: user.c:19:19: warning: unused variable ‘j’ [-Wunused-variable] user.c:19:17: warning: unused variable ‘l’ [-Wunused-variable] user.c: In function ‘main’: user.c:86:17: error: expected ‘}’ before ‘else’ user.c:79:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] user.c:92:13: error: ‘else’ without a previous ‘if’ user.c:41:46: warning: unused variable ‘k’ [-Wunused-variable] user.c: At top level: user.c:95:5: warning: data definition has no type or storage class [enabled by default] user.c:95:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:95:5: warning: parameter names (without types) in function declaration [enabled by default] user.c:96:5: warning: data definition has no type or storage class [enabled by default] user.c:96:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:96:5: warning: parameter names (without types) in function declaration [enabled by default] user.c:97:5: error: expected identifier or ‘(’ before ‘return’ user.c:98:1: error: expected identifier or ‘(’ before ‘}’ token user.c: In function ‘main’: user.c:44:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:47:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:94:5: warning: control reaches end of non-void function [-Wreturn-type]