| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137589 | hjx2115 | 墓碑上的字符 | C++ | Accepted | 1 MS | 272 KB | 326 | 2025-11-20 17:13:14 |
#include <bits/stdc++.h> using namespace std; int main() { int i,j,k,n; char a[100],b[100]; cin>>n; while (n--) { cin>>a>>b; i=strlen(a)/2-1; j=0; while (j<=i) cout<<a[j++]; k=0; while (k<strlen(b)) cout<<b[k++]; while (j<strlen(a)) cout<<a[j++]; cout<<endl; } return 0; }