原题 https://codeforces.com/contest/1650/problem/A
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin >> n;
while(n --)
{
string s;
char op;
cin >> s >> op;
int flag = 0;
for(int i = 0; i < s.length(); i ++)
{
if(s[i] == op&&i%2==0)flag=1;
}
if(flag)cout << "yes\n";
else cout << "no\n";
}
return 0;
}
加油加油ヾ(◍°∇°◍)ノ゙
hhh,大佬加油(我这个菜逼QAQ、、)
Orz
Orz