Borderou de evaluare (job #1779068)
Utilizator | Data | 14 octombrie 2016 19:09:31 | |
---|---|---|---|
Problema | Editor | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:115:13: error: expected ‘}’ before ‘else’
else
^
user.c:61:52: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
int v[60001],i=0,j=0,OK=0,t=0,lungime=0,w[60001],x,y=0;
^
user.c:61:31: warning: unused variable ‘lungime’ [-Wunused-variable]
int v[60001],i=0,j=0,OK=0,t=0,lungime=0,w[60001],x,y=0;
^
user.c:61:18: warning: unused variable ‘j’ [-Wunused-variable]
int v[60001],i=0,j=0,OK=0,t=0,lungime=0,w[60001],x,y=0;
^
user.c:61:14: warning: unused variable ‘i’ [-Wunused-variable]
int v[60001],i=0,j=0,OK=0,t=0,lungime=0,w[60001],x,y=0;
^
user.c: In function ‘pop1’:
user.c:27:9: warning: control reaches end of non-void function [-Wreturn-type]
} //sfarsit pop
^
user.c: In function ‘pop2’:
user.c:53:9: warning: control reaches end of non-void function [-Wreturn-type]
} //sfarsit pop
^
user.c: In function ‘main’:
user.c:73:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&t);
^
user.c:80:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
{fscanf(f,"%c",&c);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !