Min Li's Note
KVM,QEMU, X86 virtualization
Pages
Home
Collection
About
Monday, September 22, 2014
Pow(x,y)
Problem
Implement pow(x, n).
Idea
递归,每次计算n/2次方.注意:
n可能为负数
n可能为奇数或者偶数
Solution
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment