摘要:
1 class Solution 2 { 3 public: 4 int getWordEnd; 5 string getWord(string str) 6 { 7 string tmp; 8 int i; 9 for(i = getWordEnd;... 阅读全文
摘要:
1 class Solution 2 { 3 public: 4 int candy(vector& ratings) 5 { 6 int result = 0; 7 vector v1 (ratings.size(),1); 8 vector v2 (ratings.... 阅读全文