- P146's solution
-
题解P146
- @ 2025-12-6 13:15:58
本题为博弈论题,稍微思考一下即可。
AC code:
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b;
cin >> a >> b;
long long sg_a = a % 3;
long long sg_b = b % 3;
if ((sg_a ^ sg_b) != 0) {
cout << "2se" << endl;
} else {
cout << "tyw" << endl;
}
return 0;
}