This commit is contained in:
Radovan Kofira 2020-11-24 20:23:14 +01:00
parent 9a3a7ab227
commit 83637813a2

View File

@ -4,7 +4,7 @@
int main() {
//int l = i * 2 + 1;
//int r = i * 2 + 2;
int i, t ,n;
int i,n;
int *a = calloc(MAX, sizeof(int));
int *m = calloc(MAX, sizeof(int));
scanf("%d", &n);
@ -14,7 +14,7 @@ int main() {
//m = buildmaxheap(a, n);
printf("Je to taka kopa:\n");
for (i = 0; i < n; i++) {
printf("%d\n", a[i]);
printf("%d\n", n);
}
return 0;