Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
46331 | zhouhuanyu 玙静 | 字符串 | C++ | Accepted | 0 MS | 244 KB | 165 | 2024-05-03 10:09:20 |
#include <bits/stdc++.h> using namespace std; int main(){ char a[101]; cin >> a; for(int i = strlen(a) - 1; i >= 0; i--){ cout << a[i]; } return 0; }