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