Borderou de evaluare (job #1480201)
Utilizator | Data | 2 septembrie 2015 11:20:22 | |
---|---|---|---|
Problema | Invsc | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:11:1: error: expected declaration or statement at end of input
}
^
user.c:4:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invsc.in","r",stdin),freopen("invsc.out","w",stdout),scanf("%d",&n);
^
user.c:4:42: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invsc.in","r",stdin),freopen("invsc.out","w",stdout),scanf("%d",&n);
^
user.c:4:72: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invsc.in","r",stdin),freopen("invsc.out","w",stdout),scanf("%d",&n);
^
user.c:6:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",v+i),x[v[i]]++,p=p<v[i]?v[i]:p;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !