#include<bits/stdc++.h>//家人们非常的简单啊! using namespace std; int main(){ string sd; getline(cin,sd); for(int i=sd.length();i>=0;i--){ cout << sd[i]; } }
Double click to view unformatted code.