Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144392 万骏博 字符串拼接 C++ Accepted 0 MS 276 KB 161 2026-01-22 09:53:25

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; string s,c,sc=""; int a; int main(){ cin>>s>>c; sc=s+c; scanf("%d",&a); cout<<sc[a-1]; return 0; }