Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
129667 薛承谦 字符串拼接 C++ Accepted 1 MS 276 KB 233 2025-09-01 20:06:36

Tests(10/10):


Code:

#include<iostream> #include<cstring> using namespace std; int main(){ char a[1000],b[1000]; int c,d,n; cin>>a>>b>>n; c=strlen(a); d=strlen(b); for(int i=0;i<d;i++){ a[c+i]=b[i]; } cout<<a[n-1]; return(0); }