Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
111834 张智博 字符串拼接 C++ Wrong Answer 1 MS 272 KB 245 2025-03-06 22:26:32

Tests(0/10):


Code:

#include <iostream> #include <string> using namespace std; int main() { string a, b; int n; cin >> a >> b >> n; string c = a + b; if (n >= 0 and n < c.size()) { cout << c[n]; } return 0; }


Run Info:

------Input------
executing users 13
------Answer-----
r
------Your output-----
s