摘要: #include<iostream>#include<set>#include<algorithm>using namespace std;int tree[100];int create(int _tree[],int _node[],int len){ int i,max=1; _tree[1] 阅读全文
posted @ 2022-04-19 23:29 xxj112 阅读(51) 评论(0) 推荐(0)
摘要: 迭代器 map<string,int>::iterator it; for(it=mp.begin();it!=mp.end();it++) { cout<<it->first<<" "<<it->second<<endl; } auto for(auto l:mp) { cout<<l.first 阅读全文
posted @ 2022-04-19 20:54 xxj112 阅读(89) 评论(0) 推荐(0)