P10030 题解
FurippuWRY · · 题解
结论很好想,只有当 no。因为 yes。但如果 no。
//新年快乐。
#include<bits/stdc++.h>
using namespace std;
int t, p, a, b, c;
int main() {
cin >> t;
while (t--) {
cin >> p >> a >> b >> c;
if (b == 0 && c != 0) puts("no");
else puts("yes");
}
return 0;
}