摘要: 1.数组容器:vector #include<vector>vector<string> s;s.push_back(str);sort(s.begin(),s.end());for(auto x:s) { cout<<x<<endl; } 2.排序:sort #include<algorithm> 阅读全文
posted @ 2021-09-17 08:38 kylinos-panda 阅读(107) 评论(0) 推荐(0) 编辑