STL
来源:互联网 发布:淘宝退款邮费怎么算 编辑:程序博客网 时间:2024/05/17 23:41
#include<stdio.h>#include<iostream>#include<algorithm>#include<string>#include<map>using namespace std;map<string,int>myMap;char a[2010];int main(){ int N; scanf("%d",&N); getchar(); while(N--) { string str; cin >> str; gets(a); myMap[str]++; } map<string,int>::iterator i; for(i = myMap.begin(); i != myMap.end(); i++) cout << (*i).first << " " << (*i).second << endl; return 0;}
0 0
- stl
- stl
- STL
- STL
- STL
- STL
- STL
- STL
- STL
- stl
- STL
- STL
- STL
- STL
- STL
- STL
- STL
- STL
- 数字图像处理中常用的插值方法
- iOS面试题小结
- 获取iOS项目名称及版本号
- 找零钱
- Android中的Http通信
- STL
- Android 快速开发系列 打造万能的ListView GridView 适配器
- 泛函编程(35)-泛函Stream IO:IO处理过程-IO Process
- 移植hostapd,搭建无线热点
- 超简洁代码实现CircleImageView
- 玩转Android---UI篇---WebView(网络视图)
- UVALive 6908
- 两种对 URL 的散列效果很好的函数
- org.apache.commons.lang.math.NumberUtils 工具类