Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
3473 | OscarWLY | 字符串 | C++ | Accepted | 0 MS | 260 KB | 150 | 2023-01-08 14:18:40 |
#include<iostream> using namespace std; int main() { string s; cin>>s; for(int i=s.length()-1;i>=0;i--) { cout<<s[i]; } return 0; }