提交时间:2025-12-09 12:02:29

运行 ID: 75663

#include<bits/stdc++.h> using namespace std; int main() { string str; cin>>str; size_t len=strlen(str); for(int i=len-1;i>=0;i--) { cout<<str[i]; } return 0; }