Borderou de evaluare (job #112871)

Utilizator avatar ericals Ericals ericals IP ascuns
Problemă Magic1 (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 2 feb. 2015 12:23:55 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:16:9: error: ‘v’ undeclared (first use in this function) user.c:16:9: note: each undeclared identifier is reported only once for each function it appears in user.c:7:13: warning: unused variable ‘j’ [-Wunused-variable] user.c: At top level: user.c:24:19: error: expected ‘)’ before string constant user.c:25:6: warning: data definition has no type or storage class [enabled by default] user.c:25:6: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int] user.c:26:6: error: expected identifier or ‘(’ before ‘while’ user.c:28:13: error: expected ‘)’ before ‘+’ token user.c:29:6: warning: data definition has no type or storage class [enabled by default] user.c:29:6: warning: type defaults to ‘int’ in declaration of ‘v’ [-Wimplicit-int] user.c:29:6: error: variably modified ‘v’ at file scope user.c:29:6: error: invalid initializer user.c:30:6: error: expected identifier or ‘(’ before ‘for’ user.c:30:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token user.c:30:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token user.c:34:6: warning: data definition has no type or storage class [enabled by default] user.c:34:6: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:34:6: warning: parameter names (without types) in function declaration [enabled by default] user.c:35:6: warning: data definition has no type or storage class [enabled by default] user.c:35:6: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:35:6: warning: parameter names (without types) in function declaration [enabled by default] user.c:36:6: error: expected identifier or ‘(’ before ‘return’ user.c:37:1: error: expected identifier or ‘(’ before ‘}’ token user.c: In function ‘main’: user.c:11:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:23:5: warning: control reaches end of non-void function [-Wreturn-type]