Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
46292 | jiabokai | 字符串 | C++ | Accepted | 0 MS | 248 KB | 200 | 2024-05-03 09:10:18 |
#include<iostream> #include<cstdio> #include<cstring> using namespace std; char a[101]; int main() { cin>>a; int len=strlen(a); for(int i=len-1;i>=0;i--){ cout<<a[i]; } return 0; }