what do you mean by classic way?C/C++ : Find if the given number is a power of 2.
(somehow classic way)
can i check bit by bit?
(3) can be done by less than 5 instructions
By classic (or classical?), I mean a lot of people use the method.
本帖共有 15 楼,当前显示第 7 楼,本文还有 N-1 层楼,要不你试试看:点击此处阅读更多 >>