aa3
This commit is contained in:
parent
e148a5b9ea
commit
9a3a7ab227
@ -12,9 +12,9 @@ int main() {
|
|||||||
scanf("%d", &a[i]);
|
scanf("%d", &a[i]);
|
||||||
}
|
}
|
||||||
//m = buildmaxheap(a, n);
|
//m = buildmaxheap(a, n);
|
||||||
printf("The heap is\n");
|
printf("Je to taka kopa:\n");
|
||||||
for (t = 0; t < n; t++) {
|
for (i = 0; i < n; i++) {
|
||||||
printf("%d\n", m[t]);
|
printf("%d\n", a[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user