题目来源https://leetcode.com/problems/powx-n/Implement pow(x,n).题意分析Input: x,nOutput:pow(x,n)Conditions:满足一定的内存需求,算法复杂度低一些题目思路刚开始以为直接乘就好了,但是爆内存了,仔细看发现其实可以... Read More
posted @ 2015-12-23 21:32 loadofleaf Views(200) Comments(0) Diggs(0) Edit