This commit is contained in:
Radovan Kofira 2020-11-24 20:21:03 +01:00
parent e148a5b9ea
commit 9a3a7ab227

View File

@ -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;