Borderou de evaluare (job #1838674)
Utilizator | Data | 1 ianuarie 2017 16:15:46 | |
---|---|---|---|
Problema | Numere 5 | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:3:1: error: unknown type name ‘bool’
bool ap[500000];
^
user.c: In function ‘main’:
user.c:17:19: error: ‘true’ undeclared (first use in this function)
ap[x - 1] = true;
^
user.c:17:19: note: each undeclared identifier is reported only once for each function it appears in
user.c:10:11: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("numere5.in", "r", stdin);
^
user.c:11:11: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("numere5.out", "w", stdout);
^
user.c:13:9: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &N);
^
user.c:15:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !