2013年8月4日

sort函数基础排序和map函数的查找功能

摘要: #include#include#includeusing namespace std;map mp;int main(){ int n,i; cin>>n; string str; for(i=1; i>str; if(mp.find(str)!=mp.end()) { mp[str]++; cout#includeusing namespace std;bool cmp(int a,int b){ return a>b;}int main(){ int i; int a[4];... 阅读全文

posted @ 2013-08-04 06:47 平心静气 阅读(792) 评论(0) 推荐(0)

导航