| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 62665 | 张江鹏 | 字符串拼接 | C++ | Wrong Answer | 2 MS | 280 KB | 204 | 2023-12-24 17:21:02 |
#include<bits/stdc++.h> using namespace std; int main(){ char a[1001],b[10000]; cin>>a>>b; int le=strlen(a); int n; if(n<=le){ cout<<a[n-1]; }else{ cout<<b[n-le-1]; } return 0; }
------Input------
executing users 13
------Answer-----
r
------Your output-----