Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
9661 | lulu | 数字反转 | C++ | Accepted | 0 MS | 240 KB | 178 | 2023-02-16 19:22:24 |
#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; }