摘要: string str;int l = str.length();for(int i = 0 ;i < l ;i++) cout << str[i]; 阅读全文
posted @ 2019-03-05 09:07 周敏6012 阅读(198) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>#include<algorithm>#include<string>using namespace std; int main(){ string str; getline(cin,str); reverse(str.begin(),str.end()); co 阅读全文
posted @ 2019-03-05 08:52 周敏6012 阅读(240) 评论(0) 推荐(0) 编辑