Borderou de evaluare (job #1518836)

Utilizator Alex.PAlexandru Pacurar Alex.P Data 6 noiembrie 2015 15:10:56
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:10:15: error: expected identifier or ‘(’ before ‘,’ token int l1,l2,,mr1,mr2,nr1,nr2,n1,n2,p1,p2,b,i,j,gasit=0; ^ user.c:12:5: error: ‘fin’ undeclared (first use in this function) fin=fopen("strmatch.in","r"); ^ user.c:12:5: note: each undeclared identifier is reported only once for each function it appears in user.c:13:5: error: ‘fout’ undeclared (first use in this function) fout=fopen("strmatch.out","w"); ^ user.c:15:24: warning: multi-character character constant [-Wmultichar] while(c==' ' || c=='/n'){ ^ user.c:18:5: error: ‘i’ undeclared (first use in this function) i=0; ^ user.c:19:24: warning: multi-character character constant [-Wmultichar] while(c!=' ' && c!='/n'){ ^ user.c:25:24: warning: multi-character character constant [-Wmultichar] while(c==' ' || c=='/n'){ ^ user.c:29:24: warning: multi-character character constant [-Wmultichar] while(c!=' ' && c!='/n' && c!=EOF){ ^ user.c:35:5: error: ‘n1’ undeclared (first use in this function) n1=100007; ^ user.c:36:5: error: ‘n2’ undeclared (first use in this function) n2=100021; ^ user.c:37:5: error: ‘nr1’ undeclared (first use in this function) nr1=nr2=0; ^ user.c:37:9: error: ‘nr2’ undeclared (first use in this function) nr1=nr2=0; ^ user.c:38:5: error: ‘p1’ undeclared (first use in this function) p1=p2=1; ^ user.c:38:8: error: ‘p2’ undeclared (first use in this function) p1=p2=1; ^ user.c:39:5: error: ‘b’ undeclared (first use in this function) b=123; ^ user.c:40:15: error: ‘k2’ undeclared (first use in this function) for(i=0;i<k2;i++){ ^

Ceva nu functioneaza?