查看会员资料
用 户 名:tangu******
发送消息- Email:用户隐藏
- Icq/MSN:
- 电话号码:
- Homepage:
- 会员简介:
最新会员发布资源
Power
- 解题方法主要是利用递归和二分,具体就是把x的n次方划分成两个x的n/2次方相乘,然后递归求解子问题,结束条件是n为0返回1。因为是对n进行二分,所以算法复杂度是O(logn)。(Problem solving method is mainly the use of recursive and two points, specifically the x n side is divided into two X n/2 times multiplication, and then recursiv