Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
46330 | yuzhengxun | 字符串 | C++ | Compile Error | 0 MS | 0 KB | 164 | 2024-05-03 10:09:12 |
#include<bits/stdc++.h> using namespace std; int main() { char a[105]; getline(cin,a); for(int i=strlen(a)-1;i>=0;i--){ cout<<a[i]; } return 0; }