Borderou de evaluare (job #1484599)
| Utilizator | Data | 11 septembrie 2015 14:55:40 | |
|---|---|---|---|
| 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:13:17: error: ‘p’ undeclared (first use in this function)
a[i]=(n+p)&1?1:d,e=(n+p)&1?i:e;
^
user.c:13:17: note: each undeclared identifier is reported only once for each function it appears in
user.c:13:25: warning: left-hand operand of comma expression has no effect [-Wunused-value]
a[i]=(n+p)&1?1:d,e=(n+p)&1?i:e;
^
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,61000,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,61000,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,61000,stdin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
