Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
81861 刘宇轩 字符串拼接 C++ Accepted 2 MS 276 KB 210 2024-07-12 15:45:53

Tests(10/10):


Code:

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