This commit is contained in:
Maryna Kravtsova 2020-11-29 22:11:23 +01:00
parent 19dac17844
commit f78c041a13

View File

@ -13,7 +13,7 @@ void check_heap(int size, int* array){
if(!(array[c] >= array[i])){ if(!(array[c] >= array[i])){
printf("Nie je to kopa.\n"); printf("Nie je to kopa.\n");
return; exit(0);
} }
c = (2 * i) + 2; c = (2 * i) + 2;