diff --git a/tp/tp1/src/ex2/heap.c b/tp/tp1/src/ex2/heap.c new file mode 100644 index 0000000..a3ef03d --- /dev/null +++ b/tp/tp1/src/ex2/heap.c @@ -0,0 +1,16 @@ +#include "helpers.h" +#include +int main(int argc, char **argv) +{ + long int index = -1; + //dirty(16 MB); + //clean(32 MB); + char * p = (char *) malloc(10 MB); + interlude(); + while(1){ + scanf("%ld",&index); + p[index] = 1; + } + + //return interlude(); +}