| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 148859 | 周润泽 | 墓碑上的字符 | C++ | Accepted | 0 MS | 276 KB | 424 | 2026-03-01 19:32:53 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; char a[51],b[51]; cin>>n; for(int i=1;i<=n;i++){ cin>>a>>b; int m=strlen(a)/2; for(int j=0;j<m;j++){ cout<<a[j]; } cout<<b; for(int j=m;j<strlen(a);j++){ cout<<a[j]; } cout<<endl; } return 0; }