This commit is contained in:
Radovan Kofira 2020-11-24 22:19:03 +01:00
parent 586e874d6e
commit 21d18dafda

View File

@ -20,7 +20,7 @@ struct node* root;
int i,n;
int *a = calloc(MAX, sizeof(int));
for (i = 0; i < MAX; i++) {
scanf("%d", root->data);
scanf("%d", &root->data);
if(a[i]!=0){
n++;
}