摘要: 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;... 阅读全文
posted @ 2018-10-18 11:36 Asurudo 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 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.... 阅读全文
posted @ 2018-10-18 11:07 Asurudo 阅读(151) 评论(0) 推荐(0) 编辑