| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 78234 | 申明宇 | 字符串拼接 | C++ | Wrong Answer | 0 MS | 272 KB | 250 | 2024-06-16 18:10:14 |
#include<iostream> #include<cstring> using namespace std; int main(){ char a[101],c[101]; int s,v,i; cin>>a>>c>>i; s=strlen(a); v=strlen(c); if(i>s) cout<<a[i-1]; else cout<<c[i-1-s]; return 0; }
------Input------
executing users 13
------Answer-----
r
------Your output-----