Borderou de evaluare (job #781112)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Butoaie | Compilator | c-32 |
| Rundă | 2024-07-02-tabara-nerdvana-2023 | Status | evaluat |
| Dată | 2 iul. 2024 11:19:31 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:23:16: error: 'true' undeclared (first use in this function)
23 | } while (true);
| ^~~~
main.c:4:1: note: 'true' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
3 | #include <math.h>
+++ |+#include <stdbool.h>
4 | short int sticle[1000000];
main.c:23:16: note: each undeclared identifier is reported only once for each function it appears in
23 | } while (true);
| ^~~~
main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~