Borderou de evaluare (job #1484585)
| Utilizator | Data | 11 septembrie 2015 14:37:30 | |
|---|---|---|---|
| Problema | Paritate | Status | done |
| Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:5:5: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
freopen("paritate.in","r",stdin),freopen("paritate.out","w",stdout),scanf("%s\n",s),n=strlen(s);
^
user.c:5:91: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
freopen("paritate.in","r",stdin),freopen("paritate.out","w",stdout),scanf("%s\n",s),n=strlen(s);
^
user.c:8:13: error: ‘c’ undeclared (first use in this function)
c[j]=s[j+l];
^
user.c:8:13: note: each undeclared identifier is reported only once for each function it appears in
user.c:14:24: warning: left-hand operand of comma expression has no effect [-Wunused-value]
l+=8,p=c[0]-'0',d=n=0;
^
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),scanf("%s\n",s),n=strlen(s);
^
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),scanf("%s\n",s),n=strlen(s);
^
user.c:5:78: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paritate.in","r",stdin),freopen("paritate.out","w",stdout),scanf("%s\n",s),n=strlen(s);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
