When I run: bash ./grademe.sh I get a lot of Timeouts.
But when I compile the test myself using: clang -Wextra -Wall -Werror -g3 -fsanitize=address ft_memset.c main.c , I get no Timeouts
./a.out 1
cccccjjjjjjjjjj
void *ft_memset(void *dst, int c, int n)
{
unsigned char *a;
unsigned char fill_byte;
int i;
a = dst;
fill_byte = c;
i = 0;
while (i < n)
{
a[i] = fill_byte;
i++;
}
return (dst);
}
When I run:
bash ./grademe.shI get a lot of Timeouts.But when I compile the test myself using:
clang -Wextra -Wall -Werror -g3 -fsanitize=address ft_memset.c main.c, I get no Timeouts