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;
}
}

原文地址:https://www.cnblogs.com/yesuweiYYYY/p/13820792.html