摘要: 1 class TopVotedCandidate 2 { 3 public: 4 vector> List; 5 TopVotedCandidate(vector persons, vector times) 6 { 7 map m; 8 int max_count = 0;... 阅读全文
posted @ 2018-09-23 12:04 Asurudo 阅读(693) 评论(2) 推荐(0) 编辑
摘要: 1 class Solution 2 { 3 public: 4 int smallestRangeI(vector& A, int K) 5 { 6 int Max = INT_MIN; 7 int Min = INT_MAX; 8 for(auto d:A) 9 ... 阅读全文
posted @ 2018-09-23 11:12 Asurudo 阅读(560) 评论(4) 推荐(0) 编辑