aktivita
This commit is contained in:
parent
19dac17844
commit
f78c041a13
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user