摘要: 本题用到了关联容器的思想,也可以将 mmap.insert(make_pair(s,strs[i]));写成 mmap.insert(pair<string,string>(s,strs[i]));。 阅读全文