Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
336477 钟宜辰 【C5-6】墓碑上的字符 C++ 通过 100 9 MS 264 KB 213 2025-07-28 10:27:14

Tests(2/2):


#include<bits/stdc++.h> using namespace std; int main(){ int n; string s,s1; cin>>n; for(int i=1;i<=n;i++){ cin>>s>>s1; int l=s.size()-1; s.insert(l/2+1,s1); cout<<s<<endl; } return 0; }


测评信息: