2013年9月5日

摘要: 在看《编程珠玑》写了下开头的例子,贴下代码吧 1 #include "algorithm" 2 #include "set" 3 #include "string" 4 #include"iostream" 5 #include "map" 6 using namespace std; 7 8 int main() 9 {10 set S;11 string t;12 set::iterator j;13 while (cin>>t)14 {15 S.insert(t);16 }17 阅读全文
posted @ 2013-09-05 22:23 zhiying678 阅读(128) 评论(0) 推荐(0) 编辑

导航