Borderou de evaluare (job #2287822)
Utilizator | Data | 22 noiembrie 2018 15:45:23 | |
---|---|---|---|
Problema | Cufar | Status | done |
Runda | Arhiva de probleme | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:20:5: error: 's' undeclared (first use in this function)
s=0;
^
main.c:20:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen(InFile,"r",stdin);
^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:11:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen(OutFile,"w",stdout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:14:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&p,&n);
^~~~~~~~~~~~~~~~~~~~~~~
main.c:17:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&x,&k);
^~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !