摘要:
Implement pow(x,n).题目在这里,二分解法如下:class Solution {public: double pow(double x, int n) { double ans; if(n 0){ if(n&1) ans *... 阅读全文
posted @ 2014-09-16 00:07
Rex7
阅读(203)
评论(0)
推荐(0)
摘要:
Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe... 阅读全文
posted @ 2014-09-16 00:00
Rex7
阅读(108)
评论(0)
推荐(0)


浙公网安备 33010602011771号