摘要: #include<stack>#include<iostream>#include<string>using namespace std;int main(){ stack<char>s; string str; cin>>str; for(auto iter=str.begin();iter != 阅读全文
posted @ 2023-04-27 20:22 不会JAVA的小袁 阅读(11) 评论(0) 推荐(0) 编辑
摘要: #include<list>#include<iterator>#include<string>#include<iostream>using namespace std;int main(){ string names1[]={"Alice","Helen","Lucy","Susan"}; st 阅读全文
posted @ 2023-04-27 20:15 不会JAVA的小袁 阅读(10) 评论(0) 推荐(0) 编辑
摘要: #include<vector>#include<deque>#include<algorithm>#include<iterator>#include<iostream>using namespace std;int main(){ istream_iterator<int>i1(cin),i2; 阅读全文
posted @ 2023-04-27 19:35 不会JAVA的小袁 阅读(14) 评论(0) 推荐(0) 编辑