P9459 浴眼盯真 题解
Bc2_Ch1ckenPr1nce · · 题解
P9459 浴眼盯真 题解
题目分析
这道题很简单,我们先输入 Yes,否则输出 No。
一定记得要输入
code
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define qwq ios::sync_with_stdio(false), cin.tie(0), cout.tie(0)
const int N = 1e6 + 10;
namespace ioarray {
auto read = [](int n, int *a) {
for (int i = 1; i <= n; ++ i)
cin >> a[i];
};
void print(int n, int *a, string s) {
for (int i = 1; i <= n; ++ i) {
cout << a[i];
cout << s;
}
cout << endl;
}
}
using namespace ioarray;
signed main() {
int T;
cin >> T;
while (T --) {
string a, b, c, d;
cin >> a >> b >> c >> d;
if (a[0] == 'y' && b[0] == 'y' && c == "ding" && d == "zhen") {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
return 0;
}