标签:iostream out cin str 输出 names std for div
基本思想:
无;
关键点:
无;
#include<iostream> #include<vector> #include<algorithm> #include<string> #include<cmath> #include<set> using namespace std; int main() { string s; while (cin >> s) { for (int i = s.size() - 1; i >= 0; i--) cout << s[i]; cout << endl; } return 0; }
标签:iostream out cin str 输出 names std for div
原文地址:https://www.cnblogs.com/songlinxuan/p/12386406.html