摘要: 1 class Solution 2 { 3 public: 4 int totalFruit(vector& tree) 5 { 6 vector> dealList; 7 int curType = tree[0]; 8 int curSum = 1; 9 ... 阅读全文
posted @ 2018-09-16 11:10 Asurudo 阅读(640) 评论(0) 推荐(0) 编辑
摘要: 1 class Solution 2 { 3 public: 4 vector sortArrayByParity(vector& A) 5 { 6 vector result_one; 7 vector result_two; 8 for(auto d:A) 9 ... 阅读全文
posted @ 2018-09-16 11:09 Asurudo 阅读(429) 评论(0) 推荐(0) 编辑