aa3
This commit is contained in:
parent
84c0fb78bf
commit
e3bb31c0e0
@ -5,8 +5,9 @@ int main() {
|
|||||||
//int l = i * 2 + 1;
|
//int l = i * 2 + 1;
|
||||||
//int r = i * 2 + 2;
|
//int r = i * 2 + 2;
|
||||||
int i,j,n,count;
|
int i,j,n,count;
|
||||||
|
|
||||||
int *a = calloc(MAX, sizeof(int));
|
int *a = calloc(MAX, sizeof(int));
|
||||||
for(int i;i<MAX;i++){
|
for(int i;i<10;i++){
|
||||||
scanf("%d",a[i]);
|
scanf("%d",a[i]);
|
||||||
}
|
}
|
||||||
//m = buildmaxheap(a, n);
|
//m = buildmaxheap(a, n);
|
||||||
|
Loading…
Reference in New Issue
Block a user