Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
157588 Kevin 字符串拼接 C++ Accepted 1 MS 276 KB 178 2026-08-01 10:15:48

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { string a,b,c; getline(cin,a); getline(cin,b); int n; cin>>n; c=a+b; cout<<c[n-1]; return 0; }