Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
81838 刘宇轩 字符串拼接 C++ Wrong Answer 0 MS 276 KB 219 2024-07-12 15:40:56

Tests(2/10):


Code:

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


Run Info:

------Input------
gyyedfbnzxmkrfhhhdkMjjdinncjeueHGEUIJDMN JHJGDDJFHGHRUEIDKCruirijrj 37
------Answer-----
J
------Your output-----
D