Add current element to BIT
updateBIT ( BIT , n , arr [ i ] , 1 ) NEW_LINE print ( " Smaller ▁ right : " , end = " ▁ " ) NEW_LINE for i in range ( n ) : NEW_LINE print ( smaller_right [ i ] , end = " ▁ " ) NEW_LINE print ( ) NEW_LINE