diff --git a/a3/program.c b/a3/program.c index 59a2e70..9d2c101 100644 --- a/a3/program.c +++ b/a3/program.c @@ -12,7 +12,7 @@ int main() { } //m = buildmaxheap(a, n); printf("Je to taka kopa:\n"); - for (i = 0; i < MAX; i++) { + for (i = 0; i < 10; i++) { printf("%d\n", a[i]); }