提交时间:2025-12-07 20:33:03

运行 ID: 75572

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