| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 62366 | 祝家懿 | 字符串拼接 | C++ | Accepted | 1 MS | 276 KB | 270 | 2023-12-23 16:02:28 |
# include<iostream> # include<cstring> using namespace std; int main(){ char a[200],b[200]; int n; int x; int s; cin>>a>>b>>n; x = strlen(a); s = strlen(b); for(int i=0;i<n;i++){ a[x+i]=b[i]; } cout<<a[n-1]; return 0; }