Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
41164 | jiabokai | 字符串 | C++ | Accepted | 0 MS | 248 KB | 158 | 2024-02-20 09:04:07 |
#include<bits/stdc++.h> using namespace std; int main() { string s1; cin>>s1; for(int i=(s1.size()-1);i>=0;i--){ cout<<s1[i]; } return 0; }