Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
34445 | 老方 | 【C语言训练】字符串正反连接 | C++ | Compile Error | 0 MS | 0 KB | 158 | 2023-12-22 18:52:35 |
#include<bits/stdc++.h> using namespace std; int main(){ char n; cin>>n; cout<<n; for(int i=strlen(n)-1;i>=0;i--)cout<<n[i]; return 0; }