a
This commit is contained in:
parent
9a3a7ab227
commit
83637813a2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user