Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
34446 老方 【C语言训练】字符串正反连接 C++ 无测评数据 0 MS 0 KB 164 2023-12-22 18:53:00

Tests(0/0):


#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; }