摘要: #pragma warning (disable:4786) #include<cstdio>#include<iostream>#include<string>#include<string.h>#include<set>using namespace std;int main(){ set<string> st; string s=""; char c; while((c=getchar())!='#') { s+=c; while(c!='\n') { while( 阅读全文
posted @ 2012-11-17 18:40 myth_HG 阅读(317) 评论(0) 推荐(0) 编辑
摘要: #pragma warning (disable:4786) #include <map>#include <string>#include <iostream>using namespace std;int main(){ map<int, string> mapStudent; mapStudent.insert(pair<int, string>(1, "student_one")); mapStudent.insert(pair<int, string>(2, "student_two 阅读全文
posted @ 2012-11-17 18:27 myth_HG 阅读(134) 评论(0) 推荐(0) 编辑