Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
24529 | LeoWang | 字符串 | C++ | Accepted | 0 MS | 244 KB | 150 | 2023-08-14 02:16:18 |
#include<bits/stdc++.h> using namespace std; int main(){ string n; cin>>n; for(int i=n.length()-1;i>=0;i--){ cout<<n[i]; } return 0; }