Divide number by 2 using only addition and subtraction

前端 未结 0 885
轻奢々
轻奢々 2020-12-05 20:45

I want to implement division by 2 using only + and -(preferably -). I know I could divide just by repeatedly subtracting, but this solution would be extremely slow for bigge

相关标签:
回答
  • 消灭零回复
提交回复
热议问题