Borderou de evaluare (job #95959)

Utilizator avatar fotadavid B Fota David fotadavid IP ascuns
Problemă Numchar (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 8 dec. 2014 16:39:05 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:5:4: error: invalid initializer user.c:6:4: error: invalid initializer user.c:9:4: error: incompatible type for argument 1 of ‘fscanf’ /usr/include/stdio.h:449:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘FILE’ user.c:10:8: error: ‘i’ undeclared (first use in this function) user.c:10:8: note: each undeclared identifier is reported only once for each function it appears in user.c:11:4: error: incompatible type for argument 1 of ‘fscanf’ /usr/include/stdio.h:449:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘FILE’ user.c:12:4: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] user.c:6:9: warning: unused variable ‘fout’ [-Wunused-variable] user.c: At top level: user.c:18:12: error: expected declaration specifiers or ‘...’ before string constant user.c:18:20: error: unknown type name ‘b’ user.c:18:22: error: unknown type name ‘c’ user.c:19:1: error: expected identifier or ‘(’ before ‘}’ token user.c:20:1: error: expected identifier or ‘(’ before ‘return’ user.c: In function ‘main’: user.c:17:4: warning: control reaches end of non-void function [-Wreturn-type]