Borderou de evaluare (job #1282368)
Utilizator | Data | 4 decembrie 2014 05:05:02 | |
---|---|---|---|
Problema | CMMDC | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:10:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN, "r", stdin);
^
user.c:11:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT, "w", stdout);
^
user.c:13:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
/tmp/ccil7CpM.o: In function `main':
user.c:(.text.startup+0x65): undefined reference to `_a'
user.c:(.text.startup+0x6b): undefined reference to `_b'
/tmp/ccil7CpM.o: In function `endwhile':
user.c:(.text.startup+0x89): undefined reference to `_d'
collect2: error: ld returned 1 exit status
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !