Borderou de evaluare (job #650894)

Utilizator daniel.burgheleaDaniel Burghelea daniel.burghelea Data 19 decembrie 2011 08:30:39
Problema Elementul majoritar Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’ user.c: In function ‘main’: user.c:9: error: ‘n’ undeclared (first use in this function) user.c:9: error: (Each undeclared identifier is reported only once user.c:9: error: for each function it appears in.) user.c:10: error: ‘i’ undeclared (first use in this function) user.c:11: error: ‘v’ undeclared (first use in this function) user.c:12: error: ‘a’ undeclared (first use in this function) user.c:13: error: ‘b’ undeclared (first use in this function) user.c:26: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type /usr/include/bits/stdio2.h:96: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ user.c:26: error: too few arguments to function ‘fprintf’ user.c:28: error: ‘else’ without a previous ‘if’

Ceva nu functioneaza?