please
This commit is contained in:
parent
6d360370d8
commit
ac15f5270e
@ -73,10 +73,18 @@ void vypisovac(int vypis[SIZE], int input[SIZE], int size){
|
||||
}
|
||||
else if (counter>=count && i>(size/2) || vypis[i]<count-1)
|
||||
{
|
||||
if (input[vypis[i]]>input[vypis[i-1]])
|
||||
{
|
||||
count = ownPow(2,i)/2;
|
||||
counter = 0;
|
||||
space++;
|
||||
}
|
||||
else{
|
||||
count = ownPow(2,size-i-1)/2;
|
||||
counter = 0;
|
||||
space--;
|
||||
}
|
||||
}
|
||||
|
||||
counter++;
|
||||
for (int k = 0; k < space; k++)
|
||||
|
Loading…
Reference in New Issue
Block a user