Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
41179 | lmz120809 | 字符串 | C++ | Accepted | 0 MS | 256 KB | 162 | 2024-02-20 09:14:09 |
#include<bits/stdc++.h> using namespace std; string s; int main() { getline(cin,s); for(int i=s.size()-1;i>=0;i--){ cout<<s[i]; } return 0; }