Borderou de evaluare (job #1011507)

Utilizator sziliMandici Szilard szili Data 16 octombrie 2013 21:49:35
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘readData’: user.c:20:26: error: expected expression before ‘)’ token gets(s1, sizeof(s1), ) ^ user.c:20:26: error: too many arguments to function ‘gets’ In file included from user.c:1:0: /usr/include/stdio.h:612:14: note: declared here extern char *gets (char *__s) __wur; ^ user.c:28:12: error: ‘i’ undeclared (first use in this function) s1[i++] = c; ^ user.c:28:12: note: each undeclared identifier is reported only once for each function it appears in user.c: In function ‘buildPrefixTable’: user.c:50:5: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] int m = strlen(s1) - 1; ^ user.c:50:13: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default] int m = strlen(s1) - 1; ^ user.c: In function ‘kmp’: user.c:70:14: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default] int n = strlen(s2) - 1; ^

Ceva nu functioneaza?