Borderou de evaluare (job #1318315)
Utilizator | Data | 15 ianuarie 2015 20:36:28 | |
---|---|---|---|
Problema | Sortare prin comparare | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:20:1: error: unknown type name ‘integer’
integer main() {
^
user.c: In function ‘read’:
user.c:33:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FIN, "r", stdin);
^
user.c:35:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &size);
^
user.c:39:34: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 0; i < size; ++i) scanf("%d", arr + i);
^
user.c: In function ‘display’:
user.c:48:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FOUT, "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !