linkkk
题意: 思路:用
v
e
c
t
o
r
<
i
n
t
>
v
vector
class TopVotedCandidate {
public:
vectorv,tt;
mapmp;
TopVotedCandidate(vector& persons, vector& times) {
int n=persons.size();
int maxx=0,pos=5100;
for(int i=0;i=maxx){
maxx=mp[persons[i]];
pos=persons[i];
}
v.push_back(pos);
// cout< 


