aktivita
This commit is contained in:
parent
9766a67933
commit
19dac17844
@ -20,7 +20,7 @@ void check_heap(int size, int* array){
|
|||||||
if(c >= size) break;
|
if(c >= size) break;
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user