map的迭代器

map<string,ll>mapp;
map<string,ll>::iterator it;
for(it=mapp.begin();it!=mapp.end();it++){
if(it->second>0){
t=it->first;
}
}

 

posted @ 2020-10-15 15:23  yesuweiYYYY  阅读(146)  评论(0编辑  收藏  举报