Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
82199 陈俊洁 字符串相等判断 C++ Wrong Answer 1 MS 276 KB 156 2024-07-13 09:14:43

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ char a[100]; char b[30]; int n; cin >> a >>b>>n; strcat(a,b); cout<< a[n-1]; }


Run Info:

------Input------
9KKt2LEjCIM5UVUI3oG4gMD8 9KKt2LEjCIM5UVUI3oG4gMD8
------Answer-----
yes
------Your output-----