This commit is contained in:
Maryna Kravtsova 2020-11-29 22:10:50 +01:00
parent 9766a67933
commit 19dac17844

View File

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