Borderou de evaluare (job #1097683)
Utilizator | Data | 3 februarie 2014 20:17:32 | |
---|---|---|---|
Problema | Cel mai lung subsir comun | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘back’:
user.c:11:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(i>0&&j>0)
^
user.c: In function ‘main’:
user.c:32:23: error: ‘l_s1’ undeclared (first use in this function)
fscanf(fp,"%d %d",&l_s1,&l_s2);
^
user.c:32:23: note: each undeclared identifier is reported only once for each function it appears in
user.c:32:29: error: ‘l_s2’ undeclared (first use in this function)
fscanf(fp,"%d %d",&l_s1,&l_s2);
^
user.c:52:4: warning: passing argument 3 of ‘back’ from incompatible pointer type [enabled by default]
back(fp,a,s1,s2,l_s1,l_s2);
^
user.c:10:6: note: expected ‘char *’ but argument is of type ‘int *’
void back(FILE* fp,char**a,char*s1,char*s2,int i,int j){
^
user.c:52:4: warning: passing argument 4 of ‘back’ from incompatible pointer type [enabled by default]
back(fp,a,s1,s2,l_s1,l_s2);
^
user.c:10:6: note: expected ‘char *’ but argument is of type ‘int *’
void back(FILE* fp,char**a,char*s1,char*s2,int i,int j){
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !