Borderou de evaluare (job #3038186)
Utilizator | Data | 26 martie 2023 22:12:22 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'bfs':
main.c:26:28: error: 'true' undeclared (first use in this function)
26 | return true;
| ^~~~
main.c:3:1: note: 'true' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
2 | #include <stdlib.h>
+++ |+#include <stdbool.h>
3 |
main.c:26:28: note: each undeclared identifier is reported only once for each function it appears in
26 | return true;
| ^~~~
main.c:30:12: error: 'false' undeclared (first use in this function)
30 | return false;
| ^~~~~
main.c:30:12: note: 'false' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
main.c:31:1: warning: control reaches end of non-void function [-Wreturn-type]
31 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !