Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102664 李禹宸 字符串拼接 C++ Accepted 1 MS 272 KB 172 2024-12-22 14:05:54

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ char str1[150],str2[150]; int n; cin>>str1>>str2>>n; strcat(str1,str2); cout<<str1[n-1]; return 0; }