Borderou de evaluare (job #650517)

Utilizator FIIBCPBuzila Octavian Calin FIIBCP Data 18 decembrie 2011 13:12:53
Problema Suma si numarul divizorilor Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:6: warning: data definition has no type or storage class user.c:6: warning: type defaults to ‘int’ in declaration of ‘f’ user.c:6: error: conflicting types for ‘f’ user.c:5: note: previous declaration of ‘f’ was here user.c:6: warning: initialization makes integer from pointer without a cast user.c:6: error: initializer element is not constant user.c:7: warning: data definition has no type or storage class user.c:7: warning: type defaults to ‘int’ in declaration of ‘g’ user.c:7: error: conflicting types for ‘g’ user.c:5: note: previous declaration of ‘g’ was here user.c:7: warning: initialization makes integer from pointer without a cast user.c:7: error: initializer element is not constant user.c: In function ‘sol’: user.c:39: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast /usr/include/bits/stdio2.h:96: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’ user.c: In function ‘main’: user.c:45: warning: passing argument 1 of ‘fscanf’ makes pointer from integer without a cast /usr/include/stdio.h:425: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’ user.c:47: warning: passing argument 1 of ‘fscanf’ makes pointer from integer without a cast /usr/include/stdio.h:425: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’ user.c:45: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result user.c:47: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result

Ceva nu functioneaza?