Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
2689 孙浚轩 字符串拼接 C++ Accepted 0 MS 260 KB 183 2024-01-20 17:37:53

Tests(10/10):


Code:

#include<iostream> #include<cstring> using namespace std; int main(){ char a[100],b[100]; int n; cin>>a>>b>>n; strcat(a,b); cout<<a[n-1]; return 0; }