Borderou de evaluare (job #675164)

Utilizator avatar andreidumitrache Nerdvana 8 Dumitrache Andrei-Bogdan andreidumitrache IP ascuns
Problemă Lego (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 10 nov. 2022 20:52:39 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:98:8: error: unknown type name 'size_t' 98 | extern size_t __ctype_get_mb_cur_max (void) __THROW __wur; | ^~~~~~ /usr/include/stdlib.h:540:22: error: unknown type name 'size_t' 540 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /usr/include/stdlib.h:57:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'? 56 | #include <bits/floatn.h> +++ |+#include <stddef.h> 57 | /usr/include/stdlib.h:543:22: error: unknown type name 'size_t' 543 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /usr/include/stdlib.h:543:22: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'? /usr/include/stdlib.h:543:38: error: unknown type name 'size_t' 543 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /usr/include/stdlib.h:543:38: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'? /usr/include/stdlib.h:551:36: error: unknown type name 'size_t' 551 | extern void *realloc (void *__ptr, size_t __size) | ^~~~~~ /usr/include/stdlib.h:551:36: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'? /usr/include/stdlib.h:592:29: error: unknown type name 'size_t' 592 | extern void *aligned_alloc (size_t __alignment, size_t __size) | ^~~~~~ /usr/include/stdlib.h:592:29: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'? /usr/include/stdlib.h:592:49: error: unknown type name 'size_t' 592 | extern void *aligned_alloc (size_t __alignment, size_t __size) | ^~~~~~ /usr/include/stdlib.h:592:49: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'? /usr/include/stdlib.h:829:23: error: unknown type name 'size_t' 829 | size_t __nmemb, size_t __size, __compar_fn_t __compar) | ^~~~~~ /usr/include/stdlib.h:829:23: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'? /usr/include/stdlib.h:829:39: error: unknown type name 'size_t' 829 | size_t __nmemb, size_t __size, __compar_fn_t __compar) | ^~~~~~ /usr/include/stdlib.h:829:39: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'? In file included from /usr/include/stdlib.h:833, 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.