摘要:
Implement pow(x,n).题目在这里,二分解法如下:class Solution {public: double pow(double x, int n) { double ans; if(n 0){ if(n&1) ans *... 阅读全文
摘要:
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... 阅读全文