Borderou de evaluare (job #650898)

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

Raport evaluator

Eroare de compilare: user.c:3: warning: second argument of ‘main’ should be ‘char **’ user.c:3: warning: third argument of ‘main’ should probably be ‘char **’ user.c:3: warning: ‘main’ takes only zero or two arguments user.c: In function ‘main’: user.c:25: 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:25: error: too few arguments to function ‘fprintf’ user.c:27: error: ‘else’ without a previous ‘if’ user.c:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result user.c:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result

Ceva nu functioneaza?