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