From 6d01152d942476005c524c349eed77d50f3b9b73 Mon Sep 17 00:00:00 2001 From: Radovan Kofira Date: Tue, 24 Nov 2020 20:38:09 +0100 Subject: [PATCH] aa3 --- a3/program.c | 1 + 1 file changed, 1 insertion(+) diff --git a/a3/program.c b/a3/program.c index 4d5c0a9..33201d9 100644 --- a/a3/program.c +++ b/a3/program.c @@ -9,6 +9,7 @@ int main() { scanf("%d",n); while(n!=0){ a[i]=n; + i++; count++; } //m = buildmaxheap(a, n);