a3 (prednaska)
This commit is contained in:
parent
213a63cecf
commit
5cbe092da7
@ -9,7 +9,7 @@ struct heap {
|
||||
int size;
|
||||
int capacity;
|
||||
};
|
||||
|
||||
|
||||
// Výpočet rodičovského uzla
|
||||
int parent(int i){
|
||||
return (i -1) / 2;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user