Borderou de evaluare (job #594359)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre (clasa a 5-a) | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 4 apr. 2021 16:51:42 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
1 | include <stdio.h>
| ^
In file included from main.c:2:
/usr/include/stdlib.h:97:8: error: unknown type name 'size_t'
97 | extern size_t __ctype_get_mb_cur_max (void) __THROW __wur;
| ^~~~~~
/usr/include/stdlib.h:539:22: error: unknown type name 'size_t'
539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__
| ^~~~~~
/usr/include/stdlib.h:56:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
55 | #include <bits/floatn.h>
+++ |+#include <stddef.h>
56 |
/usr/include/stdlib.h:542:22: error: unknown type name 'size_t'
542 | extern void *calloc (size_t __nmemb, size_t __size)
| ^~~~~~
/usr/include/stdlib.h:542:22: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
/usr/include/stdlib.h:542:38: error: unknown type name 'size_t'
542 | extern void *calloc (size_t __nmemb, size_t __size)
| ^~~~~~
/usr/include/stdlib.h:542:38: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
/usr/include/stdlib.h:550:36: error: unknown type name 'size_t'
550 | extern void *realloc (void *__ptr, size_t __size)
| ^~~~~~
/usr/include/stdlib.h:550:36: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
/usr/include/stdlib.h:586:29: error: unknown type name 'size_t'
586 | extern void *aligned_alloc (size_t __alignment, size_t __size)
| ^~~~~~
/usr/include/stdlib.h:586:29: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
/usr/include/stdlib.h:586:49: error: unknown type name 'size_t'
586 | extern void *aligned_alloc (size_t __alignment, size_t __size)
| ^~~~~~
/usr/include/stdlib.h:586:49: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
/usr/include/stdlib.h:821:9: error: unknown type name 'size_t'
821 | size_t __nmemb, size_t __size, __compar_fn_t __compar)
| ^~~~~~
/usr/include/stdlib.h:821:9: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
/usr/include/stdlib.h:821:25: error: unknown type name 'size_t'
821 | size_t __nmemb, size_t __size, __compar_fn_t __compar)
| ^~~~~~
/usr/include/stdlib.h:821:25: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
In file included from /usr/include/stdlib.h:825,
from main.c:2:
/usr/include/bits/stdlib-bsearch.h:20:49: error: unknown type name 'size_t'
20 | bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size,
| ^~~~~~
/usr/include/bits/stdlib-bsearch.h:1:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
+++ |+#include <stddef.h>
1 | /* Perform binary search - inline version.