heap.c
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
#include "helpers.h"
|
||||||
|
#include <stdio.h>
|
||||||
|
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();
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user