文件名称:Power
-
所属分类:
- 标签属性:
- 上传时间:2017-09-21
-
文件大小:28kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
解题方法主要是利用递归和二分,具体就是把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 recursively solve sub problems, the end of the condition is N 0, return 1. Because it is two points for N, the algorithm complexity is O (logn).)
相关搜索: C++
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Power\bin\Debug\Power.exe
Power\main.c
Power\obj\Debug\main.o
Power\Power.cbp
Power\Power.depend
Power\Power.layout
Power\bin\Debug
Power\obj\Debug
Power\bin
Power\obj
Power
Power\main.c
Power\obj\Debug\main.o
Power\Power.cbp
Power\Power.depend
Power\Power.layout
Power\bin\Debug
Power\obj\Debug
Power\bin
Power\obj
Power
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
