Borderou de evaluare (job #1548894)
Utilizator | Stratulat Alexandru Fayed | Data | 11 decembrie 2015 16:46:43 |
---|---|---|---|
Problema | Statistici de ordine | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:115:2: warning: implicit declaration of function ‘frepen’ [-Wimplicit-function-declaration]
frepen("std.out", "w", stdout);
^
user.c: In function ‘randomSelect’:
user.c:78:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.c: In function ‘main’:
user.c:114:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("std.in", "r", stdin);
^
user.c:117:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &len, &demandedIndex);
^
user.c:123:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &V[i]);
^
/tmp/cckydgCx.o: In function `main':
user.c:(.text.startup+0x41): undefined reference to `frepen'
collect2: error: ld returned 1 exit status
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !