fix
This commit is contained in:
parent
ac15f5270e
commit
ccbfa5c962
@ -68,6 +68,7 @@ void vypisovac(int vypis[SIZE], int input[SIZE], int size){
|
||||
if (counter>=count && i<=(size/2))
|
||||
{
|
||||
count = ownPow(2,i)/2;
|
||||
if (ownPow(2,i)%2){count++;}
|
||||
counter = 0;
|
||||
space++;
|
||||
}
|
||||
@ -77,7 +78,6 @@ void vypisovac(int vypis[SIZE], int input[SIZE], int size){
|
||||
{
|
||||
count = ownPow(2,i)/2;
|
||||
counter = 0;
|
||||
space++;
|
||||
}
|
||||
else{
|
||||
count = ownPow(2,size-i-1)/2;
|
||||
|
Loading…
Reference in New Issue
Block a user