摘要: 1 #include<stdio.h> 2 #include<map>//利用map函数。 3 #include<string> 4 #include<stdlib.h>//快排头文件。 5 #define MAX 10100 6 using namespace std; 7 int cmp(const void*p1,const void*p2) 8 { 9 return *(int*)p1>*(int*)p2;10 }11 int main()12 {13 map<char,int>v;//存相同字符的个数14 map< 阅读全文
posted @ 2012-09-24 20:41 尔滨之夏 阅读(468) 评论(0) 推荐(0) 编辑