摘要:
#includeusing namespace std;class Solution {public: string convertToTitle(int n) { string res; if(n<=0) return ""; while(n) { ... 阅读全文
posted @ 2015-07-16 22:49
*桔子*
阅读(186)
评论(0)
推荐(0)
摘要:
#includeusing namespace std;class Solution {public: int majorityElement(vector& nums) { map m; int n=nums.size(); int i=0; while(i(nums[i],1)... 阅读全文
posted @ 2015-07-16 21:59
*桔子*
阅读(176)
评论(0)
推荐(0)
摘要:
class Solution {public: int trailingZeroes(int n) { if(n<=0) return 0; int i=0; int res=0; while(n){ ... 阅读全文
posted @ 2015-07-16 21:11
*桔子*
阅读(247)
评论(0)
推荐(0)
摘要:
class Solution {public: void rotate(vector& nums, int k) { int n=nums.size(); int i=0;//-------------------//解法一 会超时//-----... 阅读全文
posted @ 2015-07-16 10:44
*桔子*
阅读(172)
评论(0)
推荐(0)

浙公网安备 33010602011771号