Borderou de evaluare (job #826684)

Utilizator do0ottzHapau Bety do0ottz Data 1 decembrie 2012 04:14:37
Problema Algoritmul lui Euclid Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:4: warning: data definition has no type or storage class user.c:4: warning: type defaults to ‘int’ in declaration of ‘f’ user.c:4: error: conflicting types for ‘f’ user.c:3: note: previous declaration of ‘f’ was here user.c:4: warning: initialization makes integer from pointer without a cast user.c:4: error: initializer element is not constant user.c:5: warning: data definition has no type or storage class user.c:5: warning: type defaults to ‘int’ in declaration of ‘g’ user.c:5: error: conflicting types for ‘g’ user.c:3: note: previous declaration of ‘g’ was here user.c:5: warning: initialization makes integer from pointer without a cast user.c:5: error: initializer element is not constant user.c: In function ‘main’: user.c:16: 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:17: warning: value computed is not used user.c:17: warning: value computed is not used user.c:17: error: expected ‘;’ before ‘)’ token user.c:17: error: expected expression before ‘)’ token user.c:19: 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:20: 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:21: 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:16: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result user.c:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result user.c:20: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result

Ceva nu functioneaza?