Borderou de evaluare (job #1484531)
| Utilizator | Data | 11 septembrie 2015 13:13:53 | |
|---|---|---|---|
| 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:6:17: error: ‘f’ undeclared (first use in this function)
while(!feof(f)) {
^
user.c:6:17: note: each undeclared identifier is reported only once for each function it appears in
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);
^
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);
^
user.c:7:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
user.c:12:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
