Borderou de evaluare (job #2340158)
Utilizator | Data | 9 februarie 2019 20:51:57 | |
---|---|---|---|
Problema | Crescator2 | 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:10:32: error: 'i' undeclared (first use in this function)
for(int j = 1 ; j <= N && j>=i-j; j++){
^
main.c:10:32: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:3: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("crescator2.in","r",stdin);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:6:3: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("crescator2.out","w",stdout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:8:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !