We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Implement pow(x, n).
注意到指数是整数,所以,可以利用乘法计算幂
o(N)的算法会浪费很多时间,o(lgN)的算法要快的多。