Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
11658 | lulu | 字符串 | C++ | Accepted | 0 MS | 252 KB | 178 | 2023-03-12 15:17:56 |
#include<iostream> #include<cstring> using namespace std; int main() { char str[101]; gets(str); for(int i=strlen(str)-1;i>=0;i--){ cout<<str[i]; } return 0; }