Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155530 卢语宸 字符串拼接 C++ Accepted 1 MS 280 KB 256 2026-06-07 15:02:15

Tests(10/10):


Code:

#include<bits/stdc++.h> #include<cstring> using namespace std; char d[100000],e[100000]; int a,b,c,n; int main(){ cin>>d>>e; cin>>n; a=strlen(d); b=strlen(e); for(int i=a;i<a+b;i++){ d[i]=e[c]; c++; } cout<<d[n-1]; return 0; }