摘要: Indian summer is such a beautiful time of the year! A girl named Alyona is walking in the forest and picking a bouquet from fallen leaves. Alyona is v 阅读全文
posted @ 2018-04-14 22:08 极限之旅 阅读(674) 评论(1) 推荐(0) 编辑
摘要: 描述 STL的map中存储了字符串以及对应出现的次数,请分别根据字符串顺序从小到大排序和出现次数从小到大排序。 部分代码已经给出,请补充完整,提交时请勿包含已经给出的代码。 int main() { map<string, int> sm; int n; cin>>n; while(n--) { s 阅读全文
posted @ 2018-04-14 21:56 极限之旅 阅读(1611) 评论(0) 推荐(0) 编辑