Borderou de evaluare (job #1484547)
| Utilizator | Data | 11 septembrie 2015 13:28:16 | |
|---|---|---|---|
| Problema | Paritate | Status | done |
| Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.c:2:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token
int a[60001],i,j,k,p,d,n,e.l;
^
user.c: In function ‘main’:
user.c:6:9: error: ‘l’ undeclared (first use in this function)
for(l=i=0;s[i]!='\n';i+=8,l++) {
^
user.c:6:9: note: each undeclared identifier is reported only once for each function it appears in
user.c:14:20: error: ‘e’ undeclared (first use in this function)
a[l]=1,e=l;
^
user.c:14:19: warning: left-hand operand of comma expression has no effect [-Wunused-value]
a[l]=1,e=l;
^
user.c:5:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paritate.in","r",stdin),freopen("paritate.out","w",stdout),fgets(s,60001,stdin);
^
user.c:5:45: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paritate.in","r",stdin),freopen("paritate.out","w",stdout),fgets(s,60001,stdin);
^
user.c:5:78: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paritate.in","r",stdin),freopen("paritate.out","w",stdout),fgets(s,60001,stdin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
